Signal Relay click
1
Signal Relay click
Signal Relay click
Signal Relay click
IC/Module
Interface
PCB GV5-1 datasheet
[1]
AN, RST, CS and PWM
Power supply
5V
Product page
Schematic
shop.mikroe.com/click/miscellaneous/signal-relay
Signal Relay click schematic
[3]
[2]
Signal Relay click
carries four ultra-small GV5-1 PCB relays from Omron and runs on a 5V power supply. The
click communicates with the target MCU over the following mikroBUS pins: AN, RST, CS and PWM.
Features and usage notes
Maximum continuous current
The relay contacts are designed for a maximum of 1A of continuous current. The Signal Relay click board is
configured so that the switch circuit supply a maximum of 24VAC/30VDC voltage of a power supply source.
LED
Each GV5-1 relay has its own LED on the board that signalizes whether the relays is switched on or off.
Application
ON/OFF control in various home automation devices, like alarm units, lamps, heaters, etc. It can also be used for
energizing coils of bigger relays and contactors in industrial AC schemes (12/24V).
Signal Relay click
2
Key features
• GV5-1 relay
• Power switching from 1 mA to 1 A
• 150 mW nominal coil power consumption
• Maximum contact resistance 100 mΩ
• 4 pairs of screw terminals
• Interface: AN, RST, CS and PWM pin
• 5V power supply
Pinout diagram
This table shows how the pinout on Signal Relay click corresponds to the pinout on the mikroBUS™ socket (the
latter shown in the two middle columns).
Notes
Pin
mikroBUS
tm
GPIO for switch ON/OFF RELAY 1
RE1
GPIO for switch ON/OFF RELAY 2
RE2
GPIO for switch ON/OFF RELAY 3
RE3
Not connected
Not connected
Not connected
Not connected
Ground
NC
NC
NC
NC
1 AN
2 RST
3 CS
4 SCK
5 MISO
6 MOSI
7 +3.3V
X
PWM 16
RE4
INT
TX
RX
SCL
SDA
+5V
15 NC
14 NC
13 NC
12 NC
11 NC
10 5V
GPIO for switch ON/OFF RELAY 4
Not connected
Not connected
Not connected
Not connected
Not connected
Power supply
Pin
Notes
GND
8 GND
GND 9
GND
Ground
LEDs and connectors
The table below explains onboard LEDs and connectors.
Designator Name
LD1
LD2
LD3
LD4
LD5
CN1
PWR
OUT1
OUT2
OUT3
OUT4
Type (LED, BUTTON…)
LED
LED
LED
LED
LED
Description
Power LED
INDICATOR OUTPUT 1 ON (RELAY1 ON)
INDICATOR OUTPUT 2 ON (RELAY2 ON)
INDICATOR OUTPUT 3 ON (RELAY3 ON)
INDICATOR OUTPUT 4 ON (RELAY4 ON)
OUTPUT TERMINAL 8-POLE TERMINAL BLOCK CONNECTOR RELAY1 CONTACT ENDS (RE1 - CE1)
2.54MM PITCH
RELAY2 CONTACT ENDS (RE2 - CE2)
RELAY3 CONTACT ENDS (RE3 - CE3)
RELAY4 CONTACT ENDS (RE4 - CE4)
Signal Relay click
3
Programming
This demo turns relays ON or OFF using 4 buttons from the development board.
• Max. switching voltage: 125 VAC, 60 VDC
• Max. switching current: 1 A
This code snippet initializes the TFT display, draws a frame and checks for button toggling in an endless loop, which
sets the relay ON or OFF.
void
main()
{
Display_Init();
DrawFrame();
while(1)
{
// Relay 1
if
(Button(&GPIOC_IDR,
9, 1, 1))
{
if
(!oldC9)
{
Delay_ms(
200
);
oldC9
= 1;
GPIOA_ODR.B4
= 1;
}
else
// detect one-to-zero transition
{
Delay_ms(
200
);
oldC9
= 0;
GPIOA_ODR.B4
= 0;
}
}
}
}
// detect zero-to-one transition
Signal Relay click
4
Resources
•
•
•
•
Signal Relay click schematic
[3]
PCB GV5-1 datasheet
[1]
Libstock Library
[4]
mikroBUS™ standard specifications
[5]
References
[1]
[2]
[3]
[4]
[5]
http:/ / www. omron. com/ ecb/ products/ pdf/ en-g5v_1. pdf
https:/ / shop. mikroe. com/ click/ miscellaneous/ signal-relay
http:/ / cdn-docs. mikroe. com/ images/ 2/ 22/ Signal_Relay_click. pdf
http:/ / libstock. mikroe. com/ projects/ view/ 1977/ signal-relay-click
http:/ / download. mikroe. com/ documents/ standards/ mikrobus/ mikrobus-standard-specification-v200. pdf
Article Sources and Contributors
5
Article Sources and Contributors
Signal Relay click
Source: http://docs.mikroe.com/index.php?oldid=3023 Contributors: Lana.vulic
Image Sources, Licenses and Contributors
File:Signal-relay-click-front.jpg
Source: http://docs.mikroe.com/index.php?title=File:Signal-relay-click-front.jpg License: unknown Contributors: Lana.vulic
File:mikrobus logo.png
Source: http://docs.mikroe.com/index.php?title=File:Mikrobus_logo.png License: unknown Contributors: Vojislav.gvozdic
License
Creative Commons Attribution
https:/ / creativecommons. org/ licenses/ by/ 4. 0/