Can't get capacitors to work...

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Can't get capacitors to work...

Post by earlz »

Ok, I am beginning some experimenting with electronics..

I can't seem to get capacitors to work though, all I ever get from them is a very short blink(connected to a LED)while it is charging, and then the LED is off and stays off until I discharge the capacitor

I am using a 47uf electrolytic capacitor and it is rated for 50V,

Basically, this is how I have this simple thing connected..
Vcc(positive 5V) connected to + capacitor lead. - capacitor lead connected to 220 ohm resistor. resistor connected to positive LED lead. negative LED lead connected to GND...

What exactly am I doing wrong? I thought that using this circuit that either the LED would stay lit or that it would blink on and off; but it just blinks and stays off while the capacitor is charged... I'm not understanding this...
whowhatwhere
Member
Member
Posts: 199
Joined: Sat Jun 28, 2008 6:44 pm

Re: Can't get capacitors to work...

Post by whowhatwhere »

Digital flip flop.

Flapjacks and a Weiner.

WHEEEEE.
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Can't get capacitors to work...

Post by JohnnyTheDon »

That is the way a RC circuit works. The capacitor charges until it reaches the voltage of the source, and then stays there. A fully charged capacitor acts like a break in the circuit. IIRC to make it blink you need a transistor, and there should be plenty of examples on the internet.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Can't get capacitors to work...

Post by earlz »

JohnnyTheDon wrote:That is the way a RC circuit works. The capacitor charges until it reaches the voltage of the source, and then stays there. A fully charged capacitor acts like a break in the circuit. IIRC to make it blink you need a transistor, and there should be plenty of examples on the internet.
well I tried constructing like 3 examples and none of them actually worked
User avatar
xDDunce
Member
Member
Posts: 173
Joined: Tue Aug 12, 2008 4:04 pm
Contact:

Re: Can't get capacitors to work...

Post by xDDunce »

capacitors discharge in the opposite direction to their charge direction. hence why an LED and a capacitor in series has a constant current, and they discharge the battery when in parallel.

to get a single blinking LED try using an NE555 timer. or alternating blinking LEDs are more simple.

both circuits here (alternating LEDs at the top, single LED about 3/4 the way down - remove LED1 to make it a single LED)

Cheers,
James.
User avatar
Velko
Member
Member
Posts: 153
Joined: Fri Oct 03, 2008 4:13 am
Location: Ogre, Latvia, EU

Re: Can't get capacitors to work...

Post by Velko »

First circuit in xDDunce's link is a classic one :) I remember soldering that when I started with electronics.

Also you can try first one here. I "upgraded" my TV's remote with it (slightly different capacitor and resistor values, trough), so I could find in in the dark :D.
If something looks overcomplicated, most likely it is.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Can't get capacitors to work...

Post by earlz »

Velko wrote:First circuit in xDDunce's link is a classic one :) I remember soldering that when I started with electronics.

Also you can try first one here. I "upgraded" my TV's remote with it (slightly different capacitor and resistor values, trough), so I could find in in the dark :D.
I don't have any PNP transistors, is there a way to work around that with NPN ones?
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Can't get capacitors to work...

Post by earlz »

oh wait.. now I got it to work.. had to fry 3 transistors before I realized I left out the 470 ohm resistor(so 9V was going through them) or well, out of the circuit, like it was on the board but one lead wasn't connected to anything lol..

yea.. transistors get pretty hot though with 9V running through them.. I burnt my finger a little feeling it..
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: Can't get capacitors to work...

Post by Owen »

Whoa whoa whoa! Nothing in that circuit should be passing enough current to heat up a transistor!
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Can't get capacitors to work...

Post by bewing »

You will if you just short 9V straight through it in one of the wrong directions.
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Can't get capacitors to work...

Post by JohnnyTheDon »

IIRC you don't want large potential differences across the base-emitter. I'm not really sure though, stupid electrons going one way and "current" going the other always messes me up.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Can't get capacitors to work...

Post by earlz »

btw, I decided to hack a USB cable so that now I can get a good stable +5V without having to rely on batteries and such... plus if I get far enough, I can even mess around with the data + and - wires.. though I doubt I'll do anything with it anytime soon
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Can't get capacitors to work...

Post by JohnnyTheDon »

earlz wrote:btw, I decided to hack a USB cable so that now I can get a good stable +5V without having to rely on batteries and such... plus if I get far enough, I can even mess around with the data + and - wires.. though I doubt I'll do anything with it anytime soon
I hope you don't care too much about the computer thats wired to that, if you wire something incorrectly you could fry your USB controller.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Can't get capacitors to work...

Post by earlz »

JohnnyTheDon wrote:
earlz wrote:btw, I decided to hack a USB cable so that now I can get a good stable +5V without having to rely on batteries and such... plus if I get far enough, I can even mess around with the data + and - wires.. though I doubt I'll do anything with it anytime soon
I hope you don't care too much about the computer thats wired to that, if you wire something incorrectly you could fry your USB controller.
yea, I'm aware.. and it's an old computer with already half broken USB ports anyway lol
Post Reply