Sponsored links

Go Back   MP3Car.com > General > Off Topic


Reply
 
Share Thread Tools Display Modes
Old 05-26-2005, 04:34 PM   #1
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road
Basic electronics help

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!
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page

Last edited by maxxell; 05-26-2005 at 07:02 PM.
maxxell is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 05-26-2005, 05:23 PM   #2
Newbie
 
Join Date: May 2005
Posts: 48
Vee24 is on a distinguished road
Sorry I can't help you, but what book is that? By whom?
__________________
A pic is worth a thousand words.
Vee24 is offline   Reply With Quote
Old 05-26-2005, 05:33 PM   #3
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road
Robot Building for Beginners. It's by David Cook. I got it at Borders.
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page
maxxell is offline   Reply With Quote
Old 05-26-2005, 05:55 PM   #4
FLAC
 
migel628's Avatar
 
Join Date: Mar 2004
Location: New Windsor, NY
Posts: 1,113
migel628 is on a distinguished road
Sorry, I can't help either...ISBN please
__________________
"I'm a dick!"
"I must seek knowledge and it's bastard son truth" - The State
migel628 is offline   Reply With Quote
Old 05-26-2005, 06:27 PM   #5
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road
Quote: Originally Posted by migel628
Sorry, I can't help either...ISBN please

Tell you what... Send me some cash, I will buy the book, learn its tenets, build the robot, and send it to you.
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page
maxxell is offline   Reply With Quote
Old 05-26-2005, 07:03 PM   #6
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road
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]
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page

Last edited by maxxell; 05-26-2005 at 07:43 PM.
maxxell is offline   Reply With Quote
Old 05-26-2005, 07:16 PM   #7
Variable Bitrate
 
mp3hombre's Avatar
 
Join Date: Aug 2002
Location: Montreal / Los Angeles
Posts: 266
mp3hombre
Could you post a schematic? Perhaps is the wiring that needs to be changed.
mp3hombre is offline   Reply With Quote
Old 05-26-2005, 07:40 PM   #8
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road


I forgot to include the switch... it's above the first resistor.
PR = photoresistor
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page
maxxell is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-26-2005, 07:42 PM   #9
FLAC
 
migel628's Avatar
 
Join Date: Mar 2004
Location: New Windsor, NY
Posts: 1,113
migel628 is on a distinguished road
Quote: Originally Posted by mp3hombre
Could you post a schematic? Perhaps is the wiring that needs to be changed.

A schematic would be the best route to help us help you. Maybe it'll jog my old electronics memories

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

Last edited by migel628; 05-26-2005 at 07:46 PM.
migel628 is offline   Reply With Quote
Old 05-26-2005, 07:52 PM   #10
FLAC
 
migel628's Avatar
 
Join Date: Mar 2004
Location: New Windsor, NY
Posts: 1,113
migel628 is on a distinguished road
Quote: Originally Posted by maxxell


I forgot to include the switch... it's above the first resistor.
PR = photoresistor

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...
__________________
"I'm a dick!"
"I must seek knowledge and it's bastard son truth" - The State
migel628 is offline   Reply With Quote
Old 05-26-2005, 08:06 PM   #11
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road
Both 9v sources?
Maybe it's my shoddy schematic-making. There's only one 9v battery in there. The 9v at the top is the positive terminal and the 9v at the bottom is the negative terminal.
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page
maxxell is offline   Reply With Quote
Old 05-26-2005, 08:19 PM   #12
Newbie
 
Join Date: Mar 2005
Posts: 15
mhornnt is on a distinguished road
based on that schematic, adjusting the trimpot should brighten/dim the leds. increasing its resistance is gonna drop the voltage across the LEDs, which will dim them, and the opposite in the case of lowerin its resistance. Only think i could think of that might cause you not seein difference as you adjust it is that its resistance value is so small compared to the photo reisistors that adjusting it just is only creating a negligible change in the voltage across the diodes, small enough that you arent seein a change in brightness.
mhornnt is offline   Reply With Quote
Old 05-26-2005, 08:20 PM   #13
FLAC
 
migel628's Avatar
 
Join Date: Mar 2004
Location: New Windsor, NY
Posts: 1,113
migel628 is on a distinguished road
sorry, it looked like you had 2 9v sources in the schematic
__________________
"I'm a dick!"
"I must seek knowledge and it's bastard son truth" - The State
migel628 is offline   Reply With Quote
Old 05-26-2005, 08:36 PM   #14
Variable Bitrate
 
mp3hombre's Avatar
 
Join Date: Aug 2002
Location: Montreal / Los Angeles
Posts: 266
mp3hombre
First of all, the photocells (photoresistors) should be the same type. Their resistance in dark conditions might be too high, the leds are not getting enough "juice" no matter how much you spin the pot.
To bring the resistance down, try adding a resistor across PR1 - PR2 or across each photocell as in PR3 and PR4. Start with 20Kohms.
Experiment, experiment!! And keep us posted.
Attached Images
 
mp3hombre is offline   Reply With Quote
Old 05-26-2005, 11:06 PM   #15
Variable Bitrate
 
Join Date: Dec 2004
Location: Miami, FL
Posts: 436
maxxell is on a distinguished road
Why does adding a resistor in those places reduce the resistance to the LEDs?
__________________
A car without turbo is a car with perpetual lag.

My Ride
My New Page
maxxell is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic Question???? chuckctv Software & Software Development 9 12-28-2004 12:25 PM
Basic Electronics suggestions (book/site) migel628 Off Topic 2 11-16-2004 01:47 PM
Basic electronics and electromechanical tutorials or web sites? geaux Newbie 6 10-13-2004 05:24 PM
Basic Stamps??? adjones Power Supplies 14 08-24-2004 12:28 AM
Basic electronics question... R3l0ad General Hardware Discussion 16 01-02-2004 07:39 PM



All times are GMT -5. The time now is 03:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics