Script and Tests

Script

  • Download measure_volts.hex by right-clicking and choosing Save file as...

measure_volts.hex

  • Open the hex file in the python.microbit.org editor/v/2 (click Load/Save, then drag and drop the hex file, or use the Or browse for a file link.)
  • Click Connect, then Flash, then Disconnect.


Tests

When your battery holder has alkaline batteries and measures 2.8 V or less, it means the batteries have lost much of their charge.  This can lead to sluggish or nonexistent servo motor motion.  So, this test is important to make sure the batteries are not too low for servo control.

  • Go to cyberscope.parallax.com and click Connect.
  • Verify that the voltage is somewhere in the 2.8 to 3.2 V range.  
  • Make a note of the voltage you measured; you might need it later
  • Remove the batteries from the pack when you are done with these tests, but be ready to put them back in. Otherwise, the micro:bit and servo will drain the batteries overnight.