In my schematic I assumed the Arduino input pullup would be enabled. This eliminates the need for R2.
The R2 shown is much too low for your needs anyway. If one was to use R2 it should be in the 10k to 20k range.
In my schematic I assumed the Arduino input pullup would be enabled. This eliminates the need for R2.
The R2 shown is much too low for your needs anyway. If one was to use R2 it should be in the 10k to 20k range.