Simple Pixy Camera Robot


14,518

15

7

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 :

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

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

Step 5: Video

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

Be the First to Share

    Recommendations

    • Tinkercad to Fusion 360 Challenge

      Tinkercad to Fusion 360 Challenge
    • Electronics Contest

      Electronics Contest
    • Chocolate Challenge

      Chocolate Challenge

    7 Comments

    0
    eljacobs3
    eljacobs3

    Question 9 months ago

    how do i add Pixy,h

    0
    MauryH2
    MauryH2

    Question 2 years 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.

    0
    webci77
    webci77

    Question 3 years ago on Step 2

    Pixy motion system I couldn't help

    0
    RyanKetterhagen
    RyanKetterhagen

    4 years ago

    Whats the schematic for the L293D to the motors?

    0
    ShihabL
    ShihabL

    4 years ago

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

    0
    tomatoskins
    tomatoskins

    5 years ago

    This is great! I love these fun robots!