Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: cooldog on November 08, 2007, 11:59:02 AM

Title: photoresistors
Post by: cooldog on November 08, 2007, 11:59:02 AM
hi

i am thinking of making a robot that can drive it self by two photoresistors. from what i understand i have a power source and two motors and i put photoresistors inbetwwen the motors and power souce.

Questions:
1) what is the max voltage a resistor can have

2) what is the best position for the resistors

3) is my desciption correct
Title: Re: photoresistors
Post by: claesson92 on November 08, 2007, 03:00:08 PM
1) Different voltage for different resistors i guess.
2) In front of your robot. One long out on each side. Bended down against the ground a bit.
3) No idea. :P
Title: Re: photoresistors
Post by: Admin on November 08, 2007, 08:19:02 PM
You will want to use the same voltage on your photoresistor as you do for your microcontroller (probably 5V, regulated).
Title: Re: photoresistors
Post by: cooldog on November 08, 2007, 09:13:18 PM
is there a way to do it without a microcontroller
Title: Re: photoresistors
Post by: dunk on November 09, 2007, 03:34:44 AM
Quote
is there a way to do it without a microcontroller
sure, use a comparator like this:
http://www.robotroom.com/Sandwich.html (http://www.robotroom.com/Sandwich.html)

dunk.