Sale!

Serial 5V Relay Module / Board / USB Control Switch for Single Chip Computer / Auto-lock Jog

Original price was: 12,63 €.Current price is: 10,17 €. Excluding VAT

5V Serial Control Relay Module / Control Switch USB Board for Single Chip Computer / Self-Locking Jog

3 in stock (can be backordered)

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Category:

🎬 The product on video

Description

What it is

The 5V Serial Control Relay Module with USB interface is a device that allows you to control electrical devices from a computer or single-board chip, such as Arduino or ESP. This module can be used for automatic switching in electronic projects.

Features

  • 5V Serial Control
  • USB Interface
  • Compatible with computers and single-board chips

What it is for

This module is ideal for home automation projects, light control, or industrial equipment. You can use it to create a light control system that turns on and off based on commands sent from the computer.

Tutorial: How to Use 5V Serial Control Relay Module

This relay module is perfect for controlling electrical devices from a computer or single-board chip. It’s ideal for home automation projects, light control, or industrial equipment control.

What you need

  • Arduino Uno
  • USB A-B Cable
  • Potentiometer

Steps

  1. Connect the relay module to the Arduino using the serial TX and RX connectors.
  2. Connect the module power line to the 5V of the Arduino.
  3. Configure the potentiometer to adjust the threshold level of the control port.
  4. Write the Arduino sketch that sends serial commands to the relay module.
  5. Verify serial communication using the serial monitor in the Arduino IDE software.
  6. Test the activation and deactivation of the relay through input signals.
  7. Adjust the sketch parameters to fit the specific project requirements.
  8. Implement additional features such as remote control or configuration storage.

Example code

Serial.begin(9600); // Imposta la velocità di trasmissione seriale
if (Serial.available() > 0) {
    int command = Serial.read();
    if(command == '1'){
        digitalWrite(relayPin, HIGH);
    }
    else if(command == '0'){
        digitalWrite(relayPin, LOW);
    }
}

Mini project

Create a lighting control system that turns lights on and off based on commands sent from the computer.

Common mistakes

  • Set the wrong serial speed in the Arduino IDE or in the Arduino sketch.
  • Connect the relay module to the incorrect Arduino power pin.
  • Fail to properly verify the physical connections between the Arduino and the relay module.
  • Use a serial command not supported by the Arduino sketch.

Recommended accessories

  • USB A-B Cable
  • Motion Sensors
  • Ethernet Socket for Arduino
  • Portable Battery

Frequently asked questions

Does the module work with other microcontrollers besides Arduino?
Yes, the module can be used with any device that supports serial communication.

What is the maximum power of the relay?
Check the datasheet to obtain this specific data.

Can it be used with 24V DC or AC devices?
Check the electrical characteristics of the relay module in its datasheet.

Reviews

There are no reviews yet.

Be the first to review “Serial 5V Relay Module / Board / USB Control Switch for Single Chip Computer / Auto-lock Jog”

Your email address will not be published. Required fields are marked *