2. 3V Relay Module¶
1 Channel Relay 3V Relay Module is one of OCTOPUS series of electric bricks. It is designed according to OCTOPUS electric brick series with same shape, PCB positioning holes and electric brick connectors. It has adopted a mini and high-quality HUIKE relay, which is available to control all kinds of home appliances and high current devices. This is a common accessory module for electronic DIY fans.
Equipped with a high current relay with max current can be up to 30A.
Adopt 3V power supply.
Contact control, including a normally open contact and a normally closed contact.
Easy to connect wires.
Item | Parameter :-: | :-: Name|1 Channel Relay 3V Relay Module Version|V1.0 SKU| EF04086 Working Voltage|DC 3~5.5V Size|38x27mm Contact Currency|AC 250V-3A DC30V-3A NW|8.5g
Outlook and Dimensions¶
2.4. Quick to Start¶
Connect the relay module to P1 on octopus:bit using a jumper cable. Insert micro:bit into the edge slot of octopus:bit.
While connecting the cables with the Relay, please use screwdrivers to loosen the screws on the Relay first to make sure the cables get connected properly.
Click to open Makecode, write your code in the editor area. Set high electric level to P1 port to make the normally open contact close and the normally closed contact open. Thus, we are able to control the connection of contact switch through code. Links:https://makecode.microbit.org/_Lvega7TP6ggz
You can also download the links below: ()
The normally open contact is closed, while the normally closed contact is opened.