Script

Like the script from First Electrical Connections with a Breadboard, this script is also pre-written as a hex file with the multimeter module added.  

  • Right-click measure_volts.hex and select Save link as... to download it.

measure_volts.hex

  • If it's not already connected, connect your micro:bit module to your computer with its USB cable.
  • If you do not already have the micro:bit Python Editor open, browse to python.microbit.org in a Google Chrome or Microsoft Edge browser.
  • Click Open, select, and open measure_volts.hex.
    (See Save & Edit Scripts.)  
  • Click Send to micro:bit.
    (See Flash Scripts with Python Editor.)
  • Click Show serial to open the serial monitor.
    (See Use the Serial Monitor.)
  • View the voltmeter output and verify that the it displays a relatively small value, somewhere in the +/- 0.1 V range.