EB - 5V Relay


  • Model: EB0300310M
  • Shipping Weight: 15gram
  • 9993 Units in Stock

Add to Cart:

Item specifics

Brand Name:Maker Studio

Product Description

Electronic Brick - 5V Relay module is a secure and convenient method for using weak current to control high voltage. Two pins of the terminal are disconnected when uncontrolled. They can be connected when controllable. So that the terminal work as an electronic switch.



  • Working condition: 5V/100mA
  • Controllable max range: AC 10A/250V,DC 10A/30V
  • Be Careful When Operating The Voltage More Than 36V
  • With Makerduino Demo Code
  • Weight:13g



  • 5v signal control 220v switch




Use with Makerduino

The following steps show how to use EB - Relay with Makerduino.


  • Makerduino
  • Electronic Brick Shield
  • EB - Relay
  • A/B type USB cable
  • Female DuPont wires



1. Connect Electronic Brick Shield onto Makerduino to bring out all the Makerduino Pins.


2. Connect EB - Relay to Makerduino as following.




3. Connect the Makerduino to Computer by the USB cable.

4. Download the Makerduino demo code EB - Relay.zip. Unzip the code directly into the libraries folder.


5. Open Makerduino IDE, choose the right Board and Serial Port. Open the sketch EB_Relay.ino and upload it to the Makerduino.


The following is the demo code for EB - Relay. (Note: It could be a little different from the code file downloaded. Please follow the downloaded file.)


  EB - Relay


  Turns on a Relay for one second, then off for one second, repeatedly.




// connect Relay to Makerduino pin 9

const int relay = 9;

// the setup routine runs once when you press reset:

void setup() {               

  // initialize the digital pin as an output.

  pinMode(relay, OUTPUT);    


// the loop routine runs over and over again forever:

void loop() {

  digitalWrite(relay, HIGH);   // turn the Relay on (HIGH is the voltage level)

  delay(1000);               // wait for a second

  digitalWrite(relay, LOW);    // turn the Relay off by making the voltage LOW

  delay(1000);               // wait for a second



6. Check the Results. After the sketch is successfully uploaded. You can hear the tick which means the load contacts state of relay is changing between closing and opening every 1s.     


Download information


Find EB - Relay Material.zip to download schematic and other material.





about us 02

This product was added to our catalog on Tuesday 11 February, 2014.

Your IP Address is:
Copyright © 2020 Maker Studio