Script and Tests

Script: led_blink_with_voltmeter

  • Download led_blink_with_voltmeter.hex: right-click the link and select Save link as…

led_blink_with_voltmeter.hex

  • Open the python.microbit.org editor (python.microbit.org/v/2 matches the screencaptures).
  • Click Load/Save and then drag the file you just downloaded and drop it on the gray box in the Load section.  
  • Click Connect, then Flash, then Disconnect.


Tests

IMPORTANT: Your LED on voltage measurements might be considerably higher than the 2.65 V measurements shown below.  Basically, if you get anything in the 2.5 to 3.3 V range, assume it’s good.

  • Go to cyberscope.parallax.com and click Connect.
  • When the light turns on, check the CYBERscope voltmeter to see what voltage it applies to the circuit.  There may be a delay of a second or so between when the light turns on and when the measurement updates.

  • Repeat the voltage measurement for the LED off state.