Pages: [1]   Go Down
Author Topic: Detect grounding of a external circuit  (Read 859 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi ,
I understand how to sense 12 V and higher circuitry. Can someone walk me through how to apply to this sensing grounding of external circuit.
Newbie :-?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26359
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

Can you put a pullup resistor on it (from 5V) and see if the grounded thing goes high?
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.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not use about pullup resistor.
Basically I have access to a switch which complete the circuit by the providing ground to power up an external unit. How can I work with this to sense when the unit is on in the arduino.
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What is the "external unit"?

It's possible you can detect the unit's power supply level when the switch is open and 0v when closed. But it depends on what the "unit" is.

This is essentially what Crossroads said, the "unit" is a pullup resistor, so now that I think about it why can't you just use a pullup resistor?

______
Rob

Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry I am newbie what is a pullup resister
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A resistor from the Arduino pin to 5v.

But you haven't answered the question, what is the "unit"?

______
Rob

Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

a mechanical lock power by 28v dc
Logged

Pages: [1]   Go Up
Jump to: