Introduction: 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
you can teach any objet to pixy via this link :
Step 2: 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
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
Attachments
Step 5: Video
https://www.youtube.com/watch?v=E2apUJzqdm8
6 Comments
Question 1 year ago
I have a question, enable 1 and 2 of the L293D to which part of Arduino they are connected, and how I do the test to know if the connection is working, on the other hand I am using Pixy 2 and at the moment of compiling the program I get some errors Because the project is done with an earlier version, I appreciate the attention given.
Question 1 year ago on Introduction
can i perform this without using l293d driver.
Question 2 years ago on Step 2
Pixy motion system I couldn't help
2 years ago
Whats the schematic for the L293D to the motors?
3 years ago
cann't i use l298d ? please informe me as early as possible?
4 years ago
This is great! I love these fun robots!