User Guide - Numato Labproductdata.numato.com/assets/downloads/ethernet/ethernetrelay/... · 1 32...
Transcript of User Guide - Numato Labproductdata.numato.com/assets/downloads/ethernet/ethernetrelay/... · 1 32...
32 Channel Ethernet Relay Module User Guide
www.numato.com Rev 9
Get in touch with us!
Please feel free to send a mail to one of the mail IDs below or use the Contact Us page athttp://www.numato.com to drop us a quick message. Technical HelpGot technical questions? Please write to [email protected]
Sales TeamQuestions about making payments, volume discounts, academic/open source discounts, purchaseorders and quotes? Please write to [email protected]
WebmasterQuestions/Suggestions about our website? Please write to [email protected]
Like us on Facebook! https://www.facebook.com/numato
Visit our blog http://www.numato.cc for news, updates and specials.
Mailing AddressNumato Systems Pvt Ltd1st Floor, #56C Wipro AvenuePhase 1 - Electronic CityBangalore, KA-560100, India
* Mail orders, phone orders and direct pick up are not available at this time. Please visit our online store to place your order. Estimated shipping time toyour address will be displayed in the shopping cart before checkout.
You may use, modify or share this publication or part of thereof adhering to Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) License.See complete license text at http://creativecommons.org/licenses/by-sa/3.0/
All trademarks are property of their respective owners.
1 32 Channel Ethernet Relay Module – User Guide
IntroductionNumato Lab's 32 Channel Ethernet Relay Module is a versatile product for controlling electrical andelectronic devices remotely from a PC over Ethernet link. Ease of use and wider operating systemcompatibility are the primary goals behind this product's design. This simplicity allows use of off-the-shelf Terminal Emulation programs such as Hyper Terminal and Tera Term for controlling the modulewith a simple set of human readable commands through Telnet/Web page. For power users, thismodule can be controlled by writing programs in various programming languages.
Applications
• Home Automation• Lighting Control• Garden Equipment Control• Industrial Automation• Test Fixtures• DIY and Hobby
Board Features
• Microcontroller: Microchip PIC18F97J60(1-Mbit Flash Microcontroller with 10Mbps Ethernetcommunication peripheral)
• Memory: Microchip 25LC1024 serial EEPROM provides 1024 Kbits of storage for both webpages and nonvolatile configuration options
• MAC Address: Separate Serial EEPROM(24AA02E48) with Globally Unique value used as MACAddress
• Reset Jumper: To reset the firmware of board to factory defaults• Password protected Web console and Telnet communication interface• LED indication for Power and individual relay status• Relay: 32 SPDT Relays with individual LEDs for status• GPIO: 8 GPIOs, each can be configured as analog inputs
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
2 32 Channel Ethernet Relay Module – User Guide
How to use the moduleThe following section describes how to use this module.
Components/Tools required
Along with the module, you may need the items in the list below for easy and fast installation.
1. CAT 5e Ethernet Cable(Straight through cable)
2. +12V 2 A DC power supply
3. Medium size Philips screw driver
Connection Details
IMPORTANT Please exercise utmost caution while working with electrical mains or otherhigh voltages. Failure to comply with safety regulations may result in injury and or death.
Connection Diagram
Above image shows basic connection diagram that can be used in most of the situations. The
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
3 32 Channel Ethernet Relay Module – User Guide
connection diagram is same for both AC and DC loads. Please make sure to use a freewheeling diodeor snubber circuit if the load is inductive. More details about using inductive loads is availableelsewhere in this document. Use a Straight Through Ethernet cable for communication whenconnecting the board to a switch or router. A Crossover Ethernet Cable may be required in somesituations if connecting directly to a PC/Laptop port.
It is important to make sure that the wires used to connect loads are sufficiently rated to handleexpected load current. Exercise caution while working with high voltages. Short circuits can causedamage to the module and the PC. The following sections identify individual connections in detail.
Ethernet Interface The on-board Ethernet port supports Ethernet 10 Mbps transmission speed that helps acomputer to communicate and control this module easily. There are two basic networkconfigurations for this board/can be used in two ways.
1. Direct connection to Local Area Network(LAN) via common straight through Ethernet cable.Eg: Connecting the module to a switch in a network.
2. Direct connection to a PC through a cross over Ethernet cable.Eg: Connecting the module directly to the PC. Some PC/Laptops can detect and adapt to the cabletype. In such situations, a straight through cable also can be used.
Visit http://numato.com/cables-accessories to buy cables and accessories for this product.
Relay ContactsAll contacts on each relay is available externally on screw terminals for easy user access. The relays arerated for AC and DC supply voltages. Please see the electrical parameter table for more details. Eachrelay has three contacts(C, NO and NC). C is the common terminal and is used in both normally open
and normally closed positions. The contacts NC and Cwill be connected when the relay is turned off and willbe disconnected when relay is turned on. And viceversa, the contacts C and NO will be disconnectedwhen relay is turned off and will be connected whenthe relay is turned on. Table below summarizes
possible relay contact positions.
Relay State Connection between NC and C Connection between NO and C
OFF Close Open
ON Open Close
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
4 32 Channel Ethernet Relay Module – User Guide
DC Power SupplyThis module can be powered in two ways.
1. Use a 12V 2A DC power supply on DC jack(J1) on the Board for both logic circuit andrelays. Configure the Jumper on GS2, GS3 in POWER SELECT to 1-2 for using this way.Relays and logic cuircuits are not isolated from each other in this configuration.
2. Use a 7-12V 1A DC power supply for the logic circuit on J1 and a separate 12V 1A DCpower supply for relays on P5. Configure the Jumper on GS2, GS3 in POWER SELECT to2-3 for using this way.
With the first method, the board requires only one DC power supply to be fullyfunctional. But the relay section will not be isolated from the logic section. Withthe second method, the board requires two power supplies but the relay sectionwill be isolated from logic section as long as the two power supplies aregalvanically isolated. Most off the shelf 12V DC power supply can be used forpowering this Ethernet Relay Module. Make sure to connect the power supplywith correct polarity. Connect the positive terminal of the power supply to the+12 terminal on the module. Connect negative terminal of the power supply to
GND terminal of the module. Connecting power supply incorrectly can cause damage to the moduleand/or other devices. Please refer to the marking on the board for more details.
Using a product similar to Numato's DC Barrel Jack Adapter is recommendedif the power supply has a Barrel Jack connector (See the image on right).
Connecting power supply incorrectly can cause damage to the module and/or other devices.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
5 32 Channel Ethernet Relay Module – User Guide
Factory Reset This Jumper is used to reset the settings on board to factory defaults. To execute factory reset, pleasefollow the steps below.
1. Power off the device.2. Configure the Jumper on GS5 to 2-3. 3. Power on the device.4. Wait for 10-15 sec until the LED D2 on board Blinks.5. Configure the Jumper on GS5 back to 1-2.6. Power off the board and back on
Please use this feature only for recovering the user name / password. This action will reset UserName, Password, Device ID and also other settings as well. After reset the board can be accessedusing the default user name and password.
The factory default settings will be as below table.
User name admin
Password admin
ID 00000000
Host Name ETHRELAY32
IP Address DHCP Enabled
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
6 32 Channel Ethernet Relay Module – User Guide
Powering Up 32 Channel Ethernet Relay module
Connect a DC power supply and power up the device as mentioned DC Power Supply section above. Ared LED (D1) will glow which indicates active power. Connect the module to a PC or a Switch/Router asmentioned in Ethernet Interface section above. Run Numato Lab Device Discoverer.jar, click onDiscover Devices. The window will displays the IP address, Host Name, MAC Address and Otherinformation.
IP Address and MAC Address can seen in command prompt also, open the command prompt and typethe command 'arp -a'. This will display the available network interfaces and connected devices alongwith the MAC address and IP address of each device. Look for the IP address that corresponds to yourdevice's MAC address. The MAC address for each Relay Module is printed on a label on the board foryour convenience. Use the IP address obtained in order to access the device.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
7 32 Channel Ethernet Relay Module – User Guide
Accessing the moduleThe module can be controlled by using one of the two interfaces below.
1. Through HTML/Web Page served from the device. 2. Through a Serial terminal Emulator that supports TELNET (Eg: Hyper terminal, Teraterm, PUTTY...).
Accessing the module using web interfaceThe easiest method for controlling the module is through web page served from the device. To openthe administration web page, type in the IP address in to the address bar of any web browser andpress enter.
You will prompted to enter user name and password. The default user name and password is 'admin'.You may change the user name and password once logged in.
Enter the default user name and password then click OK.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
8 32 Channel Ethernet Relay Module – User Guide
You will be presented with the device home page that shows the status of Relays and GPIOs.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
9 32 Channel Ethernet Relay Module – User Guide
Relay Status and Control
There are 32 SPDT relays on the board that can be controlled over Ethernet. Click on the “Relay” linkon the menu bar to access Relay configuration page. The 'Relay Index' shows the corresponding relayon board. Relays on the board can be turned on/off by clicking the 'Toggle Relay' button next to thecorresponding relay index. The 'Status' of the relays change automatically for easy identification.
In the above image, we can see that Relay 0,2,4 and 6 are in ON position and rest of the relays are inoff position. The status of the relay can be viewed on the home page as well.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
10 32 Channel Ethernet Relay Module – User Guide
GPIO Status and ControlThis board has 8 general purpose input/output's each multiplexed with analog input. Click on the“GPIO” link on the menu bar to access Relay configuration page. The GPIOs can be turned on/off byclicking on the 'Toggle GPIO' button next to the corresponding GPIO.
Individual GPIO can be configured in three modes.
1. Digital Input(I/P)2. Digital Output(O/P)3. Analog Input
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
11 32 Channel Ethernet Relay Module – User Guide
Digital Input(I/P)
To configure a GPIO as Digital Input, click on corresponding GPIO's 'Change Config' button. Select“Digital I/P” radio and click the “Submit” button.
Digital Output(O/P)
To configure a GPIO as Digital Output, click on corresponding GPIO's 'Change Config' button. Select“Digital O/P” radio and click the “Submit” button.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
12 32 Channel Ethernet Relay Module – User Guide
Analog Input (I/P)
To configure a GPIO as Analog Input, click on corresponding GPIO's 'Change Config' button. Select“Analog I/P” radio and click the “Submit” button.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
13 32 Channel Ethernet Relay Module – User Guide
Individual GPIOs on the board can be turned on/off by clicking the 'Toggle GPIO' button next to thecorresponding index. The status change will be displayed on the page immediately for feedback.
All GPIO pins can be used as Analog to Digital Converter inputs as well. TheADC input range is 0 to +3.3V. The ADC can acquire analog signal at theresolution of 10 bits per sample. It is recommended to use a series resistorwith the GPIO/ADC pins when interfacing with other circuits. In output mode,GPIOs can source up to 2mA(Refer Technical Specifications for more details).
The table below summarizes the GPIO and Analog to Digital Converter input positions on the header.
GPIO ADC
3V3 3V3
3V3 3V3
IO0 ADC0
IO1 ADC1
IO2 ADC2
IO3 ADC3
IO4 ADC4
IO5 ADC5
IO6 ADC6
IO7 ADC7
GND GND
GND GND
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
14 32 Channel Ethernet Relay Module – User Guide
Device SettingsDevice Settings page displays the current firmware version, Device ID, Account Settings and BasicNetwork Settings. A logged in user can change and save the Device ID, User name, password andnetwork settings.
In the above image, firmware version is displayed as 00000008, default device ID 00000000, defaultuser name and password as 'admin'. The user can change and save the Device ID, User name andPassword as explained in command set (Page No.19) or changing the appropriate field on this pageand clicking on the save button on right side. The user name and password can be reset to factorydefaults via Factory Reset explained elsewhere in this document. The Basic Network Settings Showsthe Device MAC address, Host Name and IP Address. The default host name and IP Address can alsobe changed according to the user wish. After saving changes the board will reboot with the newnetwork settings.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
15 32 Channel Ethernet Relay Module – User Guide
Controlling the module through TELNET interfaceThe simple set of ASCII based human readable command set supported by this module makescontrolling relays easy via TELNET protocol very easy. The following sections give examples of how touse the module with Hyper Terminal and Tera term.
To use this module with Hyper Terminal, please follow the steps below.
• Connect the module to the PC or LAN.• Open Hyper Terminal and enter the IP address corresponding to the module, leave the port
number as 23.• Click OK.
• If everything goes well, you should be presented with a screen as below.• Select the properties button and do as same as shown below, then press OK.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
16 32 Channel Ethernet Relay Module – User Guide
• Type in the TELNET user name and password when asked and press enter key.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
17 32 Channel Ethernet Relay Module – User Guide
• Press ENTER key again and the command prompt should appear. Commands listed in the tablebelow (please see section “Sending Commands”)can be entered here now. For example, here isthe response for “ver” command.
Using the relay module with Tera term is just as easy. Please follow the steps below.
Tera term is an open source software. A free copy can be downloaded fromhttp://en.sourceforge.jp/projects/ttssh2/releases/
• Run Tera term and type in the IP address corresponding to the module in the “Newconnection” dialog and click OK.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
18 32 Channel Ethernet Relay Module – User Guide
• Then select the terminal setup from the setup button and make sure the settings are as shown below, and press OK.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
19 32 Channel Ethernet Relay Module – User Guide
• Type the user name and password when asked.
• Press ENTER key and the command prompt should appear. Commands listed in the table below
(please see section “Sending Commands”) can be entered here now. For example, here is theresponse for “ver” command.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
20 32 Channel Ethernet Relay Module – User Guide
Sending Commands One of the most powerful features of this module is the simple easy to use command set it supports.This command set allows for a very simple interface to access the features of the module throughTELNET protocol. The following sections give details of the command set and how to use thecommand set.
The command set
This product supports a very simple command set that is designed to be less cryptic and easy to usemanually (using terminal emulation programs that support TELNET) or through a program written inone of the many supported languages.
List of currently supported commands.
No. Command Parameters Example Description
1 ver None ver Returns firmware Version
2 id get/set xxxxxxxx id get, id set 12345678 Reads/Sets id of the module
3 usr get/set xxxxxxxx usr get, usr set admin Reads/Sets user name
4 pass get/set xxxxxxxx pass get, pass set admin Reads/Sets password
5 relay on/off/read, relaynumberreadall/writeall
relay on 0, relay off 0,relay read 0, relay readall,relay writeall ff
Relay control
6 reset None reset Reset relays to default state(all relays turned off)
7 adc read, channel adc read 0 Read Analog to DigitalConverter input
8 gpio set/clear/read,gpio number
gpio set 0 Control General PurposeInput/Output
The table below has more detailed information about available commands.
No. Command Example Description
1 ver ver Returns current firmware version.
2 id id getid set xxxxxxxx
Id get reads the module ID. Id set will assign a new ID to themodule. “x” stands for alphanumeric characters including
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
21 32 Channel Ethernet Relay Module – User Guide
symbols. The new ID must be exactly 8 characters in length.
3 usrusr getusr set xxxxxxxx
usr get reads the default user name. usr set will assign a newusr name to the module. “x” stands for alphanumericcharacters including symbols. The new user name can be 1 – 8characters length.
4 passpass getpass set xxxxxxxx
pass get reads the default password. pass set will assign a newpassword to the module. “x” stands for alphanumericcharacters including symbols. The new password can be 1 – 8characters length.
5 relay
relay on x
Turns a particular relay on. The parameter “x“ stands for therelay number. The relay number starts from zero. See someexamples below.relay on 0 – Turns on relay 0relay on 1 – Turns on relay 1This command accepts RELAY number from 0 – 9 and A – V,total 32 values. Eg: “relay on A” writes RELAY 10 as High, “relayread B” reads Relay 11 and so on.
relay off x
Turns a particular relay off. The parameter “x“ stands for therelay number. The relay number starts from zero. See someexamples below.relay off 0 – Turns off relay 0relay off 1 – Turns off relay 1
relay read x
Returns the status of a particular relay. The parameter “x“stands for the relay number. The relay number starts from zero.See some examples below.relay read 0 – Returns status of relay 0relay read 1 – Returns status of relay 1
The data returned in response to this command will be either“on” or “off” depending on the current status of the relay.
relay readall Reads the status of all relays in a single operation. The returnvalue will a hexadecimal number with binary value 1 at bitpositions for relays in ON state and 0 for relays in OFF state. Eg:a return value 00000000 (binary 0000 0000 0000 0000 00000000 0000 0000) means all relays are OFF. A value FFFFFFFF(binary 1111 1111 1111 1111 1111 1111 1111 1111) means all
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
22 32 Channel Ethernet Relay Module – User Guide
relays are ON.relay readall – Returns status of all relays
relay writeallxxxxxxxx
Control all relays in a single operation. A hexadecimal valuemust be specified with desired bit positions set to 0 or 1. Avalue 0 at a bit position will turn off the corresponding relay. Avalue 1 at a bit position will turn on the corresponding relay. relay writeall ffffffff – Turns on all relays
6 reset reset Resets all relays to off state which is the default state. GPIO'sare not by affected by the command.
7 adc adc read x
Reads the analog voltage present at the ADC input mentioned.“x” stands for the number of ADC input. The response will be anumber that ranges from 0 – 1023. Please see examples below.
adc read 0 – Reads analog input 0 adc read 2 – Reads analog input 2
8 gpio
gpio set x
Sets the GPIO output status to high. Here “x” is the number ofthe GPIO. Please see examples below.
gpio set 0 – Sets GPIO 0 to high stategpio set 2 – Sets GPIO 2 to high state
gpio clear x
Sets the GPIO output status to low. Here “x” is the number ofthe GPIO. Please see examples below.
gpio clear 0 – Sets GPIO 0 to low stategpio clear 2 – Sets GPIO 2 to low state
gpio read x
Reads the digital status present at the input mentioned. Here“x” stands for the number of GPIO. The response will be either“on” or “off” depending on the current digital state of theGPIO. Please see examples below.
gpio read 0 – Reads GPIO 0 statusgpio read 2 – Reads GPIO 2 status
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
23 32 Channel Ethernet Relay Module – User Guide
Additional InformationAnalog to Digital ConverterSome products do support Analog to Digital Conversion on some of the IO terminals. A list of GPIO'sthat supports analog function in this product is listed elsewhere in this document. There is no specialcommand is required to execute to switch between analog and digital mode. Executing “adc”command will set the GPIO to analog mode and executing “gpio” command will set the GPIO back todigital mode on the fly. Resolution of the ADC is 10 bits unless otherwise noted. The input voltagerange of the ADC is 0 – VDD (this product uses 3.3V power supply, so the range will be 0 – 3.3V). Theresult will be returned as a number starting at zero and ending at 1023. Zero indicates zero volts at theADC input and 1023 indicates VDD (3.3V for this product) at ADC input.
Using GPIO's with switchesIt is possible to read the position of a switch that is connected to a GPIO. A SPST or SPDT switch isrecommended to use with GPIO's. Push switches do maintain the contacts closed only for a very shorttime so using them is discouraged. The fundamentalidea of using a switch with GPIO is to have the switchcause a voltage level change at the GPIO pin whenpressed. Usually this is achieved by using an externalpull-up resistor along with the switch. The pull upresistor is connected between the GPIO and VDD andthe switch is connected between the GPIO andground. When the switch is not pressed, the pull-upresistor will cause the GPIO to stay at VDD voltagelevel. When the switch is pressed, the GPIO is shortcircuited to ground and stays at zero voltage. Thischange in voltage and thus the position of the switchcan be read using “gpio read” command. Please seethe recommended connection diagram below.
Using relay modules with inductive loadsIt is important to take additional care when using relays with inductive loads. An inductive load ispretty much anything that has a coil and works based on magnetic principles like Motors, Solenoidsand transformers. Inductive loads produce back emf when the magnitude of the load current changes.The back emf can be in the order of tens or even hundreds of voltage (See this Wikipedia articlehttp://en.wikipedia.org/wiki/Counter-electromotive_force). This effect is most severe when power isdisconnected from inductive load because the rate of change of current is maximum at that point.Even though the back emf lives only for a very short time (a few milliseconds) it can cause sparksbetween the relay contacts and can deteriorate the contact quality over time and reduce the life spanfor the relays considerably.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
24 32 Channel Ethernet Relay Module – User Guide
So it is important to take countermeasures to suppress the back emf to acceptable levels to protectrelay contacts. Usually this requires connecting electronic devices in parallel with the load such thatthey absorb the high voltage components generated by the load. For solenoids, connecting a diode(fast switching diode is recommended) in parallel to theload (in reverse direction to the load current) is veryeffective. A diode used for this purpose is usually calleda freewheeling diode. Please see the diagram on theright for connection details.
A capacitor with proper rating is recommended for protecting the relay contacts when a motor is usedas load. The capacitor should be rated enough to withstand the back emf that is generated by themotor. Please see the diagram below for connection details.
Please note that the relay modules are NOT shipped with back emf suppression devices pre-installed.The exact kind of suppression device and the parameters of the selected device can vary dependingon the load itself. Some of the parameters that affects the suppression device selection are theinductance of the load, power supply voltage, load current, physical size/structure of the load etc.. Itis obvious that it is impossible for us to predict these parameters and design required back emfsuppression device and incorporate that on the board. So we believe this is a task best left to themodule user. There is an excellent article on designing back emf suppression on Wikipedia athttp://en.wikipedia.org/wiki/Flyback_diode
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
25 32 Channel Ethernet Relay Module – User Guide
Technical Specifications
Parameter * Value Unit
Basic Specifications
Number of Relays 32
Number of GPIO's 8
Number of analog inputs (Multiplexed with GPIO's) 8
Digital circuit power supply voltage (external) 12 V
Maximum current drawn by digital circuitry 350 mA
Relay Specifications
Nominal relay coil voltage 12 V
Nominal coil power consumption (per relay) 360 mW
Relay contact material Silver Alloy
Contact rating 1A: 10A 240VAC/12A 120VAC 1C: 7A 240VAC/10A 120VAC
Maximum switching voltage 250VAC/ 30VDC
Maximum switching current 15 A
Maximum switching power 2770VA/ 240W
Contact resistance (initial) 100 Min at 6VDC1A
mΩ
Life expectancy (Electrical) 100,000 Operations
Life expectancy (Mechanical) 10,000,000 Operations
Nominal insulation resistance 100 Min at 500VDC MΩ
Maximum switching on response time 10 mS
Maximum switching off response time 5 mS
IO Specifications
Maximum IO source current IO0 – IO7 2mA
Maximum IO sink current IO0 – IO7 2mA
GPIO input low voltage 0.15 V
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
26 32 Channel Ethernet Relay Module – User Guide
GPIO input high voltage 3.3 V
GPIO output low voltage 0 V
GPIO output high voltage 3.3 V
ADC Specifications
Resolution 10 bits
Full scale range 0 – VDD V
Reference voltage VDD V
Recommended Impedance of Analog Voltage Source 2.5 KΩ* All parameters considered nominal. Numato Systems Pvt. Ltd. reserve the right to modify products without
notice.* http://kyotarelays.com/datasheets/KT%20603.pdf
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
27 32 Channel Ethernet Relay Module – User Guide
FAQQ. What is the connector marked as ICSP on this module?A. This connector is used to program the on-board microcontroller. This connector is primarily intended for factory use.
Q. I need a customized version of this product, can Numato do the customization for me?A. Yes, we can definitely do customization but there may be minimum order requirements depending on the level ofcustomization required. Please write to [email protected] for a quote.
Q. Where can I buy this product?A. All Numato products can be ordered directly from our web store http://www.numato.com. We accept major creditcards and Paypal and ship to almost all countries with a few exceptions. We do have distributors in many countries whereyou can place your order. Please find the current list of distributors at http://numato.com/distrib.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
28 32 Channel Ethernet Relay Module – User Guide
Physical Dimensions
SchematicsSee next page.
©2015 NUMATO SYSTEMS PVT LTDwww.numato.com
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
A A
B B
C C
D D
E E
F F
G G
Date: 25 mar 2015KiCad E.D.A.
Rev: Size: A2Id: 1/1
Title: 32 Channel Ethernet Relay Module
File: ethernetrelay32.schSheet: /
Numato Labhttp://www.numato.comLicense : CC BY-SA
LEDA
MCLR
LEDB
TPIN-
TPIN+TPOUT-
TPOUT+
C10
0.1uF
RL8
B1
IO6
GND
POWER SUPPLY
R910K
R1010K
LEDA
C14
0.1uF
R72K2
C8
0.1uF
C7
0.1uF
R12
4k7
R81K
C13
0.1uF
C11
0.1uF
C19
0.1uF
C20
1uF
SDASCL
C6
0.1uF
C18
0.1uF
C17
0.1uF
C16
0.1uF
R16
220R
R18
49.9
R
R17
49.9
R
R14
49.9
R
LEDB
123456
P1
SDO
SDI
SCK
LEDB
TPIN-
TPIN+TPOUT-
TPOUT+
R15
220R
R13
49.9
R
C9
0.1uF
L1
IND
UC
TO
R
C2
22pF
C1
22pF
X125MHz
MCLR
TPIN-TPIN+
TPOUT-TPOUT+
R202k26
RA5RA4
LEDA
RB6/PGCRB7/PGD
RL7
RL1
RL2
RG7RG6RG5RG4RG3RG2RG1RG0
RL5RL6
RL3
RL4
RD7SCLSDA
RJ0
SDOSDISCK
C5
0.1uF
R3
100K
C12
0.1uF
RH2/A181
RH3/A192
RE1/AD9/WR/P2C3RE0/AD8/RD/P2D4
RB0/INT0/FLT0 5
RB1/INT1 6
RB2/INT2 7
RB3/INT3/ECCP2/P2A 8
NC 9
RG610
RF5/AN10/CVREF20
AVDD 30
VSS 40
RJ1/OE50
VSS 60
RG1/TX2/CK270
RBIAS 80
RD2/AD2/PSP290
RG511
RF4/AN921
AVSS 31
RA5/AN4 41
RG3/CCP4/P3D51
RJ3/WRH61
RG0/ECCP3/P3A71
VDDPLL 81
RD1/AD1/PSP191
RF0/AN512
RF3/AN822
RA3/AN3/VREF+ 32
RA4/T0CKI 42
RG2/RX2/DT252
VDD 62
TPIN-VSSRX 72
VSSPLL 82
RD0/AD0/PSP092
MCLR 13
RF2/AN7/C1OUT23
RA2/AN2/VREF- 33
RC1/T1OSI/ECCP2/P2A43
RC2/ECCP1/P1A53
OSC1/CLKI63
TPIN- 73
RD7/AD7/PSP7/SS283
RE7/AD15/ECCP2/P2A93
RG4/CCP5/P1D14
RH7/AN15/P1B24
RA1/LEDB/AN1 34
RC0/T1OSO/T13CKI44
RC3/SCK1/SCL154
OSC2/CLKO64
TPIN+ 74
RD6/AD6/PSP6/SCK2/SCL284
RE6/AD14/P1B94
VSS 15
RH6/AN14/P1C25
RA0/LEDA/AN0 35
RC6/TX1/CK145
RC4/SDI1/SDA155
VSS 65
VDDRX 75
VSS 85
RE5/AD13/P1C95
VDDCORE/VCAP 16
RH5/AN13/P3B26
VSS 36
RC7/RX1/DT146
RC5/SDO156
RJ2/WRL66
VDDTX 76
VDD 86
RE4/AD12/P3B96
VDD 17
RH4/AN12/P3C27
VDD 37RJ4/BA047
RB7/KBI3/PGD 57RB6/KBI2/PGC 67
TPOUT- 77
RD5/AD5/PSP5/SDI2/SDA287
RE3/AD11/P3C97
RF7/SS118
RF1/AN6/C2OUT28
RG738
RJ5/CE48
RJ6/LB58
RB5/KBI1 68
TPOUT+ 78
RD4/AD4/PSP4/SDO288
RE2/AD10/CS/P2B98
RF6/AN1119
ENVREG 29
RJ7/UB39
RJ0/ALE49
VDD 59
RB4/KBI0 69
VSSTX 79
RD3/AD3/PSP389
RH0/A1699
RH1/A17100
U3PIC18F97J60
GN
D4
VC
C8
CS1
S02
WP3
SI 5SCK 6
HOLD 7
U225LC1024 C3
C2
C1
C0
B3
B2
B0
1 2
3 4
5 6
7 8
R23
680R
1 2
3 4
5 6
7 8
R22
680R
IO0IO1IO2IO3IO4IO5
IO7
RL8
RL7
RL6
RL5
RL4
RL3
RL2
RL1
C3
0.1uF
1 2D11
LED
1 2D10
LED
1 2D9
LED
1 2D8
LED
1 2D7
LED
123
K8
123
K7
123
K6
123
K5
123
K4
123
K3
123
K2
123
K1
12 3
4 5
RL8
12 3
4 5
RL7
12 3
4 5
RL6
12 3
4 5
RL5
12 3
4 5
RL4
12 3
4 5
RL3
12 3
4 5
RL2
12 3
4 5
RL1
GND
VCC12V
C4
100uF
POWER SUPPLY
GPIO'S
GN
D4
VC
C8
A01
A12
A23
SDA 5SCL 6
WP 7
U1 24AA02E48
12
34
56
78
R1
330R
1 2D1
LED-RED
R21K
R111M
GREEN
J1
J2
J3
J4J5
J6J7J8
RCV
XMIT
YELLOW
TD+
1
TD-
2
TCT
3
GN
D 4G
ND 5
RCT
6
RD+
7
RD-
8
LEDY_A
9
LEDY_K
10
LEDG_K
11
LEDG_A
12
J2RJ45_WITH_INTEGRATED_10/100_BASE
12
34
56
78
R26
10K
1 2
3 4
5 6
7 8
R30
680R
1 2
3 4
5 6
7 8
R31
680R
1 2D6
LED
1 2D5
LED
1 2D4
LED
C15
0.1uF
12
3
J1
JACK_2P
PWR_FLAG
PWR_FLAG
I11
I22
I33
I44
I55
I66
I77
I88
GND9 COM 10O8 11O7 12O6 13O5 14O4 15O3 16O2 17O1 18
U4
ULN2803
12
D2
LED-YELLOW
1 2JP1
JUMPER
ICS
P
C22 0.1u
F
RE
LA
Y0
RE
LA
Y1
RE
LA
Y2
RE
LA
Y3
RE
LA
Y4
RE
LA
Y5
RE
LA
Y6
RE
LA
Y7
C21
100uF
VCC3V3
RELAY0
RELAY0
RELAY1
RELAY1
RELAY2RELAY3
RELAY2
RELAY3
RELAY7
RELAY7
RELAY6
RELAY6
RELAY5
RELAY5
RELAY4
RELAY4
RELAY0
RELAY1
RELAY2
RELAY3
RELAY4
RELAY5
RELAY6
RELAY7
RB6/PGCRB7/PGD
VCC3V3
VCC3V3
VC
C3V
3
VCC3V3
VCC3V3
VCC3V3
VCC3V3
VCC3V3
VCC3V3
VCC3V3
R40
10R
GS1GS2
TCT
TCT
VCC3V3
L2
IND
UC
TO
R
C24
100uF
C23
100uF
1
2 3
4IC1
PC817DIP4
1
2 3
4IC2
PC817DIP4
1
2 3
4IC3
PC817DIP4
1
2 3
4IC4
PC817DIP4
1
2 3
4IC5
PC817DIP4
1
2 3
4IC6
PC817DIP4
1
2 3
4IC7
PC817DIP4
1
2 3
4IC8
PC817DIP4
B0
B1
B2
B3
C0
C1
C2
C3
1 2
3 4
5 6
7 8
R4 10
K
1 2
3 4
5 6
7 8
R41 10
K
1 2
3 4
5 6
7 8
R42 10
K
1 2
3 4
5 6
7 8
R43 10
K
1
2
P5
EXT12V
C25
100uF
AGND
VC
C12
V
12VCOM
12VCOM
12VCOM
EX
T12
V
B0OUT
B1OUT
B2OUT
B3OUT
C0OUT
C1OUT
C2OUT
C3OUT
B3OUTB2OUTB1OUTB0OUT
C0OUTC1OUTC2OUTC3OUT
12V
CO
M
C26
100uF
C27
0.1uF
AGND
AGND
12345678 9
10111213141516
P2
DC
-_D
C_C
ON
VE
RT
ER
PWR
GS
4G
S2
1 2D19
LED
1 2D18
LED
1 2D17
LED
1 2D16
LED
1 2D15
LED
1 2D14
LED
1 2D13
LED
1 2D12
LED
I11
I22
I33
I44
I55
I66
I77
I88
GND9 COM 10O8 11O7 12O6 13O5 14O4 15O3 16O2 17O1 18
U5
ULN2803
C28 0.1u
F
RELAY8
RELAY8
RELAY9
RELAY9
RELAY10RELAY11
RELAY10
RELAY11
RELAY15
RELAY15
RELAY14
RELAY14
RELAY13
RELAY13
RELAY12
RELAY12
RELAY8
RELAY10
RELAY11
RELAY15
RELAY14
RELAY13
RELAY12
1
2 3
4IC9
PC817DIP4
1
2 3
4IC10
PC817DIP4
1
2 3
4IC11
PC817DIP4
1
2 3
4IC12
PC817DIP4
1
2 3
4IC13
PC817DIP4
1
2 3
4IC14
PC817DIP4
1
2 3
4IC15
PC817DIP4
1
2 3
4IC16
PC817DIP4
1 2
3 4
5 6
7 8
R44 10
K
1 2
3 4
5 6
7 8
R45 10
K
1 2
3 4
5 6
7 8
R46 10
K
1 2
3 4
5 6
7 8
R47 10
K
AGND
12V
CO
M
12VCOM
AGND
12
34
56
78
R25
330R
RL9
RL10
RL11
RL12
RL13
RL14
RL15
RL16
D0
D1
D2
D3
E0
E1
E2
E3
D0
D1
D2
D3
E0
E1
E2
E3
D3OUT
D0OUT
D1OUT
D2OUT
E0OUT
E1OUT
E2OUT
E3OUT
D0OUTD1OUTD2OUTD3OUTE0OUTE1OUTE2OUTE3OUT
RELAY9
RL9
RL10RL11RL12RL13
RL14RL15
RL16
1 23 45 67 89 1011 12
P4
VCC3V3
IO0
IO1
IO2IO3
IO4IO5IO6
IO7
12
34
56
78
R29
330R
R510K
RG1
RG2
RG3
RG4
RG5
RG6
RG7
RA4
RA5
1 2
3 4
5 6
7 8
R32
10K
1 2
3 4
5 6
7 8
R33
10K
1 2
3 4
5 6
7 8
R34
10K
1 2
3 4
5 6
7 8
R35
10K
1 2D27
LED
1 2D26
LED
1 2D25
LED
1 2D24
LED
1 2D23
LED
1 2D22
LED
1 2D21
LED
1 2D20
LED
1
2 3
4IC17
PC817DIP4
1
2 3
4IC18
PC817DIP4
1
2 3
4IC19
PC817DIP4
1
2 3
4IC20
PC817DIP4
1
2 3
4IC21
PC817DIP4
1
2 3
4IC22
PC817DIP4
1
2 3
4IC23
PC817DIP4
1
2 3
4IC24
PC817DIP4
1 2
3 4
5 6
7 8
R36 10
K
1 2
3 4
5 6
7 8
R37 10
K
1 2
3 4
5 6
7 8
R38
10K
1 2
3 4
5 6
7 8
R39 10
K
I11
I22
I33
I44
I55
I66
I77
I88
GND9 COM 10O8 11O7 12O6 13O5 14O4 15O3 16O2 17O1 18
U6
ULN2803
C32 0.1u
F
1
2 3
4IC25
PC817DIP4
1
2 3
4IC26
PC817DIP4
1
2 3
4IC27
PC817DIP4
1
2 3
4IC28
PC817DIP4
1
2 3
4IC29
PC817DIP4
1
2 3
4IC30
PC817DIP4
1
2 3
4IC31
PC817DIP4
1
2 3
4IC32
PC817DIP4
1 2
3 4
5 6
7 8
R48
10K
1 2
3 4
5 6
7 8
R49
10K
1 2
3 4
5 6
7 8
R50
10K
1 2
3 4
5 6
7 8
R51
10K
AGND
12V
CO
M
AGND
PW
R_F
LAG
1 2
3 4
5 6
7 8
R52
10K
1 2
3 4
5 6
7 8
R53
10K
1 2D35
LED
1 2D34
LED
1 2D33
LED
1 2D32
LED
1 2D31
LED
1 2D30
LED
1 2D29
LED
1 2D28
LED
I11
I22
I33
I44
I55
I66
I77
I88
GND9 COM 10O8 11O7 12O6 13O5 14O4 15O3 16O2 17O1 18
U7
ULN2803
C33 0.1u
F
AGND
1 2
3 4
5 6
7 8
R54
10K
1 2
3 4
5 6
7 8
R55
10K
1 2
3 4
5 6
7 8
R19
680R
1 2
3 4
5 6
7 8
R21
680R
1 2
3 4
5 6
7 8
R27
680R
1 2
3 4
5 6
7 8
R28
680R
RL17
RL18
RL19
RL20
RL21
RL22
RL23
RL24
RL25
RL26
RL27
RL28
RL29
RL30
RL31
RL32
RL17RL18RL19
RL20RL21RL22RL23RL24RL25
RL26RL27RL28RL29RL30
RL31RL32
F0
F1
F2
F3
G0
G1
G2
G3
H0
H1
H2
H3
I0
I1
I2
I3
F0
F1
F2
F3
G0
G1
G2
G3
H0
H1
H2
H3
I0
I1
I2
I3
F0OUT
F1OUT
F2OUT
F3OUT
G0OUT
G1OUT
G2OUT
G3OUT
H0OUT
H1OUT
H3OUT
H2OUT
F0OUTF1OUTF2OUTF3OUTG0OUTG1OUTG2OUTG3OUT
H0OUTH1OUTH2OUTH3OUT
I0OUT
I0OUT
I1OUT
I2OUT
I3OUT
I1OUTI2OUTI3OUT
12VCOM
12VCOM
123
K24
123
K23
123
K22
123
K21
123
K20
123
K19
123
K18
123
K17
12 3
4 5
RL2
4
12 3
4 5
RL2
3
12 3
4 5
RL2
2
12 3
4 5
RL2
1
12 3
4 5
RL2
0
12 3
4 5
RL1
9
12 3
4 5
RL1
8
12 3
4 5
RL1
7
123
K32
123
K31
123
K30
123
K29
123
K28
123
K27
123
K26
123
K25
12 3
4 5
RL3
2
12 3
4 5
RL3
1
12 3
4 5
RL3
0
12 3
4 5
RL2
9
12 3
4 5
RL2
8
12 3
4 5
RL2
7
12 3
4 5
RL2
6
12 3
4 5
RL2
5
123
K40
123
K39
123
K38
123
K37
123
K36
123
K35
123
K34
123
K33
12 3
4 5
RL4
0
12 3
4 5
RL3
9
12 3
4 5
RL3
8
12 3
4 5
RL3
7
12 3
4 5
RL3
6
12 3
4 5
RL3
5
12 3
4 5
RL3
4
12 3
4 5
RL3
3
RELAY16RELAY17RELAY18RELAY19RELAY20RELAY21RELAY22RELAY23
RELAY17
RELAY18
RELAY19
RELAY20
RELAY21
RELAY22
RELAY23
RELAY16
RELAY17
RELAY18
RELAY19
RELAY20
RELAY21
RELAY22
RELAY23
RELAY16
RELAY24RELAY25RELAY26RELAY27RELAY28RELAY29RELAY30RELAY31
RELAY24
RELAY25
RELAY26
RELAY27
RELAY28
RELAY29
RELAY30
RELAY31
RELAY24
RELAY25
RELAY26
RELAY27
RELAY28
RELAY29
RELAY30
RELAY31
C30
100uF
C31
100uF
C29
100uF
EX
T-1
2V
R5610R C
34 0.1u
F
R5710R C
35 0.1u
F
R5810R C
36 0.1u
F
R5910R C
37 0.1u
F
R6010R C
38 0.1u
F
R6110R C
39 0.1u
F
R6210R C
40 0.1u
F
R6310R C
41 0.1u
F
R6410R C
42 0.1u
F
R6510R C
43 0.1u
F
R6610R C
44 0.1u
F
R6710R C
45 0.1u
F
R6810R C
46 0.1u
F
R6910R C
47 0.1u
F
R7110R C
49 0.1u
F
R7010R C
48 0.1u
F
R7210R C
50 0.1u
F
R7310R C
51 0.1u
F
R7410R C
52 0.1u
F
R7510R C
53 0.1u
F
R7610R C
54 0.1u
F
R7710R C
55 0.1u
F
R7810R C
56 0.1u
F
R7910R C
57 0.1u
F
R8710R C
65 0.1u
F
R8610R C
64 0.1u
F
R8510R C
63 0.1u
F
R8410R C
62 0.1u
F
R8310R C
61 0.1u
F
R8110R C
59 0.1u
F
R8210R C
60 0.1u
F
R8010R C
58 0.1u
F
RE
LA
Y8
RE
LA
Y9
RE
LA
Y10
RE
LA
Y11
RE
LA
Y12
RE
LA
Y13
RE
LA
Y14
RE
LA
Y15
RE
LA
Y16
RE
LA
Y17
RE
LA
Y18
RE
LA
Y19
RE
LA
Y20
RE
LA
Y21
RE
LA
Y22
RE
LA
Y23
RE
LA
Y24
RE
LA
Y25
RE
LA
Y26
RE
LA
Y27
RE
LA
Y28
RE
LA
Y29
RE
LA
Y30
RE
LA
Y31
C66
100uF
RJ1RJ2
RJ4RJ5RJ6RJ7
FWUP
VC
C3V
3
RJ0
RJ7
RJ6
RJ5
RJ2
RJ1
R610K
RJ4
RC0_FACT RST
FACTORY RESETFWUP
R2410KRC0_FACT RST VCC3V3
R8910K VCC3V3
R88R
FWUP
C67
100uF
C68
100uF
3V33V3
GND GND1357
0246
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOCNC
NOT POPUATED
NO
T P
OP
UA
TE
D
3 2 1 3 2 1
POWER SELECT
3 2 1 3 2 1
12V DC
+
-
12
3
D3
PE
SD
XS
2UQ
123
K9
123
K10
123
K11
123
K12
RL0
RL1
RL2
RL3
RL4
RL5
RL6
RL7 RL8
RL9
RL10
RL11
RL12
RL13
RL14
RL15
RL16
RL17
RL18
RL19
RL20
RL21
RL22
RL23
RL24
RL25
RL26
RL27
RL28
RL29
RL30
RL31