powering your micro:bit : Help & Support
Further Information The micro:bit will automatically switch to USB power when it detects a connection and to battery power if the USB connection is removed. It does this by using a low-Vf diode to switch between sources. The diode prevents back-powering of any ...