• Stars
    star
    179
  • Rank 214,039 (Top 5 %)
  • Language
    Python
  • Created almost 8 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A motion tracking turret.

Tracking-Turret

A motion tracking turret for https://www.youtube.com/watch?v=HoRPWUl_sF8

Install Guide

Make sure pip is installed.

sudo apt-get install python pip

Setup I2C on your Raspberry Pi

https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c

Install the Adafruit stepper motor HAT library.

sudo pip install git+https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library

Install OpenCV 3. Follow all steps for python 2.7 instructions

http://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/

Make sure to create your virtual environment with the extra flag.

mkvirtualenv cv --system-site-packages -p python2

Source your bash profile

source ~/.profile

Activate your virtual environment

workon cv

Clone this repository

git clone [email protected]:HackerHouseYT/Tracking-Turret.git

Navigate to the directory

cd Tracking-Turret

Install dependencies to your virtual environment

pip install imutils RPi.GPIO

Run the project!

python turret.py

Setting Parameters

turret.py has a couple parameters that you can set.

### User Parameters ###

MOTOR_X_REVERSED = False
MOTOR_Y_REVERSED = False

MAX_STEPS_X = 30
MAX_STEPS_Y = 15

RELAY_PIN = 22

#######################

These will be located at the top of the file. Use vim turret.py to open the file. Press i to edit. Once you've made your changes, press esc then ZZ to save.

More Repositories

1

Smart-Mirror

Raspberry powered mirror which can display news, weather, calendar events
Python
907
star
2

Smart-Security-Camera

IoT security camera running open-cv for object detection 📹
Python
560
star
3

AI-Smart-Mirror

Smart Mirror with a smart AI 🤖
Python
536
star
4

Smart-Bartender

🍻
Python
148
star
5

OpenAI-NEAT

NEAT Solver for OpenAI
Python
146
star
6

Autonomous-Follow-Me-Cooler

Cooler that follows you by navigating via GPS 🍹🌊⛱
C++
89
star
7

Smart-Doorbell

A wifi-connected raspberry pi doorbell with video chat
Python
87
star
8

Raspberry-Pi-VNC-Mac

How to Setup Raspberry Pi VNC Screensharing on a Mac
62
star
9

Smartphone-Doorlock

Doorlock that can be locked or unlocked through your smartphone
JavaScript
58
star
10

Automated-Gardener

Simple scheduler for a Raspberry Pi powered indoor gardener
Python
51
star
11

Holographic-Audio-Visualizer

JavaScript
28
star
12

Facebook-Newsbot

Raspberry Pi Powered Chatbot
JavaScript
21
star
13

Portable-Arcade

C
18
star
14

realtime-subscriber-counter

An LED Matrix that counts subscribers (and cryptocurrency prices) in realtime.
Python
15
star
15

midi-footswitch

MIDI footswitch for software instruments
C++
14
star
16

multi-stream-chatbot

Chatbot framework that listens and sends messages to multiple live-streaming platforms simultaneously
JavaScript
14
star
17

Animatable-LED-Hat

Battery operated, LED matrix hat that can be programmed to display interesting designs.
Arduino
9
star
18

Light-Rover

Light painting robot
Python
7
star
19

hackershack-livestream-chatbot

Code for the Hacker Shack livestream chatbot
JavaScript
6
star
20

Robotic-Bartender

Project files for our Arduino/Raspberry Pi powered robotic bartender
Arduino
6
star
21

HackerShackOfficial.github.io

Github pages site for Hacker Shack
HTML
2
star