Skip to main content

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:BITmicro: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 powered inputs and outputs going!

Screenshot 2024-05-16 at 10.41.18.png

Step 1: Write code

You can write code for the Micro:BITmicro: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. 

MakeCode.gif

Step 2: Connect Micro:BITmicro:bit

Connect the Micro:Bitmicro: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 MicroBitmicro:bit 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:Bitmicro: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!micro:bit! The micro:bit will be powered automatically through the BYOR board