i got arduino nano , trying power led.
just test ran led blink tutorial (http://www.arduino.cc/en/tutorial/blink)
however, if try measure pin 13 (d9) read ~0.20v when pin supposed off. see led on board blinking know program working properly.
i thought might because of pin tried quite few others , same result.
i tried analogwrite different values , still read same voltage.
i triple checked pinmode make sure it's on output.
if measure 5v pin (between a7 , rst) can read 4.2v compliant spec.
i @ lost , don't know how troubleshoot this.
thank help
just test ran led blink tutorial (http://www.arduino.cc/en/tutorial/blink)
however, if try measure pin 13 (d9) read ~0.20v when pin supposed off. see led on board blinking know program working properly.
i thought might because of pin tried quite few others , same result.
i tried analogwrite different values , still read same voltage.
i triple checked pinmode make sure it's on output.
if measure 5v pin (between a7 , rst) can read 4.2v compliant spec.
i @ lost , don't know how troubleshoot this.
thank help
how powering nano? are using usb? feeding 5v raw? the 5v pin should measure close 5.0v relative gnd pin.
the "l" led connected pin labeled d13. it's not clear meant d13 when said "if try measure pin 13 (d9)".
the pwm (analogwrite()) pins use pulse width modulation (actually duty-cycle modulation) control average voltage. values other 0 , 255 pulsing 500 1000 times per second. that can confuse methods of dc voltage measurement.
the "l" led connected pin labeled d13. it's not clear meant d13 when said "if try measure pin 13 (d9)".
the pwm (analogwrite()) pins use pulse width modulation (actually duty-cycle modulation) control average voltage. values other 0 , 255 pulsing 500 1000 times per second. that can confuse methods of dc voltage measurement.
Arduino Forum > Using Arduino > Installation & Troubleshooting > Wrong voltage on digitalWrite HIGH
arduino
Comments
Post a Comment