KS0293 Keyestudio Relay Breakout Board for micro bit

From Keyestudio Wiki
Revision as of 10:17, 9 March 2021 by Keyestudio (talk | contribs) (→‎Introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



Ks0293.png



Introduction

The BBC micro:bit is a powerful handheld, fully programmable, computer designed by the BBC. It was designed to encourage children to get actively involved in technical activities, like coding and electronics. It features a 5x5 LED Matrix, two integrated push buttons, a compass, Accelerometer, and Bluetooth.
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 additional download of the compiler.
Keyestudio 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 keyestudio relay shield, then input DC5V voltage on the relay VIN/GND port, pretty simple and convenient.
The 4-way relay on the breakout 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.

thumb

Note: we adopt V1.5 micro:bit in the whole tutorial, but our tutorial is also compatible with the latest version micro:bit. When doing experiment with latest micro:bit, you need to transfer code into Makecode online editor first, save code again then download it to micro:bit.


Parameters

  • Input Voltage:DC 5V
  • Working Mode:active at High level
  • Contact Capacity: AC120V/3A ; DC24V/3A


PINOUTS Diagram


thumb


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.

thumb


Test Result


thumb
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.

thumb

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


Resource

Download Datasheet and Code:

https://fs.keyestudio.com/KS0293


Buy From

You can get one now from the links below: