Hardware Relay - monkeymia/orangepizero GitHub Wiki

Hardware-Relay

The pin strength is 20mA. This page provides information about Songle Relais and 5V/220V 8 Channel Optocouplers Relay for Arduino Optokoppler Relais Module

Datasheet: Songle Relais SRD

SRD-05VDC-SL-C-Datasheet.pdf

ON/OFF Switching

  • Mechanically : 300 operation/min = every 200msec
  • Electrically : 30 operation/min = every 2sec
  • Operation Time (Change state) = 10msec Max.
  • Release Time (default state) = 5msec Max.
  • Contact Capacity = 10A 28VDC; 10A 240VAC

Coal

  • Coal Voltage = 5VDC
  • Nominal Current : 89.3mA

Note: Impossible to connect to Single Board Computer GPIO Pin.

Datasheet: 8 Channel Optocouplers Relay Module

  • VCC: 5V
  • max input current : approx 4mA
  • Top
https://github.com/monkeymia/orangepizero/wiki/relais_top.jpg

Description of the pins

From left to right:

  • GND: Connected to negative supply voltage
  • IN1: Signal(LOW Level) triggering terminal 1 of relay module
  • IN2: Signal(LOW Level) triggering terminal 2 of relay module
  • IN3: Signal(LOW Level) triggering terminal 3 of relay module
  • IN4: Signal(LOW Level) triggering terminal 4 of relay module
  • IN5: Signal(LOW Level) triggering terminal 5 of relay module
  • IN6: Signal(LOW Level) triggering terminal 6 of relay module
  • IN7: Signal(LOW Level) triggering terminal 7 of relay module
  • IN8: Signal(LOW Level) triggering terminal 8 of relay module
  • VCC: Connected to positive supply voltage (supply power according to relay voltage) power supply control signals

ON the right: * GND (Ground of JD-VCC) * VCC (Power supply control signals) * JD-VCC (Relay Power Supply)

Per default is a jumper between VCC and JD-VCC. The jumpers removes the isolation (and more noise from coil).

Connection (Variant with Optocoupler and external Power Supply) :

  • Remove jumper between VCC and JD-VCC
  • Connect VCC-RC and GND from the Relay Module to a Separate 5VDC Supply (1Amp or greater)
  • Connect VCC from the Relay Module to 5V on your Orange PI
  • Connect GPIO to a IN
  • Note: DO NOT connect GND from the Relay Module to your Orange PI

Depending on the version the board could be triggering on high or low signal.

  • High Level: Triggered at high level means a forward voltage exists between signal triggering terminal (INx) and negative supply voltage.
  • Low Level: triggering terminal (INx) and negative supply voltage is 0V, or the voltage at the triggering terminal is lower than positive supply voltage.

In other words:

https://github.com/monkeymia/orangepizero/wiki/relais_schematic.jpg

optocoupler

label:

+-=---=-+
| B7301 |
|  817C |
| *   G |
+-=---=-+
  • pin1 indication (*)
  • location of pin (=)

Operation Time Measurement

According to datasheet max 10msec.

Setup:

  • Put 5V at root of output
  • Measure time difference between state change at control signal (input) and output

Explanation of image below:

  • Green: input (change of at low switches contact (yellow))
  • Yellow: Output
  • delay : approx 5msec
https://github.com/monkeymia/orangepizero/wiki/relais_state_change.jpg

Misc

⚠️ **GitHub.com Fallback** ⚠️