{"product_id":"eth002-16amp-2-channel-relay-module","title":"ETH002 - 16Amp, 2 Channel Relay Module","description":"\u003cp\u003eThe ETH002 provides two volt free contact relay outputs with a current rating of up to 16Amp each. The module is powered from a 12vdc supply which can be regulated or unregulated. The DC input jack is 2.1mm with positive core polarity, DC supplies are required to supply at least 500mA at 12vdc. The relays are SPCO (Single Pole Change Over) types. The normally open, normally closed and common pins are all available on the screw terminals. The ETH002 is fully compatible with the ETH-RLY02 and includes the legacy ETH-RLY02 command set.  \u003cbr\u003eThe ETH002 has additional features over the ETH-RLY02:\u003cbr\u003e1. Full Factory Reset, all ETH002 firmware and settings can be reset to the original state. \u003cbr\u003e2. Firmware updates, firmware in the ETH002 is fully updateable by re-flashing the board with our custom windows program. This will be made available in the event of feature updates. \u003cbr\u003e3. New Command Format, the new command format allows for consistent compatibility with future boards. New commands now allow for pulsed control of relays from 100mS to 25.5 seconds. \u003cbr\u003e4. TCP\/IP Password Protection, it is now possible to set a password for TCP\/IP protection. This is independent of the configuration password. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003cbr\u003e-40C to +70C\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLED Indication\u003cbr\u003e\u003c\/strong\u003eThe ETH002 provides a red LED mounted immediately next to each relay to indicate whether it is in a powered state (LED on), there is also two LED's mounted in the Ethernet connector which will flash with Ethernet traffic. Finally there is green power LED just above the processor.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eRelay Power Rating\u003c\/strong\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e\u003cbr\u003e\u003cspan\u003eIf the contact load voltage and current of the relay are in the region enclosed by the solid and dotted lines in the\u003c\/span\u003e\u003c\/span\u003e\u003cspan\u003e figure below, the relay can perform stable switching operation. If the relay is used at a voltage or current exceeding this region, the life of the contacts may be significantly shortened.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eA full datasheet for the relays used on the ETH002 is here: \u003c\/span\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/datasheets\/HF115FD.pdf\" target=\"_blank\"\u003eHF115FD datasheet\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eETH002 Command Set\u003cbr\u003e\u003c\/strong\u003eThe ETH002 has a new and enhanced command set designed to provide consistent expansion and new features. They are sent over TCP\/IP on port \u003cspan lang=\"EN-GB\"\u003e17494 (0x4456). This is the default port, it can be changed in the configuration settings.\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" cellpadding=\"2\" width=\"70%\" bgcolor=\"#ccffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd colspan=\"2\" width=\"5%\" align=\"center\" bgcolor=\"#66ffff\"\u003eCommand\u003c\/td\u003e\n\u003ctd rowspan=\"2\" width=\"95%\" align=\"center\" bgcolor=\"#66ffff\"\u003e\n\u003cp\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eAction\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2.5%\" align=\"center\" bgcolor=\"#66ffff\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003edec\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2.5%\" align=\"center\" bgcolor=\"#66ffff\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003ehex\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e16\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e10\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eGet Module Info, returns 3 bytes. Module Id (18 for ETH002), Hardware version, Firmware version.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e32\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e20\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eDigital active - follow with 1-2 to set relay on, then a time for pulsed output from 1-255 (100ms resolution) or 0 for permanent \u003cbr\u003eBoard will return 0 for success, 1 for failure \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e33\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e21\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eDigital inactive - follow with 1-2 to turn relay off, then a time for pulsed output from 1-255 (100ms resolution) or 0 for permanent \u003cbr\u003eBoard will return 0 for success, 1 for failure \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e35\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e23\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eDigital set outputs \u003cspan style=\"font-family: 'Times New Roman';\"\u003e-\u003c\/span\u003e the next single byte will set all relays states, All on = 255 (xxxxxx11) All off = 0\u003cbr\u003eBoard will return 0 for success, 1 for failure \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e36\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e24\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eDigital get outputs \u003cspan style=\"font-family: 'Times New Roman';\"\u003e- sends \u003c\/span\u003ea single byte back to the controller, bit high meaning the corresponding relay is powered\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e58\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e3A\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eASCII text commands (V4+) - allows a text string to switch outputs, see section below\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e119\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e77\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eGet serial number - Returns the unique 6 byte MAC address of the module.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e120\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e78\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eGet Volts - returns relay supply voltage as byte, 125 being 12.5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e121\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e79\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003ePassword entry - see TCP\/IP password\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e122\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e7A\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eGet unlock time - see section below \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e123\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e7B\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eLog out - immediately re-enables TCP\/IP password protection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cstrong\u003eDigital Active\/Inactive\u003cbr\u003e\u003c\/strong\u003eThis is a 3 byte command:\u003cbr\u003eThe first byte is the command, 32 (active means on) or 33 (inactive).\u003cbr\u003eSecond byte is the relay number (1-2).\u003cbr\u003eThird byte is the on time. Set this to zero for un-timed operation, or 1-255 for a pulse in 100mS intervals (100mS to 25.5 seconds). \u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003eFor example:\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e0x20 - turn the relay on command\u003cbr\u003e0x02 - relay 2\u003cbr\u003e0x32 (50) - 5 seconds (50 * 100ms) \u003cbr\u003eBoard will return 0 for success, 1 for failure \u003cbr\u003eNote - All bytes in a command must be sent in one TCP\/IP packet .\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTCP\/IP Password\u003cbr\u003e\u003c\/strong\u003eIf this option is enabled in the http configuration page then a password will be required to be entered before relay states can be changed. In the following example the password was set to \"apple\":\u003cbr\u003e\u003cbr\u003e0x79 - 1st byte in frame sent to ETH002 to indicate password entry\u003cbr\u003e'a' (0x61) - 2nd byte in frame (ASCII hex equivalent in brackets, full table is available at \u003ca href=\"http:\/\/www.asciitable.com\/\" target=\"_blank\"\u003ehttp:\/\/www.asciitable.com\/\u003c\/a\u003e)\u003cbr\u003e'p' (0x70) - 3rd byte in frame\u003cbr\u003e'p' (0x70) - 4th byte in frame\u003cbr\u003e'l' (0x6C) - 5th byte in frame\u003cbr\u003e'e' (0x65) - 6th byte in frame\u003cbr\u003e\u003cbr\u003eThese 6 bytes are then transmitted in the same transaction to the ETH002 and if the password is correct then 1 will transmitted back, a failure will send 2.\u003cbr\u003eThe board will now accept changes from the device that entered the password. If communication becomes idle for more than 30 seconds then the password protection is re-enabled. There is also a log-out command of 0x7B to enable the protection immediately.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eGet Unlock Time\u003cbr\u003e\u003c\/strong\u003eReturns TCP\/IP password protection status:\u003cbr\u003e0 - password protection is enabled and password entry is required before changes can be made\u003cbr\u003e1 to 30 - seconds until TCP\/IP password protection is re-enabled. All authorised commands set the timer back to 30 seconds (including this one). \u003cbr\u003e255 - TCP\/IP password is not enabled. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eASCII text commands DOA and DOI (V4+ firmware needed)\u003cbr\u003e\u003c\/strong\u003eFollowing customer request we have added a feature that allows the outputs to be switched using an ASCII string, devices like a Mobotix camera can now switch relays with simple strings.\u003cbr\u003eThe string for activating output1 for 5 seconds is formatted using comma seperated variables with the following syntax:\u003cbr\u003e\":DOA,1,50,password\"\u003cbr\u003eTo break this down \":\" (hex 3A) at the start of the string indicates that there is an ASCII message to follow, \"DOA\" is digital output active, \"1\" is the output number, then \"50\" for 5 seconds (50x100ms) and finally the TCP password (if applicable).\u003cbr\u003eIf I wanted to make output 2 inactive for 3 seconds I would use:\u003cbr\u003e\":DOI,2,30,password\" \u003cbr\u003eTo break this down \":\" (hex 3A) at the start of the string indicates that there is an ASCII message to follow, \"DOI\" is digital output inactive, \"2\" is the output number, then \"30\" for 3 seconds (30x100ms) and finally the TCP password (if applicable).\u003cbr\u003eAssuming no password is used the previous command would simply be:\u003cbr\u003e\":DOI,2,30\"\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTCP\/IP Legacy Commands\u003c\/strong\u003e\u003cbr\u003eThe ETH002 supports the full legacy ETH-RLY02 command set.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHTML commands DOAx and DOIx (V4+ firmware needed)\u003cbr\u003e\u003c\/strong\u003eAnother customer requested feature, allowing the digital outputs to be switched by the http get function such as used in some voice over ip phones (VOIP). You can use the http get function to write to the io.cgi file with the following syntax:\u003cbr\u003e192.168.0.200\/io.cgi?DOA2=10\u003cbr\u003eThis would use the default address (192.168.0.200) and make output 2 active for 1 second. \u003cbr\u003eAnother example would be to set output 1 inactive for 10 seconds:\u003cbr\u003e192.168.0.200\/io.cgi?DOI1=10\u003cbr\u003eYou can test these functions by typing them directly into the address bar of most internet browsers. Also be aware that you may need to disable http authentication in the http configuration if your control device does not support it.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIP Addresses \u0026amp; DHCP Servers\u003c\/strong\u003e\u003cbr\u003eThe easiest way to use the ETH002 is to connect it to a network with a DHCP server. In this case the ETH002 will have its IP address assigned automatically by the DHCP server.\u003c\/p\u003e\n\u003cp\u003eIf there is no DHCP server on the network, then a fixed IP address of 192.168.0.200 is used.  To control the ETH002 using this fixed IP address your computer MUST be on the same subnet. \u003cbr\u003eThe next step is to set your computers IP address to 192.168.0.x where x is in the range of 1 to 255 but not 200 (the ETH002 is there!) or any other used IP addresses on the network.\u003cbr\u003eThe subnet mask dictates what IP addresses the PC can communicate with, we set this to 255.255.255.0 so the PC can talk to any module with an IP address of 192.168.0.x\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAccess from the Internet\u003cbr\u003e\u003c\/strong\u003e\u003cspan\u003eThe ETH002 can be controlled over the internet almost as easily as on your local network. Your network will most likely be connected to the internet with a broadband router. This will provide NAT (Network Address Translation) and Firewall services. To access the ETH002 from the internet you will need to open up port \u003c\/span\u003e\u003cspan lang=\"EN-GB\"\u003e17494 (0x4456) to allow incoming TCP connections. The examples below use port 17498 because we had already changed it on the ETH002 from the shipped default port of 17494. Be careful not to open up any other ports. There are a wide variety of routers and we cannot give details for all of them. If in doubt ask your system administrator for assistance. \u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/eth002tech.htm\" target=\"_blank\"\u003eMore information\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169874952537,"sku":"807988\/A","price":59.85,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890041733465,"sku":"807988","price":59.85,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/eth002-400.png?v=1695766676","url":"https:\/\/xernuqvalzi.pro\/products\/eth002-16amp-2-channel-relay-module","provider":"Robot Italy","version":"1.0","type":"link"}