edit

3V Relay Module

Introduction


1 Channel Relay 3V Relay Module is one of OCTOPUS series of electric bricks. It is fundamentally designed according to OCTOPUS electric brick series with same shape, PCB positioning holes and electric brick connectors. OCTOPUS 1 Channel Relay has adopted a mini and high-quality HUIKE relay, which is available to control all kinds of home appliances and high current load devices. This is a common accessory module for electronic DIY fans.

Features


  • Equipped with a high current relay. Its max current can be up to 30A.
  • Adopt 3V power supply, which is enough to support micro:bit.
  • Contact control, including a normally open contact and a normally closed contact.
  • Convenient wire connection.

Parameters


Item Parameter
Product Name 1 Channel Relay 3V Relay Module
Version No. V1.0
SKU EF04086
Working Voltage DC 3~5.5V
Size 38x27mm
Contact Load AC 250V-3A, DC 30V-3A
Net Weight 8.5g

Dimension


Wire Connection


Quick Start


Hardware Connection

Connect the relay module to P1 on octopus:bit using a jumper cable. Insert micro:bit into the edge slot of octopus:bit.

Programming

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. Link of the whole program: https://makecode.microbit.org/_Lvega7TP6ggz

You can also download it from the page below.

Result


The normally open contact is closed, while the normally closed contact is opened.

FAQ