Combining Micro:Bit with BYOR for easy in-out
BYOR is a small board that converts analog inputs to analog outputs and powers sensors and actuators. Combined with a Micro:BIT it becomes a programmable input-output system that can power servos and small motors, as well as lights and sound for interactive installations. Quick step-by-step to get some inputs and outputs going!
Step 1: Write code
You can write code for the Micro:BIT on makecode.microbit.org. The BYOR has 4 input pins for the Micro:Bit (Pin 0-3) and 4 output pins (Pin 13-16). You can find the Pin blocks under Advanced->Pins.
Step 2: Connect Micro:BIT
Connect the Micro:Bit (without BYOR) through USB to your computer. It will show up as a USB drive automatically.
Step 3: Save your code
Save your code manually to the USB drive, or click Download to Micro:Bit directly in the Makecode environment
Step 4: Disconnect
Disconnect the USB cable. When is it safe to do so? The MicroBit stops blinking and the USB drive will eject automatically. This lets you know the download is complete.
Step 5: Connect to BYOR and power on!
Push the Micro:Bit board into the BYOR board with the logo and A/B buttons towards you. Connect the power cable to the BYOR board (NOT the Micro:BIT! The micro:bit will be powered automatically through the BYOR board