Skip to main content
6 events
when toggle format what by license comment
Feb 27, 2018 at 14:59 vote accept user675319
Feb 27, 2018 at 14:39 comment added chrisl I edited my answer to make it clearer, what I meant. If you don't understand, what I wrote, you should read a tutorial or similar about switches and pullup/pulldown resistors. Maybe you can start here: [ learn.sparkfun.com/tutorials/pull-up-resistors ]
Feb 27, 2018 at 14:34 history edited chrisl CC BY-SA 3.0
added 1054 characters in body
Feb 27, 2018 at 14:12 comment added user675319 I'm a little confused with the resistor... If I have 9V as external supply, then I have to reduce this to 5V before carry this current to Arduino pin?
Feb 27, 2018 at 13:07 comment added user675319 So I only need to use a resistor to control the voltage from sensor to arduino , thank you Chrisl. It's complicated to calculate resistance value? I've read that typical are 10k ohm, but I guess it depends on voltage provided by external battery...
Feb 27, 2018 at 11:56 history answered chrisl CC BY-SA 3.0