Sorry I can't help you, but what book is that? By whom?
Hey all,
I decided to learn some rudimentary robotics this summer as a hobby. I'm starting from square one, I never took a class on electronics or anything, so I bought a beginner's book.
Everything is going swimmingly, but I have a question I was hoping someone here could help me with.
Here are the various stages of the circuit I'm working on:
1.
9v -> SPDT switch -> resistor -> LED -> 9v
LED lights up
2.
9v -> SPDT -> resistor -> trimpot (little wheel to vary resistance) -> LED ->9v
LED lights up, and brightens / dims with the trimpot
3.
9v -> SPDT -> resistor -> trimpot:
trimpot 1-> LED1 -> 9v
trimpot 2-> LED2 -> 9v
LEDs light up, trimpot dims one, brightens the other, and vice-versa
4.
9v -> SPDT -> resistor -> trimpot:
trimpot 1-> photoresistor1 -> photoresistor2 -> LED1 -> 9v
trimpot 2-> photoresistor3 -> photoresistor4 -> LED2 -> 9v
Now the trimpot doesn't seem to do anything. Spun all the way to either extreme doesn't affect the brightness of the LEDs. The armount of light the photoresistors receive DOES vary the individual LED brightness, without affecting the other LED.
The only way I could get the LEDs to vary in response to the trimpot as it did in version #3 was to use a bigger trimpot.
Everything works as I would expect with a larger trimpot. Why does the addition of the photocells necessitate using a larger (more resistance) trimpot?
Thanks!
Sorry I can't help you, but what book is that? By whom?
A pic is worth a thousand words.
Robot Building for Beginners. It's by David Cook. I got it at Borders.
Sorry, I can't help either...ISBN please![]()
"I'm a dick!"
"I must seek knowledge and it's bastard son truth" - The State
Tell you what... Send me some cash, I will buy the book, learn its tenets, build the robot, and send it to you.Originally Posted by migel628
A friend of mine thought it would be illuminating to tell you all the details about the parts.
Parts List:
9V battery
SPDT switch
470 ohm resistor
Trimpot: 20 kilo-ohm variable
2 red LEDs
4 photoresistors
1:
Dark (held under table) = 47ko (kilo-ohm)
Light (held 1" from 60W light bulb) = 174 ohm
2:
D: 77 ko
L: 100 ohm
3:
D: 46 ko
L: 162 ohm
4:
D: 75 ko
L: 120 ohm
[Chosen to roughly give the same total resistance in both dark and light extremes. 1&2: D: 124ko L: 274 ohm 3&4: D: 121ko L: 282 ohm]
Could you post a schematic? Perhaps is the wiring that needs to be changed.
I forgot to include the switch... it's above the first resistor.
PR = photoresistor
A schematic would be the best route to help us help you. Maybe it'll jog my old electronics memoriesOriginally Posted by mp3hombre
Edit: Beat me to the post...Sweet
Edit2: I'm at a loss man, sorry...
"I'm a dick!"
"I must seek knowledge and it's bastard son truth" - The State
Actually, I thought a little more on it. It looks like the LEDs are getting voltage from both 9v sources. Once you add a larger pot in the mix, you're effectively cutting out one 9v source, resulting in the dimming you would expect from your example 3. Basically, you're doing the job of the photoresistors w/o actually using them. If anyone has a better explaination, then feel free to correct me...Originally Posted by maxxell
"I'm a dick!"
"I must seek knowledge and it's bastard son truth" - The State
Bookmarks