5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10

Relay Breakout Board module for micro:bit

Regular price $12.99

Shipping calculated at checkout.


micro bit is an entry level development board designed by BBC for teens programming education. It supports the PXT graphical programming interface developed by Microsoft and can be used under Windows, MacOS, IOS, Android and many other operating systems without downloading the compiler.

relay breakout board for micro:bit has integrated a 4-way 5V relay module, fully compatible with micro bit development board. It can work only need to insert micro bit into relay shield, then input DC 5V voltage on the relay VIN GND port, pretty simple and convenient.

4-way relay on the board is active high. Its control terminals are respectively connected to P4, P3, P7 and P6 of the micro bit development board. You only need to control the high or low output level of P4, P3, P7 and P6 , thus control the 4 relay on/off.

KS0293 (7)KS0293 (2)KS0293 (4)KS0293 (5)

  • Input Voltage:DC 5V
  • Working Mode:high level in effective
  • Contact Capacity: AC120V/3A
  • DC24V/3A

Test Program

You can make the code below on the micro:bit Blocks Editor ; finally save the code and send it to your micro:bit.


Test Result


Insert micro:bit development board into keyestudio relay breakout board; send the code to micro:bit main board and power up, you can see the 4-way relay is connected and then disconnected one by one.

Go Further

You can connect the additional circuit to realize your project designs.
Note that here we use a power transfer module to supply voltage input 5V.
Finally the leds on 4-way relay breakout board are connected and then disconnected one by one, and the external LEDs are on and off one by one, circularly.

Note that the display accessories Not Included in the shipping list.


Download Datasheet and Code: