Categories

Categorie
PrestaShop

Nuovi prodotti

Nuovi prodotti
Tutti i nuovi prodotti

4 Channel 5V Relay Module

8,54 €
Tasse incluse

MICRO USB 5V 4-Channel Relay Module USB Control Relay Module

Quantità

Note: When the board is powered on, all the relays will be activated.

Features

1. It's designed with MICRO USB and serial port for communicating with outside. It's more convenient to connect module with PC and other device.
2. The normal working voltage of this module is 5V.

Parameters

 

ICSE012A

ICSE013A

ICSE014A

Unit

Remark

CC

4

2

8

 

channel count of module

I

400

250

700

mA

working current

U

5

5

5

V

input voltage

 

?

?

?

 

whether have serial port

 

9600

9600

9600

bit/s

baud rate of serial port

F

1000

1000

1000

Hz

module control frequency

 

x

x

?

 

whether have power interface

Interface

Modules are with Micro USB, serial port and TTL serial interface.

  • Micro USB:Standard micro USB female adapter.( can use the USB extension cord to connect with the PC and the other devices)
  • TX: Transmit
  • RX : Receive
  • 5V:Volt current condenser
  • GND : Ground

 

How to use it?

1).USB Usage method

These modules use the USB port to connect with the PC as following:

Open the "Relay Board Manager" to control the module directly. Please refer the usage of this software to "Relay Board Manager_Reference".

2)Serial port using method

These modules can use the serial port to connect with other communication devices. These modules can receive the Single-byte instruction from the upper monitor.
Upper Monitor          0x50        0x51
ICSE012A          0xAB
ICSE013A          0xAD
ICSE014A          0xAC

Suggested by our customer:

Here is the way it works, take ICSE012A as an example:

·   After the ICSE012A has been connected to PC, if send 0x50 to ICSE012A, it will reply 0xAB.( Relay Board Manager: Tool--Configure)
·   Then if you send 0x51 to ICSE012A, it is ready to receive hex code.( Relay Board Manager: Open the Sele)
Actually you can use a software “Bus Hound” to see what the transmission hex codes are and use Python PySerial library to customize the relay actions as well as “Relay Board Manager”.
Python Sample:
import serial
import time
fd=serial.Serial("COM3",9600)
time.sleep(1)
fd.write('x50')
time.sleep(0.5)
fd.write('x51')
def relay_1():
fd.write('x00')
time.sleep(1)
fd.write('x01')
if __name__ == "__main__":
relay_1()

These modules will work normally after they receive the "0X51" instruction. The bytes which these modules receive can control the modules directly and every singly byte control one channel of the module( "0" means start, "1"means stop).

The details are as following:


Bit

ICSE012A

ICSE013A

ICSE014A

Remark

0

?

?

?

Control the relay K1

1

?

?

?

Control the relay K2

2

?

?

?

Control the relay K3

3

?

?

?

Control the relay K4

4

?

?

?

Control the relay K5

5

?

?

?

Control the relay K6

6

?

?

?

Control the relay K7

7

?

?

?

Control the relay K8

 

download.png

YXA616
10 Articoli