Go Down

Topic: Pull Down Resistor (Read 742 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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy