Pages: [1]   Go Down
Author Topic: trouble getting leds to light on 3.3v arduino pro mini with Lipo supply  (Read 1223 times)
0 Members and 1 Guest are viewing this topic.
jersey
Offline Offline
Newbie
*
Karma: 0
Posts: 46
hack freely my friends
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so when the led it supposed to light up (digitalWrite(5,HIGH) it lights but very dimly
the resistors are proper and the voltage when it is connected pin led resistor ground is about 1.6 volts to 1.8 volts

but when the pin is disconnected from the led it gives me 3.3 volts as it should im very confused because the power supply is able to handle this and if i hook directly to VCC>led>resistor>gnd it lights up really bright as it should
i am not sure why the voltage drops so much because i know i am within limitations because my decimilia works fine when i do this

i was thinking of putting in a transistor but i really dont have enough space to put it in
any help would be much appreciated
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34581
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the resistors are proper
Yes but what was the value? And what was the forward voltage drop of the LED?
Logged

jersey
Offline Offline
Newbie
*
Karma: 0
Posts: 46
hack freely my friends
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

330 ohm and about that.. i dont know it and it s not on the datasheet
http://www.sparkfun.com/products/10442
thats what i have the datasheet only gives info on the button not the led in the button people say about 2 something volts is best and current is about 50ma but its strange how the voltage on the pin drops so much
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2928
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

reduce the value of the series resistor. Assume 10 ma @ 2V and a red led with a (Typical) Vfwd of 1.8V. Therefore R = E/I  = 180 ohms based on 2 volts port voltage and a max of 20 ma... IMO

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

jersey
Offline Offline
Newbie
*
Karma: 0
Posts: 46
hack freely my friends
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have even tried removing the resistor and it still lights at the exact same brightness ok?
and when i supply it direcly with 3.3 volts with the resistor and led it lights up as it should
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

are you setting the pin to output? if not it will do exactly what you describe
Logged


jersey
Offline Offline
Newbie
*
Karma: 0
Posts: 46
hack freely my friends
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

.... well then... now i just feel really REALLY stupid  smiley-roll-sweat
Logged

Pages: [1]   Go Up
Jump to: