Skip to content

gdimitriu/pixy2Droid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixy2Droid

Droid using pixy2 camera

droid

Logical Connections

Pan Tilt Tracking Camera

Pixy2 camera is used for Tracking using PID for engines (left/right) or servos.

Commands:

h# print the menu

S# Start

s# Stop

T# tracking on

t# tracking off

L1/0# lamp on/off

E1/0# engine pan tracking on/off

pxx# horizontal position of camera

Pxx# set Kp

P# get Kp

Ixx# set Ki

I# get Ki

Dxx# set Kd

D# get Kd

Android application:

tracking_droid

AutoMove

Pixy2 camera is used to read bar codes from the ground, those code instruct the droid how to move, those could be overrided from app or ble commands.

0 is left

3 is bacward

4 is forward

5 is right

6 is delay (stop 10000 ms)

Commands:

h# print menu

s# stop

S# start

l1/0# lights on/off

a# autocalibration

L# left with turn90 delay

R# right with turn90 delay

txxx# set turn90

t# get turn90

sxxx,xxx# set servo tilt,pan

vxxx# set the current power

v# get current power

m[b/l]# set barcode or line

S[l,r,s,f,b] set code for barcodes (left, right, stop 10s, forward, backward)

G[l,r,s,f,b] get code for barcodes (left, right, stop 10s, forward, backward)

automove_droid

PIXY2 links

pixy2 pinout

pixy2 power

pixy2 general api

pixy2 line api

pixy2 line tracking

pixy2 github

all barcodes

Releases

No releases published

Packages

No packages published