Pixy2 camera on a r...
 
Notifications
Clear all

Pixy2 camera on a robot car

11 Posts
4 Users
0 Likes
2,092 Views
AngeloB
(@angelob)
Member
Joined: 5 years ago
Posts: 44
Topic starter  

I would like to see the Pixy2 camera on a robot car (with a Arduino) and learn the code to go with it.

 

 


   
Quote
AngeloB
(@angelob)
Member
Joined: 5 years ago
Posts: 44
Topic starter  
Posted by: @angelob

I would like to see the Pixy2 camera on a robot car (with a Arduino) and learn the code to go with it.

 

 

 


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1053
 

There actually is a "PixyBot" project that does pretty well exactly this - is that what you're asking for?

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote
AngeloB
(@angelob)
Member
Joined: 5 years ago
Posts: 44
Topic starter  

where is the pixy2 cam and car video?

 

I did see the pixy2 cam video you have, but no car

 

I want to drive the car around with the camera on it

 

thanks


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1112
 
Posted by: @angelob

I want to drive the car around with the camera on it

And thats where you come in to the picture - learn to use pixy2 - learn to control a robot car and bingo you have a nice project to combine the 2 which its all about.   If you want a more spoon fed project to follow you may find something of interest in this link showing pixy2 projects projects


   
ReplyQuote
AngeloB
(@angelob)
Member
Joined: 5 years ago
Posts: 44
Topic starter  

?

I have the cars and the pixy2 - the Arduino,

Pixymon uses a "wire" to connect to my laptop to see the what the camera is viewing, 

how to overcome this I guess is the question

This is my dilemma  


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1112
 

@angelob

the dronbotworkshop episode shows you how to use pixy2 with the arduino.  However the PixyMon program has to be installed on an operating system such as windows or linux.  So to use the PixyMon program you could get hold of a Raspberry Pi with runs a version of linux and use the Rpi to control you robot car too.   There is no need to use the PixyMon program to make use of pixy2 in the Arduino.


   
ReplyQuote
AngeloB
(@angelob)
Member
Joined: 5 years ago
Posts: 44
Topic starter  

PixyMon program is how you see what is going on

 


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1112
 

@angelob

with pixymon running on your linux, widows or mac computer your configure (train) the pixy2 to recognise objects, colours or ridiculous moustaches, etc and this is then stored on the pixy2.   The pixy2 is hooked up to an arduino (or whatever) and by using the pixy2 library in your arduino program (sketch) your arduino can be programmed to be alerted when the object you configured previously is detected.  Your program then can instruct the arduino to take the desired action like report the fact of detection to the serial interface and/or make your robot car turn to the left and/or make your robot car toot its horn. 


   
ReplyQuote
Spyder
(@spyder)
Member
Joined: 5 years ago
Posts: 846
 

@byron

I could be wrong, but it sounds like what he wants is an RC car with a camera


   
ReplyQuote
AngeloB
(@angelob)
Member
Joined: 5 years ago
Posts: 44
Topic starter  

correct Spyder - the pix2 camera on a RC car


   
ReplyQuote