Go Down

Topic: Pull Down Resistor (Read 523 times) previous topic - next topic

britesc

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  8)
=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

johnwasser

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.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

britesc

Thank you kind Sir.

regards,

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

Go Up