Relay-Bit

From SB-Components Wiki

RelayBit

Relay Bit provides a solution for controlling low and medium current/voltage devices and makes your projects intelligent. It could be a nice solution for controlling devices that could not be directly controlled by micro:bit's Digital I/Os. The standardized shield form factor enables a smooth connection with micro:bit.

Features

  • 4 High quality 3v relays that loads upto 2A/24V DC or 2A/120V AC
  • 90 Degree Micro:Bit Connector
  • Relay status indicator led's
  • Standardized Board shape design
  • Make your home IoT enabled
  • Mounting holes provided

  • Specifications

  • Channel - 4CH
  • Operating Voltage - 3V
  • AC Control Voltage - 120V @ 2A
  • DC Control Voltage - 24V @ 2A
  • Dimensions - 7 x 4.3 x 1.2 cm Approx.
  • Relaybit.png

    Pinout

    Relays Micro:Bit Pins
    Relay 1 P12
    Relay 2 P13
    Relay 3 P14
    Relay 4 P15

    Programming

    Drag and Drop

    Many of you might be interested in using the Relay Bit to develop advanced gadgets. If anyone does not have the idea about the process to run Relay Bit then can read the following steps to use Relay Bit.

  • Attach Micro:bit on stackable connector of Relaybit as shown below.
  • Relaybit.png

  • Make sure jumpers are connected on P12, P13, P14, P15. You can also use any GPIO by removing the jumpers and connecting the relay pins with that pin using jumper cables.
  • Now visit the official website of BBC micro:bit (MakeCode) and create a new project.
  • https://makecode.microbit.org/ relay_bit_blog3.png

  • Click on Advanced >> Pins and use pins block to control relay as shown below.
  • Relaybit_blog2.png

  • Finally download this program block on your BBC Micro:bit by clicking on the download button.
  • You can use the green Molex connector to connect your devices with corresponding relays. You can control up to 4 devices using these 4 relays.

  • Alternate Method

  • You can directly drag and drop test.hex file to Microbit to run the above said program and Tap card/Tag to display their unique id on led matrix.
  • Resources