Pages: [1]   Go Down
Author Topic: Pull Down Resistor  (Read 476 times)
0 Members and 1 Guest are viewing this topic.
Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Can anyone please tell me how to convert this image to a pull down resistor version so that it goes high when triggered rather than low?

http://static.flickr.com/30/65458903_d9a89442a9_b.jpg

http://http://arduino.cc/en/Tutorial/TiltSensor

Thanks and kind regards,

jB  smiley-cool
Logged

=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8849
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Tutorial/TiltSensor

Just swap the +5V and Ground wires.  The resistor then goes from the input pin to Ground and the switch goes from the input pin to +5v.  When the switch is open the pin is LOW because of the resistor.  When the switch closes the pin goes HIGH because it it connected to +5V.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you kind Sir.

regards,

jB  smiley-cool
Logged

=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

Pages: [1]   Go Up
Jump to: