Go Down

Topic: I can lite an LED, but not a 3v flashlight bulb?? What is going on? HELP!!! (Read 1 time) previous topic - next topic

radbrad

Hello all you experts. I am new to the forum, and sort of new to Arduino. I am a basic stamp guy from way back.

Using the blink example I can blink an LED just fine, but when I attach a flashlight (3volt 2 cell ) bulb in its place I get nothing (no light on or off), even without the resistor.

If I plug the bulb in to the 5V and ground it lights up just fine? I cannot understand this behavior.
I am using the usb to power my Arduino Duemilanove.

What am I missing here?

Here is my code:

int led = 3;

// the setup routine runs once when you press reset:
void setup() {               
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}


Pretty simple, but will not work with a flashlight bulb, what am I doing wrong??

Thank you very much,
Brad

BulletMagnet83

Isn't a flashlight bulb going to draw massively more current than an Arduino pin can source? I would stop doing that if I were you, and switch it using a transistor instead.

radbrad

Stop doing what? The problem is it does not work.

Use a transistor? How?

I need a little more information other than stop and use a transistor, please.

Like maybe how to light the bulb safely using the transistor. Eventually I want to power 4 bulbs.


Thanks,
Brad.

Erni

See card2


http://www.pighixxx.com/abc-arduino-basic-connections/


Erni

Yes he has done a fantastic job.
It deserves to be used more often in here

radbrad

Erni, you have made my day. It just seem like using a diode and transistor to just light a light bulb seems like allot of work.

Your link is fantastic. Lots of cards with lots of examples. I will keep this link handy.

I also found this link http://www.pighixxx.com/abc-arduino-basic-connections/ to the cards with individual sets that are blown up and readable

Again, thank you Erni !

DVDdoug

Quote
Stop doing what? The problem is it does not work.
If you are using the same current-limiting resistor you were using with the LED, probably nothing bad will happen.  (The lamp may or may-not glow, depending on how much current is required to light it up.... I guess it's not going to glow...)

Without the resistor, you will (probably) draw escessive current from the Arduino, and you might damage it.   The current required to damage the Arduino (more than 40mA) may or may-not be enough to light the lamp.

Quote
...a 3v flashlight bulb...

...If I plug the bulb in to the 5V and ground it lights up just fine
And it will be very bright (compared to 3V) and it won't last long!   Power (Watts or milliwatts) increases with the square of the voltage.   So, at 5V you are getting about 2.7 times as much power (and heat) from the bulb...  i.e. A 1W bulb would be running at 2.7W.

KeithRB

Not counting for the negative temperature coefficient of tungsten. It might limit it to some extent. Still won't last very long though.

AWOL

Quote
It just seem like using a diode and transistor to just light a light bulb seems like allot of work

A lot of work, compared to replacing your microcontroller because you've burnt out the output pin?

No, not really.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

radbrad

OK, have mercy I am new.

Here is what I am trying to build:

http://www.youtube.com/watch?v=0lGP8nQLANU

Have always wanted to make one of these.

Thank you,
Brad

fungus

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

radbrad

Since LED's are polarized, unless I soldered them on to a base of some kind they could not be removed and re-inserted easily. Especially if you are having a spectator do it.

Also, I could not find any screw in colored low voltage LED's.

I know it is obvious, but this small project is a great learning experience for me. Lots going on here for coding and electronics as well. 

I have to make a trip to radio shack today for some diodes and some transistors, but I have everything else. I will post some pictures of my finished product when I am closer.

Now I am just puzzling out the code.


Cheers,
Brad

fungus


Since LED's are polarized, unless I soldered them on to a base of some kind they could not be removed and re-inserted easily. Especially if you are having a spectator do it.

Also, I could not find any screw in colored low voltage LED's.



I guess there's ways to do it... OTOH people can relate to light bulbs (old tech) so maybe it's psychologically better to use them for the trick.

With small bulbs I'd be a teeny bit worried about people twisting too hard and breaking them.

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

1ChicagoDave

Depending on the bulb your trying to use (and your soldering skills).... You could "convert" the bulb to LED. I did that with this bulb for my full-sized Maglight.

Just took the guts out of the normal bulb and soldered LED in its place. Even fit the current-limit resistor inside the base.  Works great.

Go Up