{"product_id":"usb-rly16l-16amp-8-channel-relay-module","title":"USB-RLY16L - 16Amp, 8 Channel Relay Module","description":"\u003cp\u003e\u003cstrong\u003eOverview\u003c\/strong\u003e\u003cbr\u003eA low power version of the USB-RLY16 module, the USB-RLY16L is powered solely from the USB bus and provides eight volt free contact relay outputs with a current rating of up to 16Amp each.  The relays are SPCO (Single Pole Change Over) types and provide position 0, position 1 and common pins (latching relays and have no \"normally open\" or \"normally closed\" contacts) on the screw terminals labeled as 0, C and 1 accordingly. The relays will also retain their state in the absence of power. \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 USB-RLY16L provides a red LED mounted immediately next to each relay to indicate whether it is in a position 1 state (LED on) or position 0 state (LED off).  \u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eRelay power rating\u003c\/strong\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e\u003cbr\u003eIf the relay is used at a voltage or current exceeding\u003c\/span\u003e \u003cspan style=\"font-family: 'Times New Roman';\"\u003ethis specification, the life of the contacts may be significantly shortened.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/rly16lcontact.gif\" border=\"0\" alt=\"\" width=\"459\" height=\"475\"\u003e\u003c\/p\u003e\n\u003cp\u003eA full datasheet for the relays used on the USB-RLY16L is here: \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/datasheets\/HFE20_en.pdf\" target=\"_blank\"\u003eHFE20 datasheet\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFirst Step - Install the Driver\u003c\/strong\u003e\u003cbr\u003eThe USB-RLY16L module uses the Microchip PIC18F14K50 to handle all the USB protocols. Before using the USB-RLY16L you will need to download the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb-devtech-inf.zip\" target=\"_blank\"\u003eDevantech inf files\u003c\/a\u003e and unzip them into a temporary folder. Connect the USB-RLY16L and windows will detect it and ask for the drivers. Point windows to the inf folder and it will install the driver. The USB-RLY16L will now appear as a com port.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWhich COM port?\u003cbr\u003e\u003c\/strong\u003eAfter installing the drivers, and plugging in the USB-RLY16L module to a spare USB port, you will want to know which COM port it has been assigned to. This will vary from system to system depending on how many COM ports you currently have installed. To find out where it is, right click on your \"My Computer\" desktop icon and select the \"Device Manager\" tab. Now scroll down and open the \"Ports (COM \u0026amp; LPT)\" tab. You should see the USB serial port listed - COM2 in the example below. If you want to change the COM port number - just right click on it, select properties, select advanced and select the COM port number from the available list. The COM port may be left at the default baud rate etc, because they are not actually used - there is a direct USB connection into the processor.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/win98.dm.jpg\" border=\"0\" alt=\"\" width=\"410\" height=\"448\"\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommands\u003c\/strong\u003e\u003cbr\u003eThe USB-RLY16L operates with an easy to use command set as described in the table below. Most commands are only a single byte and if applicable the USB-RLY16L will automatically send its response. The only exception to this being the \"Set relay states\" command which requires an additional desired states byte to be sent immediately after the command byte. \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\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e90\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e5A\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eGet software version - returns 2 bytes, the first being the Module ID which is 15, followed by the software version\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e91\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e5B\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\n\u003cp\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eGet relay states - sends \u003c\/span\u003ea single byte back to the controller, bit high meaning the corresponding relay is in position 1\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e92\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e5C\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\n\u003cspan style=\"font-family: 'Times New Roman';\"\u003eSet relay states -\u003c\/span\u003e the next single byte will set all relays states, All in position 1 = 255 (11111111) All in position 0 = 0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e93\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e5D\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003eGet DC input voltage - returns the supply voltage as byte, this is fixed at 50 meaning 5.0V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e100\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e64\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eAll relays to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e101\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e65\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 1 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e102\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e66\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 2 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e103\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e67\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 3 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e104\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e68\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 4 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e105\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e69\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 5 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e106\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e6A\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 6 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e107\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e6B\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 7 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e108\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e6C\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 8 to position 1\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e110\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e6E\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eAll relays to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e111\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e6F\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 1 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e112\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e70\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 2 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e113\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e71\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 3 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e114\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e72\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 4 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e115\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e73\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 5 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e116\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e74\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 6 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e117\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e75\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 7 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e118\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e76\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003eRelay 8 to position 0\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eBoard dimensions\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/USB-RLY16Ldimension.gif\" border=\"0\" alt=\"\" width=\"700\" height=\"424\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTest program and example source code\u003cbr\u003e\u003c\/strong\u003eTo get the USB-RLY16L up and running in the minimum amount of time we have put together an example program to demonstrate the functionality of the module.  \u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/USB-RLY16Ltest.png\" border=\"0\" alt=\"\" width=\"330\" height=\"270\"\u003e\u003c\/p\u003e\n\u003cp\u003eVisual studio express examples\u003cbr\u003e\u003cbr\u003eVisual C# express\u003cbr\u003eThe test program is available as a visual c# express built exe file here \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/RelayModulesSetup.zip\" target=\"_blank\"\u003eRelayModulesSetup.zip\u003c\/a\u003e or as visual c# express project here \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/RelayModulesSource.zip\" target=\"_blank\"\u003eRelayModulesSource.zip\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eVisual studio express is provided free from Microsoft here: \u003ca href=\"http:\/\/www.microsoft.com\/exPress\/download\/\" target=\"_blank\"\u003ehttp:\/\/www.microsoft.com\/exPress\/download\/\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169878458713,"sku":"807332\/A","price":83.98,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890042487129,"sku":"807332","price":83.98,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/usb-rly16l2.png?v=1695766761","url":"https:\/\/xernuqvalzi.pro\/products\/usb-rly16l-16amp-8-channel-relay-module","provider":"Robot Italy","version":"1.0","type":"link"}