

The Relay Board for Micro:bit by MonkMakes (Part ID: 1) is a versatile electronic module designed to enable the Micro:bit to control high-power devices. This relay board acts as an electrically operated switch, allowing the Micro:bit to toggle devices such as lights, motors, or other appliances on and off using low-power signals. It is an essential component for projects requiring the control of external devices that operate at higher voltages or currents than the Micro:bit can handle directly.








The following table outlines the key technical details of the Relay Board for Micro:bit:
| Specification | Details |
|---|---|
| Manufacturer | MonkMakes |
| Part ID | 1 |
| Operating Voltage | 3.3V to 5V |
| Trigger Voltage | 3.3V (compatible with Micro:bit GPIO) |
| Maximum Switching Voltage | 240V AC / 30V DC |
| Maximum Switching Current | 10A |
| Relay Type | SPDT (Single Pole Double Throw) |
| Dimensions | 50mm x 40mm x 20mm |
| Weight | 20g |
The relay board has the following pin connections:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power input (3.3V to 5V). Connect to the Micro:bit's 3V pin. |
| 2 | GND | Ground connection. Connect to the Micro:bit's GND pin. |
| 3 | IN | Signal input. Connect to a GPIO pin on the Micro:bit to control the relay. |
| 4 | COM (Common) | Common terminal of the relay switch. |
| 5 | NO (Normally Open) | Normally open terminal. Connect to the device to be powered when the relay is active. |
| 6 | NC (Normally Closed) | Normally closed terminal. Connect to the device to be powered when the relay is inactive. |
Connect the Relay Board to the Micro:bit:
VCC pin of the relay board to the 3V pin on the Micro:bit.GND pin of the relay board to the GND pin on the Micro:bit.IN pin of the relay board to a GPIO pin on the Micro:bit (e.g., Pin 0).Connect the External Device:
NO (Normally Open) or NC (Normally Closed) terminal based on your application.COM pin and the other terminal to either NO or NC.Power the Circuit:
Control the Relay:
IN pin to activate the relay and switch the connected device.Below is an example of how to control the relay board using the Micro:bit:
from microbit import *
relay_pin = pin0
while True: # Turn the relay ON for 2 seconds relay_pin.write_digital(1) # Send HIGH signal to activate the relay sleep(2000) # Wait for 2 seconds
# Turn the relay OFF for 2 seconds
relay_pin.write_digital(0) # Send LOW signal to deactivate the relay
sleep(2000) # Wait for 2 seconds
The relay does not activate:
VCC and GND pins are properly connected to the Micro:bit.IN pin is receiving a HIGH signal (3.3V) from the Micro:bit.The connected device does not turn on/off:
COM and NO or NC terminals.The relay clicks but the device does not respond:
Micro:bit resets when activating the relay:
Q: Can I use the relay board with other microcontrollers?
A: Yes, the relay board is compatible with other microcontrollers that operate at 3.3V or 5V logic levels, such as Arduino or Raspberry Pi.
Q: Is the relay board safe for high-voltage applications?
A: The relay board is designed to handle up to 240V AC, but proper precautions must be taken when working with high voltages to ensure safety.
Q: Can I control multiple relay boards with a single Micro:bit?
A: Yes, you can control multiple relay boards by connecting each board's IN pin to a separate GPIO pin on the Micro:bit.
Q: Does the relay board make noise when switching?
A: Yes, the relay produces a clicking sound when it switches states, which is normal for mechanical relays.