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

From Keyestudio Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:


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


<br>
<br>
== Introduction  ==
== Introduction  ==
The [http://microbit.org/guide/features/ 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.  
The [http://microbit.org/guide/features/ 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.  
Line 13: 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 22: 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 28: Line 33:
== Test Program ==
== Test Program ==
You can make the code below on the [https://makecode.microbit.org/#editor  micro:bit Blocks Editor ] ; finally save the code and send it to your micro:bit. <br>
You can make the code below on the [https://makecode.microbit.org/#editor  micro:bit Blocks Editor ] ; finally save the code and send it to your micro:bit. <br>
<br>[[File:Ks0293-1.png|700px|frameless|thumb]]<br>
<br>[[File:Microbit-0293.png|500px|frameless|thumb]]<br>


<br>
<br>
Line 41: Line 46:
<span style=color:red> Note that here we use a power transfer module to supply voltage input 5V. </span> <br>
<span style=color:red> Note that here we use a power transfer module to supply voltage input 5V. </span> <br>
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.<br>
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.<br>
<br>[[File:Ks0293-(4).png|700px|frameless|thumb]]<br>
<br>[[File:Ks0293-(4).png|800px|frameless|thumb]]<br>
<br>
<br>
<span style=color:red> '''Note that''' the display accessories Not Included in the shipping list. </span> <br>
<span style=color:red> '''Note that''' the display accessories Not Included in the shipping list. </span> <br>
Line 48: Line 53:


== Resource ==
== Resource ==
'''Datasheet Download:''' <br>
https://drive.google.com/open?id=1Q1CBzk0VdqkBX-9v9Q1qDtkj4bR3_--T


'''Download Datasheet and Code:''' <br>
https://fs.keyestudio.com/KS0293
* [http://microbit.org/  BBC micro:bit website ] <br>
* [https://makecode.microbit.org/  Micro:bit MakeCode Block Editor ]<br>
* [http://microbit.org/guide/  Meet micro:bit starter programming] <br>
* [http://microbit.org/guide/features/    BBC micro:bit Features Guide ] <br>
* [http://microbit.org/guide/features/    BBC micro:bit Safety Warnings ] <br>
* [http://microbit.org/guide/quick/  BBC micro:bit Quick Start Guide ]  <br>
* [http://microbit.org/guide/hardware/pins/  BBC micro:bit Pins ]


<br>
<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: