Pages: [1]   Go Down
Author Topic: Pull Down Resistor on a 5v power line - Possible? Safe?  (Read 1457 times)
0 Members and 1 Guest are viewing this topic.
Ballston Spa, NY
Offline Offline
Jr. Member
**
Karma: 0
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Please look at my schematics, specifically the "SIGNAL" Line.

That pin will be attached to a pin on the Arduino. The idea is when it loses power, the SIGNAL line will go low, telling the Arduino "it is now on battery backup".

My question is, how would I implement a "Pull-Down Resistor" in this circuit? Would I just add a 10k Resistor from the SIGNAL line to GND?

I'm asking because I'm not sure if that would be considered acceptable or even safe.


* Supply_schematics.png (10.43 KB, 1021x555 - viewed 67 times.)
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My question is, how would I implement a "Pull-Down Resistor" in this circuit? Would I just add a 10k Resistor from the SIGNAL line to GND?

I'm asking because I'm not sure if that would be considered acceptable or even safe.

Yes, that would work fine with no safety concerns.

Lefty

Logged

London
Offline Offline
Full Member
***
Karma: 0
Posts: 146
Ugi was not declared in this scope
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you attached the signal line to and Arduino input pin (say through a 1K resistor) and then used a 10K pull-down to ground then I cannot see what issues you can have.

The max current that would flow to ground through the 10K would be 5/10,000 = 0.5mA (actually it would be 5/11,000 if you used a 1K).  This is not likely to cause a problem to anything.  If you chose to connect directly (rather than through a resistor) and then for some mad reason you made the pin an output and set it low then you could cause problems.  Otherwise, I can't see any issues.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27089
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

On the other hand, why make it so complicated?
If the 7805 is just there to make the 9V into 5V for the arduino to read,
I would ditch it and the capacitors and just use two 5K resistors to make the 9V into 4.5V, and when 9V goes away the 4.5V goes away too.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Ballston Spa, NY
Offline Offline
Jr. Member
**
Karma: 0
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Its because the 9v supply is un-regulated.

Plus the other regulator is connected to a battery charger, and I had problems in the past using the same regulator for the signal line.
Seems like even after power goes out, for whatever reason the battery charger will leak backward voltage.

Plus the L78L05 is a TO-92 which is a small form factor which supplies the SIGNAL line.
Plus I have over 20 of the L78L05's laying around, lol

The other one is a LM7805 TO-220 for powering everything else.
Logged

Anchorage, AK
Offline Offline
Edison Member
*
Karma: 42
Posts: 1176
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could consider a higher value resistor.  Maybe 50K.  This reduces the waste current (and generates less heat).  Useful if power is at a premium (e.g., small transformer), but probably still not a big deal even at 10K.
Logged

Ballston Spa, NY
Offline Offline
Jr. Member
**
Karma: 0
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Whats the highest resistor I could go as a pull-down resistor? And what would the lowest you would recommend?
Logged

Anchorage, AK
Offline Offline
Edison Member
*
Karma: 42
Posts: 1176
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Highest value?  There will be limiting factors to that.  Basically, it has to be low enough that it can't be overcome spuriously by noise or external factors.  I imagine 100K would be fine in most cases, but it would be best to check first.

Lowest value is dictated by acceptable waste current (lower values drain more power from Vcc to Gnd, and will eventually act as a short for extremely low resistance) and the ability of your trigger to overcome the pull-down.
Logged

Maryland, USA
Offline Offline
Full Member
***
Karma: 0
Posts: 162
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I bought an order of 100 51K-ohm resistors (SMT, order-stuffer in one of my Mouser orders) for my projects to use as pullups/pulldowns ... Works fine.  I think the general idea is that going well above ~100Kohm (especially >1 megaohm) makes the transient effects of RF and noise in the circuit/processor significant enough to possibly cause false positive readings on the line, so something in the <=100K ohm range seems reasonable.
Logged

Pages: [1]   Go Up
Jump to: