Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: roksraka on June 21, 2008, 03:28:55 AM

Title: Photovore robot with Arduino
Post by: roksraka on June 21, 2008, 03:28:55 AM
Hello, everybody!

I have a question and I'm hoping someone can help me find the answer. I want to make a simple photovore robot using Arduino Diecimila microcontroller. How do I attach two photoresistors on the robot? How do I program it?
(And please come up with something that does NOT require soldering and it is simple - I'm just a beginner!)

Thank you for you help!
roksraka
Title: Re: Photovore robot with Arduino
Post by: silent069 on June 22, 2008, 08:07:31 PM
Check out the SOR home page. From there u can click on members pages ect and there are tutorials on how to make a photo resistor. I haven't used this board but im sure many other people have. Search this forum and check out google as well.
Title: Re: Photovore robot with Arduino
Post by: airman00 on June 26, 2008, 04:05:35 PM
you'll need an analog port , also the photoresistor tutorial which silent mentioned can be found here
http://www.societyofrobots.com/schematics_photoresistor.shtml
Title: Re: Photovore robot with Arduino
Post by: Admin on June 27, 2008, 12:31:24 PM
I suggest learning how to solder . . . its an important skill for robot builders :P

Anyway, if you don't want to solder, you will have to find/buy a photoresistor with all the wiring already done.

To get you started:
http://www.societyofrobots.com/robot_parts_list_sensors.shtml
Title: Re: Photovore robot with Arduino
Post by: ceruleanplains on July 04, 2008, 11:19:35 AM

These two tutorials on my Arduino PhotoVore! project can help too:

http://www.ceruleanplains.com/Documentation/Worksheet1.pdf

http://www.ceruleanplains.com/Documentation/Worksheet2.pdf

They're PDF tutorials on one way to build a photovore.  I've yet to update the YouTube video (in Worksheet2) due to my primary project, but you should get the idea from the annotations in the video.
Title: Re: Photovore robot with Arduino
Post by: Brandon121233 on July 04, 2008, 11:30:23 AM
stick one end of a photoresistor into the 5V supply and the other in one of the 5 analog ports, do the same thing with the other photoresistor, then do a program like if photo1>photo2 turn left, else if photo1==photo2 straight, else turn right
that should pretty much take care of it.
Title: Re: Photovore robot with Arduino
Post by: Admin on July 13, 2008, 09:55:22 AM
Quote
stick one end of a photoresistor into the 5V supply and the other in one of the 5 analog ports
ummmm but that wouldn't work, you'd end up with just 5V at the ADC . . . you need a voltage divider, so after you do this, put another resistor between ADC and ground:
http://www.societyofrobots.com/schematics_photoresistor.shtml
Title: Re: Photovore robot with Arduino
Post by: Brandon121233 on July 13, 2008, 03:58:34 PM
I think its tied low already