Introduction: Simple Pixy Camera Robot

Picture of Simple Pixy Camera Robot

this simple robot can find the object that you have already teach it ;

you only need :

arduino mega (or uno or nano ... )

pixy

2 motors + 2 wheels

l293d

battery ( 9v or any one you want )

Step 1: How to Teach Pixy an Object

Picture of How to Teach Pixy an Object

you can teach any objet to pixy via this link :

http://cmucam.org/projects/cmucam5/wiki/Teach_Pixy...

Step 2: Build the Robot

Picture of Build the Robot

use l293d to control motor

connect : input 1 to arduino pin 2

input 2 to arduino pin 3

input 3 to arduino pin 4

input 4 to arduino pin 5

test your robot and verify the forward , trun left , trun right and stop

if it's ok now add pixy

Step 3: Add Pixy

Picture of Add Pixy

i used the support to only fixe the pixy in the position that i want , you can see that the servos are disconnected

Step 4: The Code

Picture of The Code

Step 5: Video

https://www.youtube.com/watch?v=E2apUJzqdm8

Comments

ShihabL (author)2017-07-13

cann't i use l298d ? please informe me as early as possible?

tomatoskins (author)2016-08-30

This is great! I love these fun robots!

About This Instructable

1,889views

10favorites

More by houssemelec:simple pixy camera robot
Add instructable to: