KS0293 Keyestudio Relay Breakout Board for micro bit: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
<br>
<br>


<br>[[File:Ks0293.png|500px|frameless|thumb|right|Keyestudio Relay Breakout Board for micro:bit ]]<br>
<br>[[File:Ks0293.png|500px|frameless|thumb|right| ]]<br>


<br>
<br>
Line 14: Line 14:
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. <br>
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. <br>
<br>[[File:KS0293 (8).png|600px|frameless|thumb]]<br>
<br>[[File:KS0293 (8).png|600px|frameless|thumb]]<br>
<span style=color:red>Note: <big>'''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.'''</big></span>


<br>
<br>
== Parameters ==
== Parameters ==
* Input Voltage:DC 5V  
* Input Voltage:DC 5V  
Line 23: Line 27:
<br>
<br>
== PINOUTS Diagram ==
== PINOUTS Diagram ==
<br>[[File:Ke0293-(1).png|800px|frameless|thumb]]<br>
<br>[[File:0293图片1.png|800px|frameless|thumb]]<br>


<br>
<br>
Line 49: Line 53:


== Resource ==
== Resource ==
'''Download Datasheet and Code:''' <br>
'''Download Datasheet and Code:''' <br>
https://drive.google.com/open?id=1YFw0IIyXOVW1TiqYlF_O5yuVyucnIWrC
 
https://fs.keyestudio.com/KS0293


* [http://microbit.org/  BBC micro:bit website ] <br>
* [http://microbit.org/  BBC micro:bit website ] <br>

Latest revision as of 10:17, 9 March 2021



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: