- Wed Mar 28, 2012 10:57 am
#142017
OK. Another reality check, telling me I need to slow down.
When I went to try the resistor to the 5v rail, I stopped and checked my connections with a voltmeter. The voltage rails on the breadboard appear to be wonky, somewhere. The voltage rails appear to be disconnected somewhere... but not where I would expect. I bridged the "halfway" point on the rails, but I was not getting a reading with the voltmeter. It's bizarre, to say the least.
I checked everything again, made sure that I had access to the 5v and ground rail, and ran the tests with the resistor between the sensor pin and the ground pin.
69 hits with the pull-up disabled (no "digitalWrite HIGH" code). 1511 hits with the pull-up enabled (digitalWrite code enabled). I'm going to try wiring the signal pin to the 5v rail with the 1k resistor...
When I went to try the resistor to the 5v rail, I stopped and checked my connections with a voltmeter. The voltage rails on the breadboard appear to be wonky, somewhere. The voltage rails appear to be disconnected somewhere... but not where I would expect. I bridged the "halfway" point on the rails, but I was not getting a reading with the voltmeter. It's bizarre, to say the least.
I checked everything again, made sure that I had access to the 5v and ground rail, and ran the tests with the resistor between the sensor pin and the ground pin.
69 hits with the pull-up disabled (no "digitalWrite HIGH" code). 1511 hits with the pull-up enabled (digitalWrite code enabled). I'm going to try wiring the signal pin to the 5v rail with the 1k resistor...
Static