{"title":"Devantech","description":"","products":[{"product_id":"usb-rly82-2-channel-usb-relay","title":"USB-RLY82 - 2 channel USB relay","description":"\u003cp\u003eThe USB-RLY82 provides two volt free contact relay outputs with a current rating of up to 1Amp each. It is powered from any standard USB bus and has an exceptionally low maximum current consumption of approx. 90mA with all relays on. The relays are SPCO (Single Pole Change Over) types. The normally open, normally closed and common pins are all available on the screw terminals. Eight inputs can either be used for analogue or digital requirements, the 10bit ADC (0-1023 result) can be configured to scale to the 5V USB supply, 4.096V or 2.048V references\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eRelays\u003c\/strong\u003e\u003cspan\u003e - 2\u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eAnalogue\/digital inputs \u003c\/strong\u003e\u003cspan\u003e- 8\u003c\/span\u003e\u003cstrong\u003e\u003cbr\u003ePower\u003c\/strong\u003e\u003cspan\u003e - Powered from standard USB bus \u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eControl interface\u003c\/strong\u003e\u003cspan\u003e - USB \u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eRelay current\u003c\/strong\u003e\u003cspan\u003e - Up to 1Amp @30vdc or 60vac. 500mA@110vac. 250mA@250vac \u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eConnections\u003c\/strong\u003e\u003cspan\u003e - Screw Terminals for N\/O N\/C and Common contacts\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eFull \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb-rly82.pdf\" target=\"_blank\"\u003eUSB-RLY82 Documentation\u003c\/a\u003e \u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eExamples:\u003cbr\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb-rly82_testsc.zip\" target=\"_blank\"\u003e\u003cstrong\u003eVisual C#\u003c\/strong\u003e\u003c\/a\u003e - Full demo program to switch relays and read\/configure inputs\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169862238553,"sku":"808742\/A","price":29.3,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890035442009,"sku":"808742","price":29.3,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/usb-rly82-1.jpg?v=1695766121"},{"product_id":"eth008-8-relay-outputs-at-16a","title":"ETH008 - 8 relay outputs at 16A","description":"\u003cp\u003eE' disponibile la nuova versione: \u003c\/p\u003e\n\u003ch2 class=\"product-name\"\u003e\u003ca title=\"ETH008-B - 8 relay outputs at 16A \" href=\"https:\/\/www.xernuqvalzi.pro\/it\/eth008-8-relay-outputs-at-16a-1.html\"\u003eETH008-B - 8 relay outputs at 16A \u003c\/a\u003e\u003c\/h2\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eOverview\u003cbr\u003e\u003c\/strong\u003eThe ETH008 provides eight 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 ETH008 is fully compatible with the ETH-RLY16 and includes the legacy ETH-RLY16 command set.  \u003cbr\u003eThe ETH008 has additional features over the ETH-RLY16:\u003cbr\u003e1. Full Factory Reset, all ETH008 firmware and settings can be reset to the original state. \u003cbr\u003e2. Firmware updates, firmware in the ETH008 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 \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 ETH008 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.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/eth008.pdf\" target=\"_blank\"\u003eDatasheet\u003c\/a\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eRelay Power Rating\u003c\/strong\u003e\u003cspan style=\"font-family: 'Times New Roman';\"\u003e\u003cbr\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 \u003cspan style=\"font-family: 'Times New Roman';\"\u003efigure below, the relay can perform stable switching operation. If the relay is used at a voltage or current exceeding\u003c\/span\u003e \u003cspan style=\"font-family: 'Times New Roman';\"\u003ethis region, the life of the contacts may be significantly shortened.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e load type \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Typical applications \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Rating \u003c\/td\u003e\n\u003ctd rowspan=\"6\" align=\"center\"\u003eMax DC load capacity\n\u003cp\u003e\u003cimg style=\"border: 0px;\" src=\"http:\/\/www.robot-electronics.co.uk\/images\/wpe1.gif\" alt=\"\" width=\"240\" height=\"222\"\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e AC1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Non inductive or\u003cbr\u003e slightly inductive loads \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e 16A @ 250V AC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e AC15\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Control of \u003cbr\u003e electromagnetic load \u003cbr\u003e (\u0026gt;72VA)\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e 3A @ 120V AC  \u003cbr\u003e 1.5A @ 240V AC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e AC3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Control of motor \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e 750W\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e DC1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Non inductive or\u003cbr\u003e slightly inductive loads\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e 16A @ 24V DC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e DC13\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Control of electromagnetic \u003cbr\u003e loads\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e 0.22A @ 120V DC\u003cbr\u003e 0.1A @ 250V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eA full datasheet for the relays used on the ETH008 is here: \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\u003eFirst Test\u003c\/strong\u003e\u003cbr\u003eHaving plugged in your 12vdc power supply and Ethernet connection, start up your web browser and type \u003cstrong\u003ehttp:\/\/eth008\u003c\/strong\u003e into the address bar, please note this only works in windows. You will be prompted for a password as shown below:\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"0\" cellspacing=\"0\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd valign=\"middle\"\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008logon.png\" border=\"0\" alt=\"\" width=\"326\" height=\"354\"\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd\u003e  The default login is:\u003cbr\u003e Username: admin\u003cbr\u003e Password: password\u003cbr\u003e\u003cbr\u003e The ability to change these\u003cbr\u003e settings is shown in the\u003cbr\u003e configuration section \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eYou should now see the following web page:\u003c\/p\u003e\n\u003cp\u003e\u003cimg style=\"border: 0px;\" src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008web1.png\" alt=\"\" width=\"400\" height=\"187\"\u003e\u003c\/p\u003e\n\u003cp\u003eThis web page will allow you to switch the relays on and off by clicking the relay buttons (the red\/gray circles). It also contains a link to this technical documentation page.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eConfiguration\u003cbr\u003e\u003c\/strong\u003eBy clicking the configuration link it's possible to configure the ETH008 IP address and subnet mask together with the ability to set a password for entry to control screens. The ETH008 now also offers the option to set a password that will be required to change any of the relay states using TCP IP commands, this is explained in the TCP\/IP password section.\u003cbr\u003eAll settings are saved to memory so be careful to remember the username and password! Default password settings are shown in the picture below.  \u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008config.png\" border=\"0\" alt=\"\" width=\"523\" height=\"419\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFactory Reset\u003cbr\u003e\u003c\/strong\u003eShould it be necessary to reset the ETH008 to its shipped condition then the end two contacts of PL2 (the row of 5 holes near the large chip) on the side nearest the Ethernet connection must be shorted together at board power up. The green LED should then flash as the settings are reset, please wait until the LED finishes flashing and do not remove power during this period. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFirmware Updates\u003c\/strong\u003e\u003cbr\u003eThe ETH008 is fully updateable by re-flashing the board using our custom windows program. This will be made available in the event of feature updates. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eETH008 Command Set\u003cbr\u003e\u003c\/strong\u003eThe ETH008 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 (19 for ETH008), 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-8 to set relay on, then a time for pulsed output from 1-255 (100ms resolution) or 0 for permanent \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-8 to turn relay off, then a time for pulsed output from 1-255 (100ms resolution) or 0 for permanent \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 (11111111) All off = 0\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\"\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-8).\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\u003e0x03 - relay 3\u003cbr\u003e0x32 (50) - 5 seconds (50 * 100ms) \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 ETH008 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 ETH008 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\u003eTCP\/IP Legacy Commands\u003c\/strong\u003e\u003cbr\u003eThe ETH008 supports the full legacy ETH-RLY16 command set.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIP Addresses \u0026amp; DHCP Servers\u003c\/strong\u003e\u003cbr\u003eThe easiest way to use the ETH008 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 ETH008 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 ETH008 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\u003cbr\u003e\u003cbr\u003eThe default gateway is likely to be the IP address that the internet connection is located at and the DNS server can be either your router address or google provide a DNS service at 8.8.8.8.. \u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"0\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\u003ctable border=\"0\" cellspacing=\"5\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd valign=\"middle\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/LAC-windows7.png\" border=\"0\" alt=\"\" width=\"378\" height=\"474\"\u003e\u003c\/td\u003e\n\u003ctd valign=\"middle\"\u003e\n\u003cp\u003eThis image is for a PC running Windows 7.\u003cbr\u003eTo get to the TCP\/IP properties screen, go to:\u003cbr\u003eControl Panel-\u0026gt;Network and Sharing Center-\u0026gt;Local Area Connection-\u0026gt;Properties.\u003cbr\u003eSelect Internet Protocol Version 4(TCP\/IPv4) from the scroll box and click Properties.\u003c\/p\u003e\n\u003cp\u003eThat gets you to the dialog box shown left.\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\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\u003eTest program and example source code\u003cbr\u003e\u003c\/strong\u003eTo get the ETH008 up and running in the minimum amount of time we have put together an example program to demonstrate the functionality of the module.  We provide the full source code for this program. You may examine this code to see how it works or use it as a starting point for your own application.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008test.png\" border=\"0\" alt=\"\" width=\"343\" height=\"289\"\u003e\u003c\/p\u003e\n\u003cp\u003eVisual studio express C# examples \u003cbr\u003eThe test program is available as Visual C# express ready built installation files \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/eth008inst.zip\"\u003ehere\u003c\/a\u003e,  or as Visual C# express project with source files \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/eth008sc.zip\"\u003ehere\u003c\/a\u003e.\u003cbr\u003eVisual studio express is provided free from Microsoft: \u003ca href=\"http:\/\/www.microsoft.com\/exPress\/download\/\"\u003ehttp:\/\/www.microsoft.com\/exPress\/download\/\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAccess from the Internet\u003cbr\u003e\u003c\/strong\u003eThe ETH008 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 ETH008 from the internet you will need to open up port \u003cspan lang=\"EN-GB\"\u003e17494 (0x4456) to allow incoming TCP connections. 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. The following shows how to open up a port on a Netgear DG834 router. \u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008service.png\" border=\"0\" alt=\"\" width=\"333\" height=\"232\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan lang=\"EN-GB\"\u003e After logging on to your routers setup page, the first thing to do is create a new service. Click on the \"Services\" menu then \"Add Custom Service\". Enter a name for the service, select TCP and enter the ETH008's port address for both the start and finish ports. Click \"Apply\".\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008inbound.png\" border=\"0\" alt=\"\" width=\"371\" height=\"323\"\u003e\u003c\/p\u003e\n\u003cp\u003eNow go to the \"Firewall Rules\" menu and click  \"Add\" in the Inbound services section. Select the ETH008 service and ALLOW always. The \"Send to LAN Server\" IP address is the ETH008's IP address, 192.168.0.99 in the example above but check what it is on your network. Click \"Apply\" and that's it. The ETH008 is now accessible over the internet. Before you close the routers setup pages, go to the \"Router Status\" menu and make a note of  its ADSL port IP address. This is the routers internet facing IP address.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008test2.png\" border=\"0\" alt=\"\" width=\"349\" height=\"295\"\u003e\u003c\/p\u003e\n\u003cp\u003eTo test this you will need a computer that has its own internet connection and is NOT connected to the same network as the ETH008. Download and run the test program above and select Custom IP. In the pop-up box enter your routers internet facing IP address. Click on \"Try IP\" and it will connect you to the ETH008 just as if it were on your own network.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAndroid \u0026amp; iPhone Apps\u003c\/strong\u003e.\u003cbr\u003eWe have a free app \u003cstrong\u003eIO network\u003c\/strong\u003e available for Android and iPhone to remotely control your relays, download from Google Play or iTunes. Search for \"Devantech\" and you will find the app.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eBoard dimensions\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg style=\"border: 0px;\" src=\"http:\/\/www.robot-electronics.co.uk\/images\/eth008dim.png\" alt=\"\" width=\"400\" height=\"277\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169864434009,"sku":"807486\/A","price":84.79,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035605849,"sku":"807486","price":84.79,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/eth008-400.png?v=1695766160"},{"product_id":"usb-iss-enhanced-usb-i2c-module","title":"USB-ISS - Enhanced USB-I2C Module","description":"\u003cp\u003e\u003cbr\u003e\nThe USB-ISS  Multifunction USB Communications Module provides a complete interface between your PC and the I2C bus, SPI bus, a Serial port and general purpose Analogue Input or Digital I\/O. The module is powered from the USB. Operating voltage is selectable between 3.3v and 5v. and can supply up to 80mA at 5v for external circuitry from a standard 100mA USB port.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eDocuments and Downloads\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n    \u003cli\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb-devtech-inf.zip\" target=\"_blank\"\u003eDrivers\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/usb_iss_tech.htm\"\u003eOn-Line Manual\u003c\/a\u003e \u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/usb_iss_i2c_tech.htm\"\u003eI2C mode Manual\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/usb_iss_spi_tech.htm\"\u003eSPI mode Manual\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/usb_iss_serial_tech.htm\"\u003eSerial mode Manual\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/usb_iss_io_tech.htm\"\u003eGPIO mode Manual\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/usb_iss_boot.htm\"\u003eBootloader manual\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/usbiss.zip\"\u003eSoftware\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/USB-ISS%20Test.zip\"\u003eSoftware (source)\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169864827225,"sku":"785012\/A","price":27.15,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035540313,"sku":"785012","price":27.15,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/785012_6.jpg?v=1695766186"},{"product_id":"cmps12-tilt-compensated-compass","title":"CMPS12 - Tilt compensated compass","description":"\u003cp\u003eThe CMPS12 is our 4th generation tilt compensated compass. Employing a 3-axis magnetometer, a 3-axis gyro and a 3-axis accelerometer. At the core of the module is the superb BNO055 runningalgorithms to remove the errors caused by tilting of the PCB.Power supply requirements are flexible, you can feed between 3.3 - 5v and the module draws a nominal18mA of current. A choice of serial or I2C interfaces can be used for communication.\u003c\/p\u003e\n\u003cp\u003eOverview of outputs\u003c\/p\u003e\n\u003cp\u003eHeading, 16 bit – 2 outputs, one calculated by Bosch and one by us\u003cbr\u003eHeading, 8 bit – 0-255 scaled for simpler requirements\u003cbr\u003ePitch – +\/- 0-90° or +\/- 0-180°\u003cbr\u003eRoll – +\/- 0-90°Temperature – current temperature of the BNO055 in °c\u003cbr\u003eRaw sensor outputs – 3 x 16 bit integers for each of the Magnetometer, accelerometer and gyro\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eFull \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/cmps12.pdf\" target=\"_blank\"\u003eTechnical Data\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cspan\u003e, and the \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/cmpsqa.htm\" target=\"_blank\"\u003eCompass FAQ\u003c\/a\u003e \u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eWe also have a free design for a 3d printed tower \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/cmps-tower.zip\"\u003e\u003cspan\u003e\u003cstrong\u003ehere\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eExamples:\u003cspan\u003e\u003cstrong\u003e\u003cbr\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/i2c-tutorial\" target=\"_self\"\u003e\u003cspan\u003eI2C bus\u003c\/span\u003e\u003cspan\u003e tutor\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e\u003c\/strong\u003e\u003c\/span\u003e - general I2C guide\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/arduino_examples.htm\"\u003e\u003cstrong\u003eArduino\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - I2C interface or a serial interface and displaying data via the serial monitor\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/ATMEGA32_examples.htm\"\u003e\u003cstrong\u003eATMEGA32\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - reading the result and displaying on a LCD03\/LCD05\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/pic18_examples.htm\" target=\"_self\"\u003ePIC18F4410\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e - reading the result and displaying on a LCD03\/LCD05\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/pic24_examples.htm\" target=\"_self\"\u003e\u003cstrong\u003ePIC24FJ16GA002\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - reading the result and displaying on a LCD03\/LCD05\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/picaxe_examples.htm\" target=\"_self\"\u003e\u003cstrong\u003ePicaxe18x\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - I2C communication example\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/raspberry_pi_examples.htm\" target=\"_self\"\u003e\u003cstrong\u003e\u003cspan\u003eRaspberry Pi\u003c\/span\u003e\u003c\/strong\u003e \u003c\/a\u003e\u003c\/span\u003e- using I2C communication\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169866563929,"sku":"809213\/A","price":40.26,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035638617,"sku":"809213","price":40.26,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/cmps12.jpg?v=1695766262"},{"product_id":"100mm-diameter-wheel-with-5mm-hub","title":"100mm diameter wheel with 5mm hub","description":"\u003cbr\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169866662233,"sku":"WHEEL100\/A","price":13.35,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035704153,"sku":"WHEEL100","price":13.35,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/wheel1_5.jpg?v=1695766296"},{"product_id":"16amp-8-channel-usb-relay-module","title":"USB-RLY16-B - 8 x 16A USB relay","description":"\u003cdiv style=\"background-color: rgb(255, 255, 255); font-family: Arial, Verdana, sans-serif; font-size: 12px; padding: 5px; margin: 0px;\"\u003e\n\u003cp align=\"left\"\u003e\u003cbr\u003eThe USB-RLY16 provides eight volt free contact relay outputs with a current rating of up to 16Amp each. The processor is powered and instructed from any standard USB bus and the relay power is obtained by the DC power input adaptor. 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.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003cbr\u003e-40C to +70C\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eLED indication\u003cbr\u003e\u003c\/b\u003eThe USB-RLY16 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 which will flash with USB transactions to and from the module, green indicating reception of data from the PC and yellow the transmission of data to the PC. Finally there is red power LED mounted near to the USB connector. \u003cbr\u003e\u003cbr\u003e\u003cb\u003eRelay power rating\u003c\/b\u003e\u003cspan style=\"font-family: Times New Roman;\"\u003e\u003cbr\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 \u003cspan style=\"font-family: Times New Roman;\"\u003efigure below, the relay can perform stable switching operation. If the relay is used at a voltage or current exceeding\u003c\/span\u003e \u003cspan style=\"font-family: Times New Roman;\"\u003ethis region, the life of the contacts may be significantly shortened.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e \u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable border=\"1\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e load type \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Typical applications \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Rating \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\" rowspan=\"6\"\u003eMax DC load capacity\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/wpe1.gif\" alt=\"\" border=\"0\" width=\"435\" height=\"402\"\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e AC1\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Non inductive or\u003cbr\u003e slightly inductive loads \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 16A @ 250V AC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e AC15\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Control of \u003cbr\u003e electromagnetic load \u003cbr\u003e (\u0026gt;72VA)\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 3A @ 120V AC  \u003cbr\u003e 1.5A @ 240V AC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e AC3\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Control of motor \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 750W\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e DC1\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Non inductive or\u003cbr\u003e slightly inductive loads\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 16A @ 24V DC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e DC13\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Control of electromagnetic \u003cbr\u003e loads\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 0.22A @ 120V DC\u003cbr\u003e 0.1A @ 250V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cmeta charset=\"utf-8\"\u003eA full datasheet for the relays used on the USB-RLY16-B is here: \u003ca rel=\"noopener\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/HF115FD.pdf\" target=\"_blank\"\u003eHF115FD datasheet\u003c\/a\u003e\u003cbr\u003e\n\u003cp align=\"center\"\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eBoard dimensions\u003c\/b\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/USB-RLY16dimension.gif\" alt=\"\" border=\"0\" width=\"625\" height=\"401\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eTest program and example source code\u003c\/b\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eTo get the USB-RLY16 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 align=\"center\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/USB-RLY16test.gif\" alt=\"\" border=\"0\" width=\"429\" height=\"367\"\u003e\u003c\/p\u003e\n\u003cp\u003eFull \u003cspan\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/www.robot-electronics.co.uk\/files\/usb-rly16b.pdf\"\u003eUSB-RLY16-B Documentation\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cstrong\u003eExamples:\u003c\/strong\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan\u003eLinux\u003c\/span\u003e\u003cbr\u003e\u003ca href=\"https:\/\/www.robot-electronics.co.uk\/files\/usb-rly16-linux-mono.zip\"\u003e\u003cspan\u003e\u003cstrong\u003eLinux with Mono and\u003c\/strong\u003e\u003cstrong\u003e Xbuild (C#\u003c\/strong\u003e)\u003c\/span\u003e\u003c\/a\u003e - Simple example of switching the relays\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eMac\u003cbr\u003e\u003ca href=\"https:\/\/www.robot-electronics.co.uk\/files\/usb-rly16-mac-xcode.zip\"\u003e\u003cstrong\u003eXcode\u003c\/strong\u003e\u003c\/a\u003e - Simple example of switching the relays\u003cbr\u003e\u003cbr\u003eMicrosoft Windows\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.robot-electronics.co.uk\/files\/usb-rly16-cs.zip\"\u003e\u003cstrong\u003eVisual\u003c\/strong\u003e\u003cstrong\u003e C#\u003c\/strong\u003e\u003cstrong\u003e Express\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - Simple example of switching the relays\u003cbr\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.robot-electronics.co.uk\/files\/usb-rly16-vb.zip\"\u003e\u003cstrong\u003eVisual\u003c\/strong\u003e\u003cstrong\u003e Basic\u003c\/strong\u003e\u003cstrong\u003e Express\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - Simple example of switching the relays\u003c\/p\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169866727769,"sku":"USB-RLY16\/A","price":83.2,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890035736921,"sku":"USB-RLY16","price":83.2,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/USB-RLY16-B2.png?v=1729161887"},{"product_id":"2-channel-usb-relay-module","title":"2 Channel USB Relay Module","description":"\u003cdiv style=\"background-color: #ffffff; font-family: Arial, Verdana, sans-serif; font-size: 12px; padding: 5px; margin: 0px;\"\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.xernuqvalzi.pro\/it\/usb-rly02-sn-2-x-16a-usb.html\"\u003ePRODOTTO FUORI PRODUZIONE, SOSTITUITO DALLA NUOVA VERSIONE\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cbr\u003e The USB-RLY02 provides two volt free contact relay outputs with a current rating of up to 16Amp each. The USB-RLY02 is powered and instructed from any standard USB bus and does not require any additional power. The relays are SPCO (Single Pole Change Over) types. The normally open, normally closed and common pins are all available on the screw terminals.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLED indication\u003cbr\u003e \u003c\/strong\u003eThe USB-RLY02 provides a red LED mounted immediately next to each relay to indicate whether it is in a powered state (LED on). \u003cbr\u003e \u003cbr\u003e \u003cstrong\u003eRelay power rating\u003c\/strong\u003e\u003cspan style=\"font-family: \" times new roman\u003e\u003cbr\u003e If the contact load voltage and current of the relay are in the region below the solid line in the\u003c\/span\u003e \u003cspan style=\"font-family: \" times new roman\u003efigure below, the relay can perform stable switching operation. If the relay is used at a voltage or current exceeding\u003c\/span\u003e \u003cspan style=\"font-family: \" times new roman\u003ethis region, the life of the contacts may be significantly shortened.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e load type \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Typical applications \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Rating \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" rowspan=\"6\" align=\"center\"\u003eMax DC load capacity\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/wpe1.gif\" border=\"0\" alt=\"\" width=\"435\" height=\"402\"\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e AC1\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Non inductive or\u003cbr\u003e  slightly inductive loads \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 16A @ 250V AC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e AC15\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Control of \u003cbr\u003e  electromagnetic load \u003cbr\u003e  (\u0026gt;72VA)\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 3A @ 120V AC  \u003cbr\u003e  1.5A @ 240V AC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e AC3\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Control of motor \u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 750W\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e DC1\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Non inductive or\u003cbr\u003e  slightly inductive loads\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 16A @ 24V DC \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e DC13\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e Control of electromagnetic \u003cbr\u003e  loads\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" align=\"center\"\u003e 0.22A @ 120V DC\u003cbr\u003e  0.1A @ 250V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eA full datasheet for the relays used on the RLY02 is here: \u003ca href=\"http:\/\/www.relpol.pl\/servlet\/getproduct?ID=20\" target=\"_blank\"\u003eRM85 datasheet\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFirst Step - Install the Driver\u003c\/strong\u003e\u003cbr\u003e The USB-RLY02 module uses the Microchip PIC24FJ32GB002 to handle all the USB protocols. Before using the USB-RLY02, 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 RLY02 and windows will detect it and ask for the drivers. Point windows to the inf folder and it will install the driver. The RLY02 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-RLY02 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\u003e The USB-RLY02 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-RLY02 will automatically send its response. The only exception to this being the \"Set relay states\" command which requires and 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 style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" colspan=\"2\" width=\"5%\" align=\"center\" bgcolor=\"#66ffff\"\u003eCommand\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" 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 style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2.5%\" align=\"center\" bgcolor=\"#66ffff\"\u003e\u003cspan style=\"font-family: \" times new roman\u003edec\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" 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 style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e90\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e5A\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003eGet software version - returns 2 bytes, the first being the Module ID which is 10, followed by the software version\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e91\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e5B\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" 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 powered\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e92\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e5C\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" 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 on = 3 (xxxxxx11) All off = 0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e100\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e64\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: \" times new roman\u003eAll relays on\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e101\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e65\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: \" times new roman\u003eTurn relay 1 on\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e102\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e66\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: \" times new roman\u003eTurn relay 2 on\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e110\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e6E\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: \" times new roman\u003eAll relays off\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e111\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e6F\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: \" times new roman\u003eTurn relay 1 off\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"3%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e112\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"2%\" align=\"center\" bgcolor=\"#ffff00\"\u003e\u003cspan style=\"font-family: \" times new roman\u003e70\u003c\/span\u003e\u003c\/td\u003e\n\u003ctd style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px;\" width=\"95%\" align=\"center\"\u003e\u003cspan style=\"font-family: \" times new roman\u003eTurn relay 2 off\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\u003cstrong\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/Rly02_usb.png\" border=\"0\" alt=\"\" width=\"743\" height=\"502\"\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTest program\u003cbr\u003e \u003c\/strong\u003eTo get the USB-RLY02 up and running in the minimum amount of time we have put together a \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/relay_module_test.zip\" target=\"_blank\"\u003eRelayTest\u003c\/a\u003eprogram to demonstrate the functionality of the module.  \u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/RelayTest.png\" border=\"0\" alt=\"\" width=\"268\" height=\"270\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169866793305,"sku":"USB-RLY02\/A","price":34.81,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890035769689,"sku":"USB-RLY02","price":34.81,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/usb-rly02_5.jpg?v=1695766309"},{"product_id":"usb-i2c-module","title":"USB - I2C Module","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003eThe\u003cstrong\u003e USB-I2C\u003c\/strong\u003e module provides a  complete interface between your PC and the I2C bus. The module is self powered  from the USB cable and can supply up to 70mA at 5v for external circuitry from a  standard 100mA USB port. The module is an I2C master only, not a slave.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eFirst Step - Get The Drivers\u003c\/strong\u003e\u003cbr\u003e\nThe USB-I2C module uses the \u003ca href=\"http:\/\/www.ftdichip.com\/Products\/FT232R.htm\"\u003e\u003cstrong\u003eFTDI  FT232R USB chip\u003c\/strong\u003e\u003c\/a\u003e to handle all the USB protocols. The documentation provided by FTDI  is very complete,  and is not duplicated here. Before using the USB-I2C, you will need to  install FTDI's Virtual COM Port ( VCP ) Drivers. These drivers appear to the  system as an extra Com Port ( in addition to any existing hardware Com Ports ).  Application software accesses the USB device in the same way as it would access  a standard Windows Com Port using the Windows VCOMM API calls or by using a Com  Port  Library. Drivers are available for Windows, Apple, Linux and  Open BSD systems directly from the \u003ca target=\"_blank\" href=\"http:\/\/www.ftdichip.com\"\u003e\u003cstrong\u003eFTDI  website\u003c\/strong\u003e\u003c\/a\u003e. You should get and install the drivers now, before you connect the USB-I2C  to your computer. The Drivers page is \u003ca target=\"_blank\" href=\"http:\/\/www.ftdichip.com\/FTDrivers.htm\"\u003e\u003cstrong\u003ehere\u003c\/strong\u003e\u003c\/a\u003e. \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eWhich COM port?\u003cbr\u003e\n\u003c\/strong\u003eAfter installing the drivers, and plugging in the USB-I2C 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 should be set up for 19200 baud, 8 data bits, no parity and two stop  bits. \u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg width=\"410\" height=\"448\" border=\"0\" src=\"\/images\/win98.dm.jpg\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eConnections\u003c\/strong\u003e\u003cbr\u003e\nThe diagram below shows the I2C connections.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003e\u003cimg width=\"543\" height=\"149\" border=\"0\" src=\"\/images\/usb-i2c-b.jpg\" alt=\"\"\u003e \u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003e0v Gnd\u003cbr\u003e\n\u003c\/strong\u003eThe 0v Gnd pin must be connected to the 0v (Ground) on your I2C device.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eInput 1\u003cbr\u003e\n\u003c\/strong\u003eThe Input 1 pin is actually the processor reset line and is used in our  workshop to program the processor after final assembly. The reset function has  been disabled in software so that this pin may be used as an input pin. It has a  47k pull-up resistor on the PCB, so if the input is not required you can just  ignore it.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eSCL and SDA\u003c\/strong\u003e \u003cbr\u003e\nThese pins are the I2C bus connections. They should be connected directly to the  SCL and SDA pins on your I2C device. The USB-I2C module is always a bus master,  and is fitted with 4.7k pull-up resistors on the PCB. \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003e+5v\u003cbr\u003e\n\u003c\/strong\u003eThe +5v supply from the USB-I2C module can supply up to 70mA to external  devices. If your I2C device requires more than this, or has its own supply, then  leave the +5v pin unconnected. Do not apply your own 5v supply to this pin.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eCommands\u003c\/strong\u003e\u003cbr\u003e\nThe USB-I2C responds to commands sent to it from the PC. There  are just three primary commands: \u003cbr\u003e\nI2CD_CMD (0x53) - This allows you to read or write to I2C devices that do not  have internally addressable registers, such as the Philips PCF8574 I\/O expander.\u003cbr\u003e\nI2C_CMD (0x55) - This allows you to read or write to internally registered  devices such as EEPROM's or our own range of modules.\u003cbr\u003e\nUSB-I2C_CMD (0x5A) - A range of commands to the USB-I2C module, generally to improve  selected communications.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eWriting to I2C devices without internally addressable  registers\u003c\/strong\u003e\u003cbr\u003e\nThese include devices such as the Philips PCF8574 I\/O expander. Following the  I2CD_CMD you send the devices I2C address and the data byte.\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003e \u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003ePrimary USB-I2C command\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eDevice Address + R\/W bit\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eThe data byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003eByte Type\u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003eI2CD_CMD\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eAddr+R\/W\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eData\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003eExample\u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003e0x53\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003e0x40\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003e0x00\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003eMeaning\u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003eDirect Read\/Write command\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003ePCF8574 I2C address\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eSet all bits low\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eThis 3 byte sequence sets all bits of a PCF8574 I\/O expander  chip low.  All 3 bytes should be sent to the USB-I2C in one sequence. A gap will result in the  USB-I2C re-starting its internal command synchronization loop and ignoring the  message. After all bytes have been received the USB-I2C performs the IC2 write  operation out to the PCF8574 and sends a single byte back to the PC. This returned  byte will be 0x00 (zero) if the write command failed and non-zero if the write  succeeded. The PC should wait for this byte to be returned (timing out after  500mS) before proceeding with the next transaction.\u003cbr\u003e\n\u003cstrong\u003e\u003cbr\u003e\nReading from I2C devices without internally addressable registers\u003c\/strong\u003e\u003cbr\u003e\nThis is similar to writing, except that you should add 1 to the device address  to make it an odd number. To read from a PCF8574 at address 0x40, you would use  0x41 as the address. (When the address goes out on the I2C bus, its the 1 in the  lowest bit position that indicates a read cycle is happening). Here is an  example of reading the inputs on a PCF8574 I\/O expander:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eI2CD_CMD\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003ePCF8574 I2C address + Read bit\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x53\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x41\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eThe USB-I2C will perform the read operation on the I2C bus and send  a single byte (the PCF8574 inputs) back to the PC. The PC should wait for the  byte to  be returned (timing out after 500mS) before proceeding with the next  transaction.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eWriting to I2C devices with internally addressable registers\u003c\/strong\u003e\u003cbr\u003e\nThis includes almost all I2C devices. Following the I2C_CMD you send the device  I2C address, then the devices internal register  address you want to write to and the number of bytes you're writing. The  maximum number of data bytes should not exceed 60 so as not to overflow the USB-I2C's internal buffer.\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003e \u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003ePrimary USB-I2C command\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eDevice Address + R\/W bit\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eDevice internal register\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eNumber of data bytes\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eThe data bytes\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003eByte Type\u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003eI2C_CMD\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eAddr+R\/W\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eReg\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eByte Count\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eData\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003eExample\u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003e0x55\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003e0xE0\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003e0x51\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"right\"\u003eMeaning\u003c\/td\u003e\n            \u003ctd width=\"16%\" align=\"center\"\u003ePrimary USB-I2C command\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eSRF08 I2C address\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eSRF08 command Reg\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eOne command byte follows\u003c\/td\u003e\n            \u003ctd width=\"17%\" align=\"center\"\u003eStart ranging in cm\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eThis 5 byte sequence starts an SRF08 at address 0xE0 ranging.  All 5 bytes should be sent to the USB-I2C in one sequence. A gap will result in the  USB-I2C re-starting its internal command synchronization loop and ignoring the  message. After all bytes have been received the USB-I2C performs the IC2 write  operation out to the SRF08 and sends a single byte back to the PC. This returned  byte will be 0x00 (zero) if the write command failed and non-zero if the write  succeeded. The PC should wait for this byte to be returned (timing out after  500mS) before proceeding with the next transaction.\u003cbr\u003e\nHere is another write example - this time an 8 byte sequence to initialize the  MD22 motor driver: \u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003eI2C_CMD\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003eMD22 Addr+R\/W\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003eMode Reg\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003eData byte count\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003eMD22 mode 1\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003eLeft Motor Stopped\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003eRight Motor Stopped\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003eFast acceleration\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003e0x55\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003e0xB0\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003e0x00\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"12%\"\u003e\n            \u003cp align=\"center\"\u003e0x04\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003e0x01\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003e0x00\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003e0x00\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"13%\"\u003e\n            \u003cp align=\"center\"\u003e0x02\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eAgain the USB-I2C will respond with non-zero if the write succeeded  and zero if it failed. A failure means that no acknowledge was received from the  I2C device.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eReading from I2C devices with internally addressable  registers\u003c\/strong\u003e\u003cbr\u003e\nThis is similar to writing, except that you should add 1 to the device address  to make it an odd number. To read from an SRF08 at address 0xE0, you would use  0xE1 as the address. (When the address goes out on the I2C bus, its the 1 in the  lowest bit position that indicates a read cycle is happening). The maximum  number of data bytes requested should not exceed 60 so as not to overflow the USB-I2C's internal buffer. Here is an  example of reading the two byte bearing from the CMPS03 compass module:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eI2C_CMD\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eCPMS03 I2C address + Read bit\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eCMPS03 bearing register\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eNumber of bytes to read\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x55\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0xC1\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x02\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x02\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eThe USB-I2C will perform the read operation on the I2C bus and send  two bytes back to the PC - high byte first. The PC should wait for both bytes to  be returned (timing out after 500mS) before proceeding with the next  transaction.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eUSB-I2C\u003c\/strong\u003e\u003cstrong\u003e Commands\u003cbr\u003e\n\u003c\/strong\u003eThe USB-I2C command format is shown below:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eUSB-I2C_CMD\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eUSB-I2C Command\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eData 1\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eData2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e 0x5A\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eSee below\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eCommand Specific\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eCommand Specific\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eThe USB-I2C commands are always a four byte sequence. They  start with the USB-I2C_CMD primary command which is followed by the USB-I2C command  itself. Two data bytes follow which can be any junk if not used, but they must  be included to make up the 4 byte command sequence. These commands  are: \u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"645\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003eHex\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eCommand\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003eBytes returned\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003ePurpose\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eREVISION \u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eReturns the USB-I2C firmware revision number\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x02\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eNEW_ADDRESS\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eChanges SRF08 I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x03\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eUNUSED\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eUnused - for CM02 compatibility only -          returns 0x00\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x04\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN1\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e6\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eSend motor data - return battery, compass          \u0026amp; sonar data \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x05\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN2\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e9\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eSame but for 2 SRF08's\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x06\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN3\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e12\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003e3 SRF08's\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x07\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN4\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e15\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003e4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x08\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN6\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e21\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003e6\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x09\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN8\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e27\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003e8\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x0A\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN12\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e39\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003e12\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x0B\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSCAN16\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e51\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eAll 16 possible SRF08's\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x10\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eSETPINS\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eSets I\/O pins high\/low\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x11\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eGETPINS\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eGets the status of I\/O pins \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"46\" align=\"center\"\u003e0x12\u003c\/td\u003e\n            \u003ctd width=\"132\" align=\"center\"\u003eGETAD\u003c\/td\u003e\n            \u003ctd width=\"84\" align=\"center\"\u003e4\u003c\/td\u003e\n            \u003ctd width=\"373\" align=\"center\"\u003eGets Analogue value on I\/O2 and I\/O3\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eREVISION\u003c\/strong\u003e is used to read the USB-I2C firmware revision. It  returns a single byte indicating the revision number. The two data bytes are  unused and can be anything, but they must be sent.\u003cbr\u003e\n\u003cstrong\u003eNEW_ADDRESS\u003c\/strong\u003e command is used to change an SRF08's I2C address to a  different address. The new address should be in the first of the two data bytes.  The second data byte is unused and can be anything, but it must be sent.  Changing the address on the SRF08 requires 4 separate transactions on the I2C  bus. The USB-I2C know how to change an SRF08's I2C address and just needs you to  send it the new address using this command. When using it, make sure you only  have one SRF08 connected, otherwise you will set every SRF08 on the bus to the  same address. The single return byte is the new address sent back when the task  is complete.\u003cbr\u003e\n\u003cstrong\u003eUNUSED\u003c\/strong\u003e Unused - for CM02 compatibility only - returns 0x00.\u003cbr\u003e\n\u003cstrong\u003eSCAN\u003c\/strong\u003e This command is provided for CM02 compatibility. It  assumes you have an MD22 motor controller, a CMPS03 compass module and a number  of SRF08 rangefinders. SCAN1 assumes 1 SRF08, SCAN8 assumes 8 SRF08's. The two  data bytes contain the Left and Right motor speed values for the MD22 motor  controller. After sending the new motor speeds to the MD22, the USB-I2C will send a  return frame comprising the battery voltage (0x00 - see above). This is followed by two bytes of  compass bearing - high byte first, and then three bytes for each SRF08. The  first of the three bytes is the SRF08's light sensor reading. The next two bytes  is the range - high byte first. \u003cbr\u003e\nFor example, if the SCAN2 command is used, you would receive a 9 byte return:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eBattery Volts\u003cbr\u003e\n            (reads 0x00)\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eCompass bearing high byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eCompass bearing low byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eSRF08 at 0xE0\u003cbr\u003e\n            Light sensor\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eSRF08 at 0xE0\u003cbr\u003e\n            Range high byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003e\n            \u003cp align=\"center\"\u003eSRF08 at 0xE0\u003cbr\u003e\n            Range low byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003eSRF08 at 0xE2\u003cbr\u003e\n            Light sensor\u003c\/td\u003e\n            \u003ctd width=\"11%\" align=\"center\"\u003eSRF08 at 0xE2\u003cbr\u003e\n            Range high byte\u003c\/td\u003e\n            \u003ctd width=\"12%\" align=\"center\"\u003eSRF08 at 0xE2\u003cbr\u003e\n            Range low byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eSRF08 data is always returned starting with address 0xE0, 0xE2, 0xE4 - going  up one address at a time until all requested SRF08's data has been sent.\u003cbr\u003e\nAfter sending the data back up to the PC, the USB-I2C automatically issues a new  ranging command to all SRF08s. The ranging command used is 82 (0x52) which returns  the results in uS. To convert to cm divide by 58 and to convert to inches divide  by 148.\u003cbr\u003e\nSRF08 addresses should have been set up before running this command and the MD22  should be initialized to the mode and acceleration required. One more important  feature. The SCAN command also sets up a 500mS timer on the USB-I2C. If another  SCAN command is not received within this time, a command is automatically sent to the MD22  to stop the motors. This is to prevent your robot wandering out  of control if it ventures outside of the range of the radio link. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLEDs\u003c\/strong\u003e\u003cbr\u003e\nThere are two status Leds on the USB-I2C. A red Led indicates power is on and the  green Led flashes briefly when a command is received. The red Led can be turned  on and off using the SETPINS command. See below.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eI\/O Pins  \u003c\/strong\u003e\u003cbr\u003e\nIf the USB-I2C module is not being used for I2C, it can be used as general  purpose I\/O controller with three I\/O lines. Input 1 is always an input only pin  and has a 47k pull-up resistor (not 4.7k like the others). The other two can be input or output. The outputs  are set high\/low with the SETPINS command. The pin is not actively driven high, it is released and  pulled high by a 4.7k resistor. Output low is actively driven and can sink a maximum of  24mA. GETPINS will return the status of the I\/O pins. To use an I\/O pin as an  input, it must first have a 1 (high) written to it. This will release the pin so  that the 4.7k resistor will pull it high, it can then be used as an input. Both  SETPINS and GETPINS commands will return the status of the I\/O Pins, however,  only SETPINS can change them. The bits in the data byte written by SETPINS and  returned by SETPINS and GETPINS have the following format:\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e7\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e6\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e5\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e4\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e3\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003e0\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003ex\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003ex\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003ex\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003ex\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003eI\/O3\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003eI\/O2\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003eInput1\u003c\/td\u003e\n            \u003ctd width=\"60\" align=\"center\"\u003eRed Led\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp\u003eThe following command will turn the Red led off and make the I\/O lines high  so they can be used as inputs:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eUSB-I2C_CMD\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eSETPINS Command\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eData 1\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eData2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e 0x5A\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e 0x10\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x0E\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x00 (unused)\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eAnalogue Inputs\u003c\/strong\u003e\u003cbr\u003e\nThe USB-I2C module can also convert the analogue values on pins I\/O2 and I\/O3.  Before doing this the I\/O pins should be set high, effectively making them  inputs. Remember though that this is primarily a USB to I2C interface and as  such has 4k7 pull-up resistors. Take this into account when connecting your  analogue input.\u003c\/p\u003e\n\u003cp\u003eThe following command will fetch the analogue values:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eUSB-I2C_CMD\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eGETAD Command\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eData 1\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eData2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e 0x5A\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e 0x12\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x00 (unused)\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003e0x00 (unused)\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eWith analogue data returned in the following format:\u003c\/p\u003e\n\u003ctable width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\" bgcolor=\"#ffffcc\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eByte 1\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eByte 2\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eByte 3\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eByte 4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eI\/O2 High Byte\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eI\/O2 Low Byte\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eI\/O3 High Byte\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\"\u003eI\/O3 Low Byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eThe analogue inputs use 10-bit conversion, so you will see values from 0 to  1024 (0x0000 to 0x03FF)\u003c\/p\u003e\n\u003cp class=\"stockOut\"\u003e\u003cstrong\u003eNote - you cannot  mix I\/O mode and I2C mode,  I\/O commands should not be used when I2C devices are  connected. \u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eUSB-I2C Test Software\u003cbr\u003e\n\u003c\/strong\u003eTo help you test and get the USB-I2C up and running quickly, we have  provided a couple of simple test programs. The first is for the USB-I2C connected to an SRF08 ultrasonic  ranger.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable border=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e\u003cimg width=\"300\" height=\"220\" border=\"0\" src=\"\/images\/usb-srf08.jpg\" alt=\"\"\u003e\u003c\/td\u003e\n            \u003ctd\u003e    \n            \u003cp\u003e \u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd\u003e\u003cimg width=\"249\" height=\"262\" border=\"0\" src=\"\/images\/usb-i2c-2.jpg\" alt=\"\"\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eThe connector on the USB-I2C module may be soldered directly to  the SRF08 as shown, or you can use a cable if preferred. The USB-I2C module can  easily supply the 25mA peak of the SRF08. The software automatically searches  for the SRF08 and displays its I2C address, along with revision number, range  and light sensor reading. You can download \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/USB_I2C_SRF08.exe\"\u003e\u003cstrong\u003eusb_i2c_srf08.exe\u003c\/strong\u003e\u003c\/a\u003e and the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb_i2c_srf08.zip\"\u003e\u003cstrong\u003eC source code\u003c\/strong\u003e\u003c\/a\u003e here.\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThe second is for testing I\/O modes, and allows you to set\/clr  the I\/O's as well as read the digital and analogue inputs.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg width=\"324\" height=\"244\" border=\"0\" src=\"\/images\/usb-i2c-c.jpg\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eYou can download \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb_i2c_io.exe\"\u003e\u003cstrong\u003eusb_i2c_io.exe\u003c\/strong\u003e\u003c\/a\u003e and the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/usb_i2c_io.zip\"\u003e\u003cstrong\u003eC source code\u003c\/strong\u003e\u003c\/a\u003e here.\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867219289,"sku":"USB-I2C\/A","price":27.15,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035802457,"sku":"USB-I2C","price":27.15,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/usb-i2c_5.jpg?v=1695766316"},{"product_id":"rs485-sonar-with-weatherproof-transducer-temp-compensat","title":"RS485 Sonar with Weatherproof Transducer \u0026 Temp. Compensat","description":"\u003cdiv style=\"background-color: rgb(255, 255, 255); padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003e\u003cfont color=\"#ff0000\"\u003eNote - This sonar has a waterproof transducer, not an underwater transducer. It is designed for operation in air.\u003c\/font\u003e\u003c\/b\u003e\u003c\/p\u003e\n\u003ctable width=\"431\" bgcolor=\"#00ffff\" border=\"0\" cellspacing=\"0\" style=\"border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd colspan=\"3\" width=\"407\" bgcolor=\"#ffffff\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e\u003cb\u003eSpecification\u003c\/b\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eVoltage\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e12vdc (8vdc - 14vdc)\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eCurrent\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e10mA\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eRange\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e60cm - 5meters\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eTemperature Compensation\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-30 to +50 centigrade\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eSize\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e40.5mm x 40.5mm (1.6\" x 1.6\")\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eMounting\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e30.5mm x 30.5mm (1.2\" x 1.2\")\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"204\" align=\"right\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003eTransducer\u003c\/td\u003e\n            \u003ctd width=\"11\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e-\u003c\/td\u003e\n            \u003ctd width=\"204\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; border-top-color: rgb(211, 211, 211); border-right-color: rgb(211, 211, 211); border-bottom-color: rgb(211, 211, 211); border-left-color: rgb(211, 211, 211); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; \"\u003e25mm dia. centrally mounted.\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003e\u003cfont size=\"3\"\u003e\u003cb\u003eOverview\u003cbr\u003e\n\u003c\/b\u003eThe SRF485WPR is a water resistant single transducer ultrasonic ranger. The SRF485WPR uses the RS485 standard for communications, for up to 127 modules on each RS485 bus. The SRF485WPR features an on-board 5v power regulator which can be supplied from 8vdc to 14vdc. Both power and RS485 signals are supplied to the module via a 10pin IDC connector, making cabling a large number of modules very easy. The Range of the SRF485WPR is 60cm to 5meters. \u003c\/font\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eRS485 Communication\u003c\/b\u003e\u003cbr\u003e\nThe SRF485WPR modules are connected using the RS485 bus. Up to 128 transceivers can be connected to the same bus, so you can have up to 127 SRF485WPR modules plus the controller.\u003cbr\u003e\nSerial data is fixed at 38400 baud 1 start, 2 stop and no parity bits. Control of the SRF485WPR's is by sending frames of data to the module and then listening for the response. Each SRF485WPR has a unique 24-bit address which we program in during manufacture. The data frame you send to the SRF485WPR is:\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBreak\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressH\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressM\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressL\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eData\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCheck Sum\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eBreak - is defined as a continuous low in excess of 22 bit periods, followed by a high of 2 bit periods. Each bit is 26uS at 38400 baud, so 22 * 26uS = 572uS, it's ok to be longer.\u003cbr\u003e\nCommand - is one of a number of commands that the SRF485WPR will respond to. See below for details.\u003cbr\u003e\nAddressH,M,L - is the 24-bit address of the module you wish to communicate with.\u003cbr\u003e\nData - Is the data you wish to send to the module, zero (0x00) if nothing is required by the command.\u003cbr\u003e\nChksum - is the 1's compliment (bitwise negation) of the sum of all the previous bytes (not counting the break).\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThe module will respond with a variable number of bytes, 0 to 4 depending on the command, but the transmit frame is always the same, a break followed by 6 bytes. See Commands section below for details.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eConnections\u003cbr\u003e\n\u003c\/b\u003eThe connections to the SRF485WPR are shown below. There are 4 pins for the 12vdc supply, these are connected together on the PCB. The two pins in the middle are the RS485 signals, + is nearest the edge of the PCB and - is on the inside. The last 4 pins are 0v Ground and are connected together on the PCB. \u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg border=\"0\" alt=\"\" src=\"http:\/\/www.robot-electronics.co.uk\/images\/srf485wp1.png\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eCommands\u003c\/b\u003e\u003cbr\u003e\nTo send a command to the SRF485WPR, you need to send a data frame as described above. There are two commands to initiate a ranging (80 and 81), to produce the result in inches, or centimeters. These two commands don't Transmit the result back to your controller. You should wait 70mS and then use command 94 or 105 to get the result of the ranging. Another set of two commands (83 and 84) do the same, but also transmits the temperature compensated result of the ranging back to your controller as soon as it is available. \u003cbr\u003e\nCommand 93 is used to get the SRF485WPR version. This command will return 4 bytes:\u003cbr\u003e\nByte1 is the module type, 0x03 for the SRF485WPR.\u003cbr\u003e\nByte2 is the Hardware Version,  0x01 for the current PCB.\u003cbr\u003e\nByte3 is the Software Version, currently 0x01.\u003cbr\u003e\nByte4 is the Modules Group number, this will be in the range 0x00 to 0x7F (0-127).\u003cbr\u003e\nCommand 94 returns two bytes (high byte first) from the most recent ranging. Put them together to make a 16-bit result.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"500\" bgcolor=\"#ffffcc\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd colspan=\"2\" width=\"161\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd rowspan=\"2\" width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBytes Returned\u003c\/td\u003e\n            \u003ctd rowspan=\"2\" width=\"731\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAction\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eDecimal\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e80\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x50\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eRanging Mode - Result in inches \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e81\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x51\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eRanging Mode - Result in centimeters\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e83\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x53\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eRanging Mode - Result in inches, automatically Tx range back to controller as soon as ranging is complete.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e84\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x54\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eRanging Mode - Result in centimeters, automatically Tx range back to controller as soon as ranging is complete.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e93\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x5D\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e4\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eGet  Version - sends 4 bytes back to the controller\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e94\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x5E\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eGet Uncompensated Range, returns two bytes (high byte first) from the most recent ranging.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e101\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x65\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eSet Search Mode - Used to search for SRF485WPR's on the bus\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e102\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x66\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0 or 1\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eLess Than - Used to search for SRF485WPR's on the bus\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e103\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x67\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eSet Group - Sets the group number (0-127) that this sonar belongs to.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e104\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x68\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eGet Temperature - returns the temperature in degrees centigrade, as a 16bit signed word, high byte first\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"80\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e105\u003c\/td\u003e\n            \u003ctd width=\"79\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x69\u003c\/td\u003e\n            \u003ctd width=\"61\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"731\" align=\"left\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eGet temperature compensated range, returns two bytes (high byte first) from the most recent ranging.\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eHere is an example of sending a ranging command to a SRF485WPR located at address 0189AB. \u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBreak\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressH\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressM\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressL\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eData\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCheck Sum\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e 600uS Low\u003cbr\u003e\n            50us High\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x51\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x89\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0xAB\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x79\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp\u003eThe check Sum is calculated as the low byte of  ~(0x51+0x01+0x89+0xAB+0x00).\u003cbr\u003e\n0x51+0x01+0x89+0xAB+0x00 = 0x0186\u003cbr\u003e\nThe bitwise not of 0x0186 is 0xFE79\u003cbr\u003e\nWe use the low byte of that, 0x79\u003cbr\u003e\nThe above command will start the SRF485WPR at 0x0189AB ranging in centimeters.  After 70mS the result will be available. You should then use the GET RANGE command (0x5E) to retrieve the result.  \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eAddressing\u003c\/b\u003e\u003cbr\u003e\nEach SRF485WPR has a unique 24-bit address programmed into it during manufacture. This address can be found by doing a search, see below. There are a number of addresses that selected commands will respond to. These are:\u003cbr\u003e\n\u003cb\u003e\u003ci\u003eIts own unique address\u003c\/i\u003e\u003c\/b\u003e, an SRF485WPR will respond to most commands to its own address.\u003cbr\u003e\n\u003cb\u003e\u003ci\u003eAddress 0x000000\u003c\/i\u003e\u003c\/b\u003e, used where you need all SRF485WPR's to respond to a command, such as start ranging, or setting search mode.\u003cbr\u003e\n\u003cb\u003e\u003ci\u003eAddress 0x000001\u003c\/i\u003e\u003c\/b\u003e, used where you need all SRF485WPR's belonging to a specified group to respond to a command, such as start ranging, \u003cbr\u003e\n\u003cb\u003e\u003ci\u003eEvery Address\u003c\/i\u003e\u003c\/b\u003e, only the LESS_THAN command will respond to this, and only if its internal address is less than the one you send.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eGroups\u003c\/b\u003e\u003cbr\u003e\nYou can ignore the groups feature if you do not require it.\u003cbr\u003e\nEach SRF485WPR sonar can belong to a \"group\". The purpose is to allow a selected range (or group) of SRF485WPR's to all start ranging at the same time. It is similar to sending a ranging command to address zero, which causes all SRF485WPR's to start ranging. A potential problem with this is if the SRF485WPR's are too close together, they may interfere with each other. By arranging alternate SRF485WPR's to be in a different group, you can have, say, units 1,3,5,7 etc ranging, and next time units 2,4,6,8 ranging.\u003cbr\u003e\nEven if your SRF485WPR's are not close enough to interfere, groups have the advantage of allowing you to do the ranging on one group, whilst getting the ranges from the previous group, which makes more effective use of the busses bandwidth.  To set the group number, send the SET_GROUP command (0x67) to the SRF485WPR's actual address. The group number is stored in EEPROM, and only has to be sent once. This example sets the group number of the sonar at address 0x0189AB to 0x01.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBreak\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressH\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressM\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressL\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eData\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCheck Sum\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e 600uS Low\u003cbr\u003e\n            50us High\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x67\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x89\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0xAB\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x62\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp\u003eTo start all SRF485WPR's in group 0x01 ranging, send your chosen ranging command to address 0x000001 with the group number in the data byte, like this:\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBreak\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressH\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressM\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressL\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eData\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCheck Sum\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e 600uS Low\u003cbr\u003e\n            50us High\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x51\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0xAC\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp\u003eThe default group number is 0x00, so I would recommend that you avoid using that one in your application.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eSearching the RS485 bus for Sonar's\u003c\/b\u003e\u003cbr\u003e\nThe SET_SEARCH command (0x65) is used to place all SRF485WPR's on the bus into a search mode, and must be used at address zero (0x000000) to do that. Only SRF485WPR's that are in search mode will respond to the LESS_THAN command. The following will place all SRF485WPR's into \"search mode\".\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBreak\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressH\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressM\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressL\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eData\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCheck Sum\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e 600uS Low\u003cbr\u003e\n            50us High\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x65\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x9A\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp\u003eThe LESS THAN command is used to search for and find the addresses of all SRF485WPR's on the bus. Every SRF485WPR whose unique internal address is less than the address supplied with the command will respond by sending back a single byte (0x00). They do this all at the same time, so you will just receive a single byte. Those SRF485WPR's whose address is equal to, or greater than the supplied address will not respond. For example if you send this command frame:\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eBreak\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressH\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressM\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eAddressL\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eData\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003eCheck Sum\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e 600uS Low\u003cbr\u003e\n            50us High\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x66\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x80\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"100\" align=\"center\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e0x19\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp\u003eThen all SRF485WPR's whose internal address is in the range 0x000000 to 0x7FFFFF will send back the response byte. The value of the response byte is 0x00, but that is irrelevant. It is the presence or absence of a response that is important. The response, if there is one, will be immediate so if you have not received anything after 500uS, then you're not going to. Make sure you time out in your receive routine. \u003cbr\u003e\nSo how do you use this to find the addresses of all SRF485WPR's on the bus? \u003cbr\u003e\nFirst, the SET_SEARCH command must be sent to address 0x000000 so that all SRF485WPR's are placed into search mode.\u003cfont face=\"Arial\" size=\"2\"\u003e\u003cbr\u003e\n\u003c\/font\u003eThis is where it gets a little harder to follow: \u003cbr\u003e\nSend the LESS_THAN command with address 0x800000. If you get a response then there are one or more SRF485WPR's whose address is between 0x000000 and 0x7FFFFF. Now you can narrow it down further by sending the LESS_THAN command with address 0x400000. If you get a response then you know there are one or more SRF485WPR's between addresses 0x000000 and 0x3FFFFF. If you didn't get a response then the address would be between 0x400000 and 0x7FFFFF. If there was a response, do it again with address 0x200000. If not then address 0x600000. This is similar to the way an Analog to Digital converter works, by successive approximation. Using this technique any address can be found in 24 steps. The SRF485WPR found will be the one with the lowest address. Once found you should read the version of that SRF485WPR using the GET_VER command. This will reset the search mode for that SRF485WPR, so it will take no further part in the search process. \u003cbr\u003e\nNow you can repeat the process to find the next SRF485WPR, and so on...\u003c\/p\u003e\n\u003cp\u003eIt's a lot harder to say than it is to do, the code is actually quite simple. Here is the core routine to do the job, written in c. It assumes the SET_SEARCH command has already been sent.\u003c\/p\u003e\n\u003ctable border=\"1\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"100%\" bgcolor=\"#00ff00\" style=\"font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e\u003cfont face=\"Fixedsys\"\u003elong Find_SRF485WPR(void)\u003cbr\u003e\n            {\u003cbr\u003e\n            long Walk = 0x800000;                \/\/ used as a bit walker to calc next address to search\u003cbr\u003e\n            long Addr = 0x800000;                \/\/ start by looking for 0-7fffff range \u003cbr\u003e\n            char x;\u003cbr\u003e\n            \u003cbr\u003e\n               do {\u003cbr\u003e\n                  SendFrame(LESS_THAN, Addr, 0);\t \/\/ All SRF485WPR's whose address is less than Addr, will respond\u003cbr\u003e\n                  x = serin485();                \/\/ this times out after 500uS and returns 0xFF\u003cbr\u003e\n                  if(x==0) Addr ^= Walk;         \/\/ Must be greater or equal to Walk, so merge\u003cbr\u003e\n                  Walk \u0026gt;\u0026gt;= 1;                    \/\/ shift the bit walker\u003cbr\u003e\n                  Addr |= Walk;                  \/\/ and generate next test address\u003cbr\u003e\n               }\u003cbr\u003e\n               while(Walk);                      \/\/ repeat until the full address of SRF485WPR is found\u003cbr\u003e\n            \u003cbr\u003e\n               SendFrame(GET_VER, Addr, 0);      \/\/ Get the version of this SRF485WPR to reset its search mode.\u003cbr\u003e\n               serin485();                       \/\/ module id - just get and discard these.\u003cbr\u003e\n               serin485();                       \/\/ hardware version\u003cbr\u003e\n               serin485();                       \/\/ software version \u003cbr\u003e\n               serin485();                       \/\/ group number\u003cbr\u003e\n               return Addr;                      \/\/ Return the SRF485WPR's address, it will be 0xFFFFFF if none found \u003cbr\u003e\n            }\u003c\/font\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eWe also have an example for the PC written in VC++ V6 \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/srf48.zip\"\u003ehere\u003c\/a\u003e. \u003c\/p\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867252057,"sku":"SRF485WPR\/A","price":38.48,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035933529,"sku":"SRF485WPR","price":38.48,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf485wpr_5.jpg?v=1695766324"},{"product_id":"rs485-interfaced-sonar-with-temp-compenstation","title":"RS485 Interfaced Sonar with Temp. Compenstation","description":"\u003cp\u003eThe SRF485 is a single transducer ultrasonic ranger, based on our original SRF02 design. The SRF485 uses the RS485 standard for communications, for up to 127 modules on each RS485 bus. The SRF485 features an on-board 5v power regulator which can be supplied from 8vdc to 14vdc.\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867284825,"sku":"SRF485\/A","price":29.77,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035966297,"sku":"SRF485","price":29.77,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf485.jpg?v=1695766331"},{"product_id":"ultrasonic-sensor-narrow-beam-srf235","title":"Ultrasonic sensor narrow beam SRF235","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable class=\"ProductDescrBorder\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\" width=\"400\" align=\"center\" bordercolor=\"#999999\"\u003e\n\u003ctbody\u003e\n\u003ctr bgcolor=\"#0033FF\"\u003e\n\u003ctd class=\"ProductDescrlHead\" colspan=\"2\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\"\u003e25mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003eFrequency\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003e235 Khz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\"\u003eRange\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\"\u003e10cm - 1.2mt\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003eBeam Width\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003e15°\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\"\u003eUnits\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\"\u003e\n\u003cp\u003eRange reported in uS, mm or inches\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003eConnection\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\"\u003eI2C Standard\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\"\u003eDimensions\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\"\u003e34 x 20 x H 19 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cbr\u003e The SRF235 is a narrow beam ultrasonic ranger, with a beam width of just 15?. An industrial high frequency air coupled transducer operating at 235KHz is used for both Transmit and Receive. The beam patterns below show compare the 15\u003cspan style=\"font-family: Symbol;\"\u003e?\u003c\/span\u003e SRF235 with the \u003cspan style=\"font-family: 'Times New Roman';\"\u003e55\u003c\/span\u003e\u003cspan style=\"font-family: Symbol;\"\u003e? \u003c\/span\u003etypical pattern of the SRF04.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"0\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/beam3.gif\" border=\"0\" alt=\"\" width=\"299\" height=\"282\"\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cimg src=\"\/images\/srf04_beam.gif\" border=\"0\" alt=\"\" width=\"311\" height=\"296\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\u003cp\u003eSRF235 Beam Pattern\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd\u003e\n\u003cp\u003eSRF04 Beam pattern\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cstrong\u003eLimitations \u0026amp; Characteristics\u003c\/strong\u003e\u003cbr\u003e 235KHz ultrasound does not transmit as easily through air as 40KHz does, so the range of the SRF235 is limited to around 1 meter for normal objects out to a maximum of 1.2 meters for a large surface. The use of a single transducer for both transmit and receive means there is a blanking zone out to 10cm, so the effective range is 10cm to 1.2m. The 235KHz narrow 15\u003cspan style=\"font-family: Symbol;\"\u003e? \u003c\/span\u003ebeam behaves more like light on a mirror than 40KHz sensors, so looking at a hard flat surface at an angle of more than 8\u003cspan style=\"font-family: Symbol;\"\u003e?\u003c\/span\u003e or 9\u003cspan style=\"font-family: Symbol;\"\u003e? \u003c\/span\u003ewill not yield an echo from that surface. It may be that the reflected beam hits an object and bounces back. In this case the echo from the object will detected and the sonar will indicate the total range of sonar to flat surface + flat surface to object. The flat surface its self will be invisible to the sonar. Under the same circumstances, a 40KHz sensor such as the SRF04 would detect the flat surface - not the reflected object.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"0\" cellspacing=\"10\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\"\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/srf235s1.GIF\" border=\"0\" alt=\"\" width=\"223\" height=\"170\"\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/srf235s2.GIF\" border=\"0\" alt=\"\" width=\"224\" height=\"207\"\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/srf235s3.GIF\" border=\"0\" alt=\"\" width=\"224\" height=\"207\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAt an angle of just 9 degrees, the beam \u003cbr\u003e does not reflect back to the sonar\u003c\/td\u003e\n\u003ctd\u003eHere there is an object in the path of the reflected\u003cbr\u003e beam. The beam will bounce off the object and -\u003c\/td\u003e\n\u003ctd\u003eback via the flat surface to the sonar, which\u003cbr\u003e will think there is an object off in the distance\u003cbr\u003e in front of it.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eSoft furnishings do not reflect well at 235KHz and might not be detected. Please be aware of these characteristics before considering the purchase of an SRF235.\u003c\/p\u003e\n\u003cp\u003eThe SRF235 detects hard round objects well, such as table and chair legs etc. This makes the SRF235 ideal for detailed local mapping around the robot, but not for longer range sensing. Using the SRF235 along side a 40KHz sonar, makes an excellent sensor combination.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommunication\u003c\/strong\u003e\u003cbr\u003e Communication with the SRF235 ultrasonic rangefinder is via the I2C bus. This is available on popular controllers such as the OOPic, Stamp BS2p, PicAxe etc. as well as a wide variety of micro-controllers. To the programmer the SRF235 behaves in the same way as the ubiquitous 24xx series EEPROM's, except that the I2C address is different. The default shipped address of the SRF235 is 0xE0. It can be changed by the user to any of 16 addresses E0, E2, E4, E6, E8, EA, EC, EE, F0, F2, F4, F6, F8, FA, FC or FE, therefore up to 16 sonar's can be used.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eConnections\u003cbr\u003e \u003c\/strong\u003eThe connections to the SRF235 are identical to the SRF08and SRF10 rangers. The \"No Connection\" pin should be left unconnected. It is actually the CPU MCLR line and is used once only in our workshop to program the PIC18F4220 on-board after assembly, and has an internal pull-up resistor. The SCL and SDA lines should each have a pull-up resistor to +5v somewhere on the I2C bus. You only need one pair of resistors, not a pair for every module. They are normally located with the bus master rather than the slaves. The SRF235 is always a slave - never a bus master. If you need them, I recommend 1.8k resistors. Some modules such as the OOPic already have pull-up resistors and you do not need to add any more.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/con235.GIF\" border=\"0\" alt=\"\" width=\"452\" height=\"170\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eRegisters\u003c\/strong\u003e\u003cbr\u003e The SRF235 appears as a set of 4 registers.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable class=\"ProductDescrBorder\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\" width=\"400\"\u003e\n\u003ctbody\u003e\n\u003ctr align=\"center\" bgcolor=\"#0033FF\"\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"24%\"\u003eLocation\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"32%\"\u003eRead\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"44%\"\u003eWrite\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"24%\"\u003e\n\u003cp\u003e0\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"32%\"\u003e\n\u003cp\u003eSoftware Revision\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"44%\"\u003e\n\u003cp\u003eCommand Register\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"24%\"\u003e\n\u003cp\u003e1\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"32%\"\u003e\n\u003cp\u003eUnused (reads 0x80)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"44%\"\u003e\n\u003cp\u003eN\/A\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"24%\"\u003e\n\u003cp\u003e2\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"32%\"\u003e\n\u003cp\u003eRange High Byte\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"44%\"\u003e\n\u003cp\u003eN\/A\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"24%\"\u003e\n\u003cp\u003e3\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"32%\"\u003e\n\u003cp\u003eRange Low Byte\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"44%\"\u003e\n\u003cp\u003eN\/A\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eOnly location 0 can be written to. Location 0 is the command register and is used to start a ranging session. It cannot be read. Reading from location 0 returns the SRF235 software revision.  The ranging lasts for 10mS, and the SRF235 will not respond to commands on the I2C bus whilst it is ranging.\u003c\/p\u003e\n\u003cp\u003eLocations, 2 and 3, are the 16bit unsigned result from the latest ranging - high byte first. The meaning of this value depends on the command used, and is either the range in inches, or the range in cm or the flight time in uS. A value of 0 indicates that no objects were detected. A new ranging may be initiated as soon as you have the read the range from the last one - no delays are needed.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommands\u003c\/strong\u003e\u003cbr\u003e The are three commands to initiate a ranging (80 to 82), to return the result in inches, centimeters or microseconds. There is also a set of commands to change the I2C address.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable class=\"ProductDescrBorder\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\" width=\"400\"\u003e\n\u003ctbody\u003e\n\u003ctr bgcolor=\"#0033FF\"\u003e\n\u003ctd class=\"ProductDescrlHead\" colspan=\"2\" width=\"34%\" align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" rowspan=\"2\" width=\"94%\" align=\"center\"\u003eAction\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr bgcolor=\"#0033FF\"\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"16%\" align=\"center\"\u003eDecimal\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"18%\" align=\"center\"\u003eHex\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"16%\" align=\"center\"\u003e80\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"18%\" align=\"center\"\u003e0x50\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"94%\" align=\"left\"\u003eRanging Mode - Result in inches\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"16%\" align=\"center\"\u003e81\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"18%\" align=\"center\"\u003e0x51\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"94%\" align=\"left\"\u003eRanging Mode - Result in centimeters\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"16%\" align=\"center\"\u003e82\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"18%\" align=\"center\"\u003e0x52\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"94%\" align=\"left\"\u003eRanging Mode - Result in micro-seconds\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"16%\" align=\"center\"\u003e\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"18%\" align=\"center\"\u003e\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"94%\" align=\"left\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"16%\" align=\"center\"\u003e160\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"18%\" align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"94%\" align=\"left\"\u003e1st in sequence to change I2C address\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"16%\" align=\"center\"\u003e165\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"18%\" align=\"center\"\u003e0xA5\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"94%\" align=\"left\"\u003e3rd in sequence to change I2C address\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"16%\" align=\"center\"\u003e170\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"18%\" align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"94%\" align=\"left\"\u003e2nd in sequence to change I2C address\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cstrong\u003eRanging\u003c\/strong\u003e\u003cbr\u003e To initiate a ranging, write one of the above commands to the command register and wait the required amount of time for completion and read the result. The echo buffer is cleared at the start of each ranging. The ranging lasts for 10mS, after this the range can be read from locations 2 and 3.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eChecking for Completion of Ranging\u003c\/strong\u003e\u003cbr\u003e You do not have to use a timer on your own controller to wait for ranging to finish. You can take advantage of the fact that the SRF235 will not respond to any I2C activity whilst ranging. Therefore, if you try to read from the SRF235 (we use the software revision number a location 0) then you will get 255 (0xFF) whilst ranging. This is because the I2C data line (SDA) is pulled high if nothing is driving it. As soon as the ranging is complete the SRF235 will again respond to the I2C bus, so just keep reading the register until its not 255 (0xFF) anymore. You can then read the sonar data. Your controller can take advantage of this to perform other tasks while the SRF235 is ranging.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLED\u003c\/strong\u003e\u003cbr\u003e The red LED is used to flash out a code for the I2C address on power-up (see below). It also gives a brief flash during the \"ping\" whilst ranging.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eChanging the I2C Bus Address\u003c\/strong\u003e\u003cbr\u003e To change the I2C address of the SRF235 you must have only one sonar on the bus. Write the 3 sequence commands in the correct order followed by the address. Example; to change the address of a sonar currently at 0xE0 (the default shipped address) to 0xF2, write the following to address 0xE0; (0xA0, 0xAA, 0xA5, 0xF2 ). These commands must be sent in the correct sequence to change the I2C address, additionally, No other command may be issued in the middle of the sequence. The sequence must be sent to the command register at location 0, which means 4 separate write transactions on the I2C bus. When done, you should label the sonar with its address, however if you do forget, just power it up without sending any commands. The SRF235 will flash its address out on the LED. One long flash followed by a number of shorter flashes indicating its address. The flashing is terminated immediately on sending a command the SRF235.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable class=\"ProductDescrBorder\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\" width=\"400\"\u003e\n\u003ctbody\u003e\n\u003ctr bgcolor=\"#0033FF\"\u003e\n\u003ctd class=\"ProductDescrlHead\" colspan=\"2\" width=\"45%\" align=\"center\"\u003eAddress\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" rowspan=\"2\" width=\"25%\" align=\"center\"\u003eLong Flash\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" rowspan=\"2\" width=\"30%\" align=\"center\"\u003eShort flashes\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr bgcolor=\"#0033FF\"\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"23%\" align=\"center\"\u003eDecimal\u003c\/td\u003e\n\u003ctd class=\"ProductDescrlHead\" width=\"22%\" align=\"center\"\u003eHex\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e224\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eE0\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e226\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eE2\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e228\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eE4\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e230\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eE6\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e3\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e232\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eE8\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e4\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e234\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eEA\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e5\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e236\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eEC\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e6\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e238\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eEE\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e7\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e240\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eF0\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e8\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e242\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eF2\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e9\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e244\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eF4\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e246\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eF6\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e11\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e248\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eF8\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e12\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e250\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eFA\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e13\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"23%\" align=\"center\"\u003e252\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"22%\" align=\"center\"\u003eFC\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrWhite\" width=\"30%\" align=\"center\"\u003e14\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"23%\" align=\"center\"\u003e254\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"22%\" align=\"center\"\u003eFE\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"25%\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd class=\"ProductDescrGray\" width=\"30%\" align=\"center\"\u003e15\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eTake care not to set more than one sonar to the same address, there will be a bus collision and very unpredictable results.\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867317593,"sku":"SRF235\/A","price":129.92,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890035999065,"sku":"SRF235","price":129.92,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf235b_5.jpg?v=1695766339"},{"product_id":"miniature-ultrasonic-range-finder","title":"Miniature Ultrasonic Range Finder","description":"\u003cbr\u003e\n\n\u003cp\u003e\n\u003c\/p\u003e\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e5V\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e15mA - 3mA Standby \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eFrequency\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e40 Khz \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eRange\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e3cm - 6mt \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eMax Analogue Gain \u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVariable 40 to 700 in 16 steps\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eUnits\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e\u003cp\u003eRange reported in uS, mm or inches\u003c\/p\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eConnection\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eProtocollo I2C \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eDimensions\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e32 x 15 x H 10 mm \u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\n\u003cp\u003e\u003cstrong\u003eIntroduction\u003cbr\u003e\n\u003c\/strong\u003eCommunication with the SRF10 ultrasonic rangefinder is via the I2C bus. This is available on popular controllers such as the OOPic and Stamp BS2p, as well as a wide variety of micro-controllers. To the programmer the SRF10 behaves in the same way as the ubiquitous 24xx series eeprom's, except that the I2C address is different. The default shipped address of the SRF10 is 0xE0. It can be changed by the user to any of 16 addresses E0, E2, E4, E6, E8, EA, EC, EE, F0, F2, F4, F6, F8, FA, FC or FE, therefore up to 16 sonar's can be used. We have \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/shop\/Examples.htm\" target=\"_blank\"\u003e\u003cstrong\u003eexamples\u003c\/strong\u003e\u003c\/a\u003e of using the SRF10 module with a wide range of popular controllers.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eConnections\u003cbr\u003e\n  \u003c\/b\u003eThe connections to the SRF10 are identical to the SRF08. The \"Do Not Connect\" pin should be left unconnected. It is actually the CPU MCLR line and is used once only in our workshop to program the PIC16F87 on-board after assembly, and has an internal pull-up resistor. The SCL and SDA lines should each have a pull-up resistor to +5v somewhere on the I2C bus. You only need one pair of resistors, not a pair for every module. They are normally located with the bus master rather than the slaves. The SRF10 is always a slave - never a bus master. If you need them, I recommend 1.8k resistors. Some modules such as the OOPic already have pull-up resistors and you do not need to add any more.  \u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/srf10wir.gif\" border=\"0\" height=\"245\" width=\"280\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eRegisters\u003c\/b\u003e\u003cbr\u003e\n The SRF10 appears as a set of 4 registers.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"53%\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"24%\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eLocation\u003c\/td\u003e\n          \u003ctd width=\"32%\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eRead\u003c\/td\u003e\n          \u003ctd width=\"44%\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eWrite\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"24%\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e0\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"32%\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eSoftware Revision\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"44%\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eCommand Register\u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"24%\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e1\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"32%\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eUnused (reads 0x80)\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"44%\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eMax Gain Register (default 16) \u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"24%\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e2\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"32%\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eRange High Byte\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"44%\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eRange Register (default 255)\u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"24%\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e3\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"32%\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eRange Low Byte\u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd width=\"44%\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eN\/A\u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003eOnly locations 0, 1 and 2 can be written to. Location 0 is the command register and is used to start a ranging session. It cannot be read. Reading from location 0 returns the SRF10 software revision.  By default, the ranging lasts for 65mS, but can be changed by writing to the range register at location 2. The SRF10 will not respond to commands on the I2C bus whilst it is ranging. See the \u003cb\u003eChanging Range\u003c\/b\u003e and \u003cb\u003eAnalogue Gain\u003c\/b\u003e sections below.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e Locations, 2 and 3, are the 16bit unsigned result from the latest ranging - high byte first. The meaning of this value depends on the command used, and is either the range in inches, or the range in cm or the flight time in uS. A value of 0 indicates that no objects were detected.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eCommands\u003c\/b\u003e\u003cbr\u003e\n  The are three commands to initiate a ranging (80 to 82), to return the result in inches, centimeters or microseconds. There is also a set of commands to change the I2C address.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"34%\" colspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eCommand\u003c\/td\u003e\n          \u003ctd width=\"94%\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eAction\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e80\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x50\u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003e Ranging Mode - Result in inches\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e81\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e0x51\u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003e Ranging Mode - Result in centimeters\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e82\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x52\u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003e Ranging Mode - Result in micro-seconds\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e160\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0xA0\u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003e1st in sequence to change I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e165\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e0xA5\u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003e3rd in sequence to change I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e170\u003c\/td\u003e\n          \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0xAA\u003c\/td\u003e\n          \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003e2nd in sequence to change I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eRanging Mode\u003c\/b\u003e\u003cbr\u003e\n  To initiate a ranging, write one of the above commands to the command register and wait the required amount of time for completion and read the result. The echo buffer is cleared at the start of each ranging. The default and recommended time for completion of ranging is 65mS, however you can shorten this by writing to the range register before issuing a ranging command.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChecking for Completion of Ranging\u003c\/b\u003e\u003cbr\u003e\n  You do not have to use a timer on your own controller to wait for ranging to finish. You can take advantage of the fact that the SRF10 will not respond to any I2C activity whilst ranging. Therefore, if you try to read from the SRF10 (we use the software revision number a location 0) then you will get 255 (0xFF) whilst ranging. This is because the I2C data line (SDA) is pulled high if nothing is driving it. As soon as the ranging is complete the SRF10 will again respond to the I2C bus, so just keep reading the register until its not 255 (0xFF) anymore. You can then read the sonar data. Your controller can take advantage of this to perform other tasks while the SRF10 is ranging. \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChanging the Range\u003c\/b\u003e\u003cbr\u003e\n  The maximum range of the SRF10 is set by an internal timer. By default, this is 65mS or the equivalent of 11 metres of range. This is much further than the 6 metres the SRF10  is actually capable of. It is possible to reduce the time the SRF10 listens for an echo, and hence the range, by writing to the range register at location 2. The range can be set in steps of about 43mm (0.043m or 1.68 inches) up to 11 metres. \u003cbr\u003e\n  The range is ((Range Register x 43mm) + 43mm) so setting the Range Register to 0 (0x00) gives a maximum range of 43mm. Setting the Range Register to 1 (0x01) gives a maximum range of 86mm. More usefully, 24 (0x18) gives a range of 1 metre and 93 (0x5D) is 4 metres. Setting 255 (0xFF) gives the original 11 metres (255 x 43 + 43 is 11008mm). There are two reasons you may wish to reduce the range.\u003cbr\u003e\n  1. To get at the range information quicker\u003cbr\u003e\n  2. To be able to fire the SRF10 at a faster rate.\u003cbr\u003e\n  If you only wish to get at the range information a bit sooner and will continue to fire the SRF10 at 65ms of slower, then all will be well. However if you wish to fire the SRF10 at a faster rate than 65mS, you will definitely need to reduce the gain - see next section.\u003cbr\u003e\n  The range is set to maximum every time the SRF10 is powered-up. If you need a different range, change it once as part of your system initialization code.\u003cbr\u003e\n\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eAnalogue Gain\u003c\/b\u003e\u003cbr\u003e\n  The analogue gain register sets the \u003ci\u003eMaximum\u003c\/i\u003e gain of the analogue stages. To set the maximum gain, just write one of these values to the gain register at location 1. During a ranging, the analogue gain starts off at its minimum value of 40. This is increased at approx. 96uS intervals up to the maximum gain setting, set by register 1. Maximum possible gain is reached after about 100mm (4inches) of range. The purpose of providing a limit to the maximum gain is to allow you to fire the sonar more rapidly than 65mS. Since the ranging can be very short, a new ranging can be initiated as soon as the previous range data has been read. A potential hazard with this is that the second ranging may pick up a distant echo returning from the previous \"ping\", give a false result of a close by object when there is none. To reduce this possibility, the maximum gain can be reduced to limit the modules sensitivity to the weaker distant echo, whilst still able to detect close by objects. The maximum gain setting is stored only in the CPU's RAM and is initialized to maximum on power-up, so if you only want do a ranging every 65mS, or longer, you can ignore the Range and Gain Registers. The Gain Register is set to 16 (a gain of 700) at power-up. This can be decreased as required.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"157\" height=\"19\" colspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eGain Register\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"40\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eMaximum Analogue Gain\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"77\" height=\"19\" align=\"center\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n          \u003ctd width=\"80\" height=\"19\" align=\"center\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x00\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 40\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x01\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eAs above - Analogue Gain to 40\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e2\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x02\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 50\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e3\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x03\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 60\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e4\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x04\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 70\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e5\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x05\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 80\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e6\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x06\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 100\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e7\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x07\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 120\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e8\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x08\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 140\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e9\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x09\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 200\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e10\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x0A\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 250\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e11\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x0B\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 300\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e12\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x0C\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 350\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e13\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x0D\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 400\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e14\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x0E\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 500\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e15\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x0F\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 600\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e16\u003c\/td\u003e\n          \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x10\u003c\/td\u003e\n          \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 700\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003eNote that the relationship between the Gain Register setting and the actual gain is not a linear one. Also there is no magic formula to say \"use this gain setting with that range setting\". It depends on the size, shape and material of the object and what else is around in the room. Try playing with different settings until you get the result you want. If you appear to get false readings, it may be echo's from previous \"pings\", try going back to firing the SRF10 every 65mS or longer (slower). \u003cbr\u003e\n  If you are in any doubt about the Range and Gain Registers, remember they are automatically set by the SRF10 to their default values when it is powered-up. You can ignore and forget about them and the SRF10 will work fine, detecting objects up to 6 metres away every 65mS or slower.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eLED\u003c\/b\u003e\u003cbr\u003e\n  The red LED is used to flash out a code for the I2C address on power-up (see below). It also gives a brief flash during the \"ping\" whilst ranging.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChanging the I2C Bus Address\u003c\/b\u003e\u003cbr\u003e\n  To change the I2C address of the SRF10 you must have only one sonar on the bus. Write the 3 sequence commands in the correct order followed by the address. Example; to change the address of a sonar currently at 0xE0 (the default shipped address) to 0xF2, write the following to address 0xE0; (0xA0, 0xAA, 0xA5, 0xF2 ). These commands must be sent in the correct sequence to change the I2C address, additionally, No other command may be issued in the middle of the sequence. The sequence must be sent to the command register at location 0, which means 4 separate write transactions on the I2C bus. When done, you should label the sonar with its address, however if you do forget, just power it up without sending any commands. The SRF10 will flash its address out on the LED. One long flash followed by a number of shorter flashes indicating its address. The flashing is terminated immediately on sending a command the SRF10.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"45%\" colspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eAddress\u003c\/td\u003e\n          \u003ctd width=\"25%\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eLong Flash\u003c\/td\u003e\n          \u003ctd width=\"30%\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eShort flashes\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e224\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eE0\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e226\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eE2\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e228\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eE4\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e230\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eE6\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e232\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eE8\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e234\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eEA\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e236\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eEC\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e238\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eEE\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e240\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eF0\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e8\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e242\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eF2\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e9\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e244\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eF4\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e246\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eF6\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e11\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e248\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eF8\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e12\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e250\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eFA\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e13\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e252\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eFC\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e14\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e254\u003c\/td\u003e\n          \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eFE\u003c\/td\u003e\n          \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e15\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003eTake care not to set more than one sonar to the same address, there will be a bus collision and very unpredictable results.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChanging beam pattern and beam width\u003cbr\u003e\n  \u003c\/b\u003eYou can't!\u003cb\u003e \u003c\/b\u003eThis is a question which crops up regularly, however there is no easy way to reduce or change the beam width that I'm aware of. The beam pattern of the SRF10 is conical with the width of the beam being a function of the surface area of the transducers and is fixed.  It is possible to make the sonar less sensitive to objects off to the side by reducing the maximum gain register from 16 to a lower level. This is a the expense of shorter range, however most small robots don't need 6m of range. A value of 8 (max. gain 140) will reduce the practicable range to about 2m, but it will be much less sensitive to objects off the center line. The beam pattern of the transducers used on the SRF10, taken from the manufacturers data sheet, is shown below.  \u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/beam2.gif\" border=\"0\" height=\"284\" width=\"301\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003eThere is more information in the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sonar_faq.htm\" target=\"_blank\"\u003e\u003cstrong\u003esonar faq\u003c\/strong\u003e.\u003c\/a\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eMounting the SRF10\u003cbr\u003e\n  \u003c\/b\u003eYou may have notice that there are no mounting holes on the SRF10 module! That was deliberate to keep the module as small as possible. So how do you mount it? Here are three suggestions:\u003cbr\u003e\n  \u003cb\u003e 1.\u003c\/b\u003e A straight or right angle 0.1 inch connector soldered to your PCB.\u003cbr\u003e\n  \u003cb\u003e 2.\u003c\/b\u003e Using two 9.5mm rubber grommets. Two holes should be drilled into the panel you're mounting the SRF10 to. The hole centers should be 0.7inches (17.78mm) apart and the holes drilled 0.5 inches (12.7mm) in diameter. The two grommets should then be fitted to the panel and the SRF10 gently pushed into them.\u003cbr\u003e\n  \u003cb\u003e 3.\u003c\/b\u003e Using our SRF10 Mounting Kit, shown below. \u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable border=\"0\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd\u003e\u003cimg src=\"\/images\/srf10b1.jpg\" border=\"0\" height=\"225\" width=\"300\"\u003e\u003c\/td\u003e\n          \u003ctd\u003e\u003cimg src=\"\/images\/srf10b4.jpg\" border=\"0\" height=\"225\" width=\"257\"\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n\u003c\/center\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867350361,"sku":"SRF10\/A","price":40.33,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890036031833,"sku":"SRF10","price":40.33,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf10_140_4.jpg?v=1695766347"},{"product_id":"high-performance-ultrasonic-range-finder","title":"High Performance Ultrasonic Range Finder","description":"\u003cp\u003e \u003c\/p\u003e\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003e5V\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e15mA - 3mA Standby\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eFrequency\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003e40 Khz\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eRange\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e3cm - 6mt\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eMax Analogue Gain\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eVariable 94 to 1025 in 32 steps\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eUnits\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e\n            \u003cp\u003eRange reported in uS, mm or inches\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eConnection\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eI2C Standard\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eDimensions\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e43 x 20 x H 17 mm\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003eCommunication with the SRF08 ultrasonic rangefinder is via the I2C bus. This is available on popular controllers such as the OOPic and Stamp BS2p, as well as a wide variety of micro-controllers. To the programmer the SRF08 behaves in the same way as the ubiquitous 24xx series eeprom's, except that the I2C address is different. The default shipped address of the SRF08 is 0xE0. It can be changed by the user to any of 16 addresses E0, E2, E4, E6, E8, EA, EC, EE, F0, F2, F4, F6, F8, FA, FC or FE, therefore up to 16 sonar's can be used. In addition to the above addresses, all sonar's on the I2C bus will respond to add ress 0 - the General Broadcast address. This means that writing a ranging command to I2C address 0 (0x00) will start all sonar's ranging at the same time. This should be useful in ANN Mode (See below). The results must be read individually from each sonar's real address. We have \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/shop\/Examples.htm\"\u003e\u003cstrong\u003eexamples\u003c\/strong\u003e\u003c\/a\u003e of using the SRF08 module with a wide range of popular controllers.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eConnections\u003cbr\u003e\n\u003c\/b\u003eThe \"Do Not Connect\" pin should be left unconnected. It is actually the CPU MCLR line and is used once only in our workshop to program the PIC16F872 on-board after assembly, and has an internal pull-up resistor. The SCL and SDA lines should each have a pull-up resistor to +5v somewhere on the I2C bus. You only need one pair of resistors, not a pair for every module. They are normally located with the bus master rather than the slaves. The SRF08 is always a slave - never a bus master. If you need them, I recommend 1.8k resistors. Some modules such as the OOPic already have pull-up resistors and you do not need to add any more.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg border=\"0\" height=\"232\" width=\"302\" alt=\"\" src=\"http:\/\/www.xernuqvalzi.pro\/images\/srf08con.jpg\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eRegisters\u003c\/b\u003e\u003cbr\u003e\nThe SRF08 appears as a set of 36 registers.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eLocation\u003c\/td\u003e\n            \u003ctd width=\"32%\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eRead\u003c\/td\u003e\n            \u003ctd width=\"44%\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eWrite\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e0\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003eSoftware Revision\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003eCommand Register\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003e1\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003eLight Sensor\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003eMax Gain Register (default 31)\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e2\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e1st Echo High Byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003eRange Register (default 255)\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003e3\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003e1st Echo Low Byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003eN\/A\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e~~~~\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e~~~~\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e~~~~\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003e34\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003e17th Echo High Byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrGray\"\u003e\n            \u003cp align=\"center\"\u003eN\/A\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"24%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e35\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"32%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003e17th Echo Low Byte\u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd width=\"44%\" class=\"ProductDescrWhite\"\u003e\n            \u003cp align=\"center\"\u003eN\/A\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eOnly locations 0, 1 and 2 can be written to. Location 0 is the command register and is used to start a ranging session. It cannot be read. Reading from location 0 returns the SRF08 software revision.  By default, the ranging lasts for 65mS, but can be changed by writing to the range register at location 2. If you do so, then you will likely need to change the analogue gain by writing to location 1. See the \u003cb\u003eChanging Range\u003c\/b\u003e and \u003cb\u003eAnalogue Gain\u003c\/b\u003e sections below.\u003c\/p\u003e\n\u003cp align=\"left\"\u003eLocation 1 is the onboard light sensor. This data is updated every time a new ranging command has completed and can be read when range data is read. The next two locations, 2 and 3, are the 16bit unsigned result from the latest ranging - high byte first. The meaning of this value depends on the command used, and is either the range in inches, or the range in cm or the flight time in uS. A value of zero indicates that no objects were detected. There are up to a further 16 results indicating echo's from more distant objects.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eCommands\u003c\/b\u003e\u003cbr\u003e\nThe are three commands to initiate a ranging (80 to 82), to return the result in inches, centimeters or microseconds. There is also an ANN mode (Artificial Neural Network) mode which is described later and a set of commands to change the I2C address.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"34%\" colspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eCommand\u003c\/td\u003e\n            \u003ctd width=\"94%\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eAction\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e80\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x50\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003eRanging Mode - Result in inches\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e81\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e0x51\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003eRanging Mode - Result in centimeters\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e82\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x52\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003eRanging Mode - Result in micro-seconds\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e83\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x53\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003eANN Mode - Result in inches\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e84\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e0x54\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003eANN Mode - Result in centimeters\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e85\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x55\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003eANN Mode - Result in micro-seconds\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e160\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0xA0\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003e1st in sequence to change I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e165\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrGray\"\u003e0xA5\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrGray\"\u003e3rd in sequence to change I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e170\u003c\/td\u003e\n            \u003ctd width=\"18%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0xAA\u003c\/td\u003e\n            \u003ctd width=\"94%\" align=\"left\" class=\"ProductDescrWhite\"\u003e2nd in sequence to change I2C address\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eRanging Mode\u003c\/b\u003e\u003cbr\u003e\nTo initiate a ranging, write one of the above commands to the command register and wait the required amount of time for completion and read as many results as you wish. The echo buffer is cleared at the start of each ranging. The first echo range is placed in locations 2,3. the second in 4,5, etc. If a location (high and low bytes) is 0, then there will be no further reading in the rest of the registers. The default and recommended time for completion of ranging is 65mS, however you can shorten this by writing to the range register before issuing a ranging command. Light sensor data at location 1 will also have been updated after a ranging command.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eANN Mode\u003cbr\u003e\n\u003c\/b\u003eANN mode (Artificial Neural Network) is designed to provide the multi echo data in a way that is easier to input to a neural network, at least I hope it is - I've not actually done it yet. ANN mode provides a 32 byte buffer (locations 4 to 35 inclusive) where each byte represents the 65536uS maximum flight time divided into 32 chunks of 2048uS each - equivalent to about 352mm of range. If an echo is received within a bytes time slot then it will be set to no-zero, otherwise it will be zero. So if an echo is received from within the first 352mm, location 4 will be non-zero. If an object is detected 3m away the location 12 will be non-zero (3000\/352 = 8) (8+4=12). Arranging the data like this should be better for a neural net than the other formats. The input to your network should be 0 if the byte is zero and 1 if its non-zero. I have a SOFM (Self Organizing Feature Map) in mind for the neural net, but will hopefully be useful for any type.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"500\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrlHead style3\"\u003eLocation 4\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrlHead style3\"\u003eLocation 5\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrlHead style3\"\u003eLocation 6\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrlHead style3\"\u003eLocation 7\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrlHead style3\"\u003eLocations 8 - 35\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0 - 352mm\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrGray\"\u003e353 - 705mm\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrWhite\"\u003e706 - 1057mm\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrGray\"\u003e1058 - 1410mm\u003c\/td\u003e\n            \u003ctd width=\"20%\" align=\"center\" class=\"ProductDescrWhite\"\u003eand so on\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eLocations 2,3 contain the range of the nearest object converted to inches, cm or uS and is the same as for Ranging Mode.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChecking for Completion of Ranging\u003c\/b\u003e\u003cbr\u003e\nYou do not have to use a timer on your own controller to wait for ranging to finish. You can take advantage of the fact that the SRF08 will not respond to any I2C activity whilst ranging. Therefore, if you try to read from the SRF08 (we use the software revision number a location 0) then you will get 255 (0xFF) whilst ranging. This is because the I2C data line (SDA) is pulled high if nothing is driving it. As soon as the ranging is complete the SRF08 will again respond to the I2C bus, so just keep reading the register until its not 255 (0xFF) anymore. You can then read the sonar data. Your controller can take advantage of this to perform other tasks while the SRF08 is ranging.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChanging the Range\u003c\/b\u003e\u003cbr\u003e\nThe maximum range of the SRF08 is set by an internal timer. By default, this is 65mS or the equivalent of 11 metres of range. This is much further than the 6 metres the SRF08  is actually capable of. It is possible to reduce the time the SRF08 listens for an echo, and hence the range, by writing to the range register at location 2. The range can be set in steps of about 43mm (0.043m or 1.68 inches) up to 11 metres. \u003cbr\u003e\nThe range is ((Range Register x 43mm) + 43mm) so setting the Range Register to 0 (0x00) gives a maximum range of 43mm. Setting the Range Register to 1 (0x01) gives a maximum range of 86mm. More usefully, 24 (0x18) gives a range of 1 metre and 140 (0x8C) is 6 metres. Setting 255 (0xFF) gives the original 11 metres (255 x 43 + 43 is 11008mm). There are two reasons you may wish to reduce the range.\u003cbr\u003e\n1. To get at the range information quicker\u003cbr\u003e\n2. To be able to fire the SRF08 at a faster rate.\u003cbr\u003e\nIf you only wish to get at the range information a bit sooner and will continue to fire the SRF08 at 65ms of slower, then all will be well. However if you wish to fire the SRF08 at a faster rate than 65mS, you will definitely need to reduce the gain - see next section.\u003cbr\u003e\nThe range is set to maximum every time the SRF08 is powered-up. If you need a different range, change it once as part of your system initialization code.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eAnalogue Gain\u003c\/b\u003e\u003cbr\u003e\nThe analogue gain register sets the \u003ci\u003eMaximum\u003c\/i\u003e gain of the analogue stages. To set the maximum gain, just write one of these values to the gain register at location 1. During a ranging, the analogue gain starts off at its minimum value of 94. This is increased at approx. 70uS intervals up to the maximum gain setting, set by register 1. Maximum possible gain is reached after about 390mm of range. The purpose of providing a limit to the maximum gain is to allow you to fire the sonar more rapidly than 65mS. Since the ranging can be very short, a new ranging can be initiated as soon as the previous range data has been read. A potential hazard with this is that the second ranging may pick up a distant echo returning from the previous \"ping\", give a false result of a close by object when there is none. To reduce this possibility, the maximum gain can be reduced to limit the modules sensitivity to the weaker distant echo, whilst still able to detect close by objects. The maximum gain setting is stored only in the CPU's RAM and is initialized to maximum on power-up, so if you only want do a ranging every 65mS, or longer, you can ignore the Range and Gain Registers.\u003cbr\u003e\n\u003cspan class=\"style2\"\u003eNote\u003c\/span\u003e - Effective in Ranging Mode only, in ANN mode, gain is controlled automatically.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"400\" height=\"714\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"157\" height=\"19\" colspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eGain Register\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"40\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eMaximum Analogue Gain\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"77\" height=\"19\" align=\"center\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n            \u003ctd width=\"80\" height=\"19\" align=\"center\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x00\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 94\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x01\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 97\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x02\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 100\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x03\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 103\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x04\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 107\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x05\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 110\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x06\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 114\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x07\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 118\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e8\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x08\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 123\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e9\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x09\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 128\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x0A\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 133\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e11\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x0B\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 139\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e12\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x0C\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 145\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e13\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x0D\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 152\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e14\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x0E\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 159\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e15\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x0F\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 168\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e16\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x10\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 177\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e17\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x11\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 187\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e18\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x12\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 199\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e19\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x13\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 212\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e20\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x14\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 227\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e21\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x15\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 245\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e22\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x16\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 265\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e23\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x17\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 288\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e24\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x18\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 317\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e25\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x19\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 352\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e26\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x1A\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 395\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e27\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x1B\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 450\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e28\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x1C\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 524\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e29\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x1D\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 626\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e30\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003e0x1E\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrWhite\"\u003eSet Maximum Analogue Gain to 777\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"74\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e31\u003c\/td\u003e\n            \u003ctd width=\"81\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003e0x1F\u003c\/td\u003e\n            \u003ctd width=\"265\" height=\"19\" align=\"center\" class=\"ProductDescrGray\"\u003eSet Maximum Analogue Gain to 1025\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eNote that the relationship between the Gain Register setting and the actual gain is not a linear one. Also there is no magic formula to say \"use this gain setting with that range setting\". It depends on the size, shape and material of the object and what else is around in the room. Try playing with different settings until you get the result you want. If you appear to get false readings, it may be echo's from previous \"pings\", try going back to firing the SRF08 every 65mS or longer (slower). \u003cbr\u003e\nIf you are in any doubt about the Range and Gain Registers, remember they are automatically set by the SRF08 to their default values when it is powered-up. You can ignore and forget about them and the SRF08 will work fine, detecting objects up to 6 metres away every 65mS or slower.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eLight Sensor\u003c\/b\u003e\u003cbr\u003e\nThe SRF08 has a light sensor on-board. A reading of the light intensity is made by the SRF08 each time a ranging takes place in either Ranging or ANN Modes ( The A\/D conversion is actually done just before the \"ping\" whilst the +\/- 10v generator is stabilizing). The reading increases as the brightness increases, so you will get a maximum value in bright light and minimum value in darkness. It should get close to 2-3 in complete darkness and up to about 248 (0xF8) in bright light. The light intensity can be read from the Light Sensor Register at  location 1 at the same time that you are reading the range data.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eLED\u003c\/b\u003e\u003cbr\u003e\nThe red LED is used to flash out a code for the I2C address on power-up (see below). It also gives a brief flash during the \"ping\" whilst ranging.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChanging the I2C Bus Address\u003c\/b\u003e\u003cbr\u003e\nTo change the I2C address of the SRF08 you must have only one sonar on the bus. Write the 3 sequence commands in the correct order followed by the address. Example; to change the address of a sonar currently at 0xE0 (the default shipped address) to 0xF2, write the following to address 0xE0; (0xA0, 0xAA, 0xA5, 0xF2 ). These commands must be sent in the correct sequence to change the I2C address, additionally, No other command may be issued in the middle of the sequence. The sequence must be sent to the command register at location 0, which means 4 separate write transactions on the I2C bus. When done, you should label the sonar with its address, however if you do forget, just power it up without sending any commands. The SRF08 will flash its address out on the LED. One long flash followed by a number of shorter flashes indicating its address. The flashing is terminated immediately on sending a command the SRF08.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"45%\" colspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eAddress\u003c\/td\u003e\n            \u003ctd width=\"25%\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eLong Flash\u003c\/td\u003e\n            \u003ctd width=\"30%\" rowspan=\"2\" align=\"center\" class=\"ProductDescrlHead\"\u003eShort flashes\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e224\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eE0\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e226\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eE2\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e228\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eE4\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e230\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eE6\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e232\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eE8\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e234\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eEA\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e236\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eEC\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e238\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eEE\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e240\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eF0\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e8\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e242\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eF2\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e9\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e244\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eF4\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e246\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eF6\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e11\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e248\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eF8\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e12\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e250\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eFA\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e13\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003e252\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrWhite\"\u003eFC\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrWhite\"\u003e14\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003e254\u003c\/td\u003e\n            \u003ctd width=\"22%\" align=\"center\" class=\"ProductDescrGray\"\u003eFE\u003c\/td\u003e\n            \u003ctd width=\"25%\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n            \u003ctd width=\"30%\" align=\"center\" class=\"ProductDescrGray\"\u003e15\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eTake care not to set more than one sonar to the same address, there will be a bus collision and very unpredictable results.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eCurrent Consumption\u003c\/b\u003e\u003cbr\u003e\nAverage current consumption measured on our prototype is around 12mA during ranging, and 3mA standby. The module will automatically go to standby mode after a ranging, whilst waiting for a new command on the I2C bus. The actual measured current profile is as follows;\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd width=\"253\" align=\"center\" class=\"ProductDescrlHead\"\u003eOperation\u003c\/td\u003e\n            \u003ctd width=\"62\" align=\"center\" class=\"ProductDescrlHead\"\u003eCurrent\u003c\/td\u003e\n            \u003ctd width=\"65\" align=\"center\" class=\"ProductDescrlHead\"\u003eDuration\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"253\" align=\"center\" class=\"ProductDescrWhite\"\u003eRanging command received - Power on\u003c\/td\u003e\n            \u003ctd width=\"62\" align=\"center\" class=\"ProductDescrWhite\"\u003e275mA\u003c\/td\u003e\n            \u003ctd width=\"65\" align=\"center\" class=\"ProductDescrWhite\"\u003e3uS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"253\" align=\"center\" class=\"ProductDescrGray\"\u003e+\/- 10v generator Stabilization\u003c\/td\u003e\n            \u003ctd width=\"62\" align=\"center\" class=\"ProductDescrGray\"\u003e25mA\u003c\/td\u003e\n            \u003ctd width=\"65\" align=\"center\" class=\"ProductDescrGray\"\u003e600uS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"253\" align=\"center\" class=\"ProductDescrWhite\"\u003e8 cycles of 40kHz \"ping\"\u003c\/td\u003e\n            \u003ctd width=\"62\" align=\"center\" class=\"ProductDescrWhite\"\u003e40mA\u003c\/td\u003e\n            \u003ctd width=\"65\" align=\"center\" class=\"ProductDescrWhite\"\u003e200uS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"253\" align=\"center\" class=\"ProductDescrGray\"\u003eRanging\u003c\/td\u003e\n            \u003ctd width=\"62\" align=\"center\" class=\"ProductDescrGray\"\u003e11mA\u003c\/td\u003e\n            \u003ctd width=\"65\" align=\"center\" class=\"ProductDescrGray\"\u003e65mS max\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd width=\"253\" align=\"center\" class=\"ProductDescrWhite\"\u003eStandby\u003c\/td\u003e\n            \u003ctd width=\"62\" align=\"center\" class=\"ProductDescrWhite\"\u003e3mA\u003c\/td\u003e\n            \u003ctd width=\"65\" align=\"center\" class=\"ProductDescrWhite\"\u003eindefinite\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eThe above values are for guidance only, they are not tested on production units.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eChanging beam pattern and beam width\u003cbr\u003e\n\u003c\/b\u003eYou can't!\u003cb\u003e \u003c\/b\u003eThis is a question which crops up regularly, however there is no easy way to reduce or change the beam width that I'm aware of. The beam pattern of the SRF08 is conical with the width of the beam being a function of the surface area of the transducers and is fixed.  The beam pattern of the transducers used on the SRF08, taken from the manufacturers data sheet, is shown below.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg border=\"0\" height=\"296\" width=\"311\" alt=\"\" src=\"\/images\/srf08_beam.gif\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThere is more information in the \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sonar_faq.htm\"\u003e\u003cstrong\u003esonar faq\u003c\/strong\u003e.\u003cbr\u003e\n\u003c\/a\u003eHere you can have a  look at the \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/images\/srf08schematic.gif\"\u003e\u003cstrong\u003eschematic\u003c\/strong\u003e\u003c\/a\u003e and \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/srf08.c\"\u003e\u003cstrong\u003esoftware\u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867448665,"sku":"SRF08\/A","price":40.33,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890036293977,"sku":"SRF08","price":40.33,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf081_5.jpg?v=1695766354"},{"product_id":"4-20ma-current-loop-ultrasonic-range-finder","title":"4-20mA Current Loop Ultrasonic Range Finder","description":"\u003cdiv style=\"background-color: rgb(255, 255, 255); padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Arial, Verdana, sans-serif; font-size: 12px; \"\u003e\n\u003cp\u003e\u003cbr\u003e\nThe SRF06 is a low cost ultrasonic ranger with a 4-20mA current output. The SRF06 is powered from the 4-20mA current loop and requires no other power. Measurement range is from 2cm  to 5.1mtrs. Current output is from 4mA at zero range to 20mA at 5.1mtrs (510cm), which gives a nominal current of 4mA + 31.37uA\/cm. The SRF06 requires a loop driving voltage of 9v to 24v. The SRF06 automatically performs continuous ranging every 70-100mS. \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eConnections\u003c\/b\u003e\u003cbr\u003e\nThe SRF06 has only two connections, the positive and negative current loop. An on-board diode protects the module in case of reversed connections.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eConverting to a voltage output\u003c\/b\u003e\u003cbr\u003e\nUnless you are connecting to a PLC or similar controller with a 4-20mA interface, you are likely to prefer a voltage output. This is very easy to do by sending the current through a resistor. A 250 ohm resistor will have a voltage of 5v across it when 20mA is flowing (at the maximum range of 510cm). If you cannot find a 250 ohm resistor, just put two or more lower values in series to make up 250 ohm. For instance a 100 ohm and 150 ohm, as indicated below. This will give you 1v to 5v for a 4mA to 20mA input.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg height=\"575\" width=\"460\" border=\"0\" alt=\"\" src=\"http:\/\/www.robot-electronics.co.uk\/images\/SRF06-connect.gif\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThe SRF06 requires a minimum voltage of 9v. If 5v is being dropped across the 250 ohm resistor, then the minimum loop driving voltage is 14v (9v+5v). \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eThe other set of 5 pins\u003c\/b\u003e\u003cbr\u003e\nThe 5 pins marked \"programming pins\" are used once only during manufacture to program the Flash memory on the PIC16F630 chip. The PIC16F630's programming pins are also used for other functions on the SRF06, so make sure you don't connect anything to these pins, or you will disrupt the modules operation.\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThere is more information in the \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sonar_faq.htm\"\u003esonar faq.\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867514201,"sku":"SRF06\/A","price":19.13,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036228441,"sku":"SRF06","price":19.13,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf06_5.jpg?v=1695766360"},{"product_id":"low-cost-ultrasonic-range-finder-1","title":"Low Cost Ultrasonic Range Finder","description":"\u003cbr\u003e\n\u003cp\u003e\u003cb\u003eIntroduction\u003c\/b\u003e\u003cbr\u003e\nThe SRF05 is an evolutionary step from the SRF04, and has been designed to increase flexibility, increase range, and to reduce costs still further. As such, the SRF05 is fully compatible with the SRF04. Range is increased from 3 meters to 4 meters. A new operating mode (tying the mode pin to ground) allows the SRF05 to use a single pin for both trigger and echo, thereby saving valuable pins on your controller. When the mode pin is left unconnected, the SRF05 operates with separate trigger and echo pins, like the SRF04. The SRF05 includes a small delay before the echo pulse to give slower controllers such as the Basic Stamp and Picaxe time to execute their pulse in commands.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eMode 1 - SRF04 compatible - Separate Trigger and Echo\u003c\/b\u003e\u003cbr\u003e\n  This mode uses separate trigger and echo pins, and is the simplest mode to use. All code examples for the SRF04 will work for the SRF05 in this mode. To use this mode, just leave the mode pin unconnected - the SRF05 has an internal pull up resistor on this pin.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/srf05p2.jpg\" border=\"0\" height=\"337\" width=\"642\"\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/srf05tma.gif\" border=\"0\" height=\"376\" width=\"700\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eMode 2 - Single pin for both Trigger and Echo\u003c\/b\u003e\u003cbr\u003e\n  This mode uses a single pin for both Trigger and Echo signals, and is designed to save valuable pins on embedded controllers. To use this mode, connect the mode pin to the 0v Ground pin. The echo signal will appear on the same pin as the trigger signal. The SRF05 will not raise the echo line until 700uS after the end of the trigger signal. You have that long to turn the trigger pin around and make it an input and to have your pulse measuring code ready. The PULSIN command found on many popular controllers does this automatically.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/srf05p1.jpg\" border=\"0\" height=\"337\" width=\"641\"\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/srf05tmb.gif\" border=\"0\" height=\"339\" width=\"700\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eTo use mode 2 with the Basic Stamp BS2, you simply use PULSOUT and PULSIN on the same pin, like this:\u003c\/p\u003e\n\u003cdiv align=\"left\"\u003e\n  \u003ctable bgcolor=\"#00ff00\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd\u003e\u003cfont face=\"Fixedsys\"\u003e\u003cbr\u003e\n          SRF05 PIN 15             ' use any pin for both trigger and echo\u003cbr\u003e\n          Range VAR Word           ' define the 16 bit range variable\u003cbr\u003e\n                  \u003cbr\u003e\n          SRF05 = 0                ' start with pin low\u003cbr\u003e\n          PULSOUT SRF05, 5         ' issue 10uS trigger pulse (5 x 2uS)\u003cbr\u003e\n          PULSIN SRF05, 1, Range   ' measure echo time\u003cbr\u003e\n          Range = Range\/29         ' convert to cm (divide by 74 for inches) \u003cbr\u003e\n  \u003c\/font\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cb\u003eCalculating the Distance\u003cbr\u003e\n  \u003c\/b\u003eThe SRF05 Timing diagrams are shown above for each mode. You only need to supply a short 10uS pulse to the trigger input to start the ranging. The SRF05 will send out an 8 cycle burst of ultrasound at 40khz and raise its echo line high (or trigger line in mode 2). It then listens for an echo, and as soon as it detects one it lowers the echo line again. The echo line is therefore a pulse whose width is proportional to the distance to the object. By timing the pulse it is possible to calculate the range in inches\/centimeters or anything else. If nothing is detected then the SRF05 will lower its echo line anyway after about 30mS.\u003c\/p\u003e\n\u003cp\u003e The SRF04 provides an echo pulse proportional to distance. If the width of the pulse is measured in uS, then dividing by 58 will give you the distance in cm, or dividing by 148 will give the distance in inches. uS\/58=cm or uS\/148=inches.\u003c\/p\u003e\n\u003cp\u003eThe SRF05 can be triggered as fast as every 50mS, or 20 times each second. You should wait 50ms before the next trigger, even if the SRF05 detects a close object and the echo pulse is shorter. This is to ensure the ultrasonic \"beep\" has faded away and will not cause a false echo on the next ranging.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eThe other set of 5 pins\u003c\/b\u003e\u003cbr\u003e\n  The 5 pins marked \"programming pins\" are used once only during manufacture to program the Flash memory on the PIC16F630 chip. The PIC16F630's programming pins are also used for other functions on the SRF05, so make sure you don't connect anything to these pins, or you will disrupt the modules operation.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eChanging beam pattern and beam width\u003cbr\u003e\n  \u003c\/b\u003eYou can't!\u003cb\u003e \u003c\/b\u003eThis is a question which crops up regularly, however there is no easy way to reduce or change the beam width that I'm aware of. The beam pattern of the SRF05 is conical with the width of the beam being a function of the surface area of the transducers and is fixed.  The beam pattern of the transducers used on the SRF05, taken from the manufacturers data sheet, is shown below.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/srf05_beam.gif\" width=\"311\" height=\"296\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867907417,"sku":"SRF05\/A","price":19.13,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036261209,"sku":"SRF05","price":19.13,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf05a_4.jpg?v=1695766367"},{"product_id":"low-cost-ultrasonic-range-finder","title":"Low Cost Ultrasonic Range Finder","description":"\u003cbr\u003e\n\u003cp\u003e\n\u003c\/p\u003e\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e5V\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e30mA - 50mA Max \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eFrequency\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e40 Khz \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eRange\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e3cm - 3mt \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eSensitivity\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eDetect 3cm diameter broom handle at \u0026gt; 2 m\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eInput Trigger \u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e\u003cp\u003e10uS Min. TTL level pulse\u003c\/p\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eEcho Pulse \u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003ePositive TTL level signal, width proportional to range \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eDimensions\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e43 x 20 x H 17 mm \u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe SRF04 was designed to be just as easy to use as the Polaroid sonar, requiring a short trigger pulse and providing an echo pulse. Your controller only has to time the length of this pulse to find the range. The connections to the SRF04 are shown below:\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/srf_conect.jpg\" border=\"0\" height=\"234\" width=\"236\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThe SRF04 Timing diagram is shown below. You only need to supply a short 10uS pulse to the trigger input to start the ranging. The SRF04 will send out an 8 cycle burst of ultrasound at 40khz and raise its echo line high. It then listens for an echo, and as soon as it detects one it lowers the echo line again. The echo line is therefore a pulse whose width is proportional to the distance to the object. By timing the pulse it is possible to calculate the range in inches\/centimeters or anything else. If nothing is detected then the SRF04 will lower its echo line anyway after about 36mS.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003e\u003cimg src=\"http:\/\/www.xernuqvalzi.pro\/images\/timing.gif\" border=\"0\" height=\"262\" width=\"500\"\u003e\u003c\/b\u003e\u003c\/p\u003e\n\u003cp\u003eThe circuit is designed to be low cost. It uses a PIC12C508 to perform the control functions and standard 40khz piezo transducers. The drive to the transmitting transducer could be simplest driven directly from the PIC. The 5v drive can give a useful range for large objects, but can be problematic detecting smaller objects. The transducer can handle 20v of drive, so I decided to get up close to this level. A MAX232 IC, usually used for RS232 communication makes and ideal driver, providing about 16v of drive.\u003c\/p\u003e\n\u003cp\u003eThe receiver is a classic two stage op-amp circuit. The input capacitor C8 blocks some residual DC which always seems to be present. Each gain stage is set to 24 for a total gain of 576-ish. This is close the 25 maximum gain available using the LM1458. The gain bandwidth product for the LM1458 is 1Mhz. The maximum gain at 40khz is 1000000\/40000 = 25. The output of the amplifier is fed into an LM311 comparator. A small amount of positive feedback provides some hysterisis to give a clean stable output.\u003c\/p\u003e\n\u003cp\u003eThe problem of getting operation down to 1-2cm is that the receiver will pick up direct coupling from the transmitter, which is right next to it. To make matters worse the piezo transducer is a mechanical object that keeps resonating some time after the drive has been removed. Up to 1mS depending on when you decide it has stopped. It is much harder to tell the difference between this direct coupled ringing and a returning echo, which is why many designs, including the Polaroid module, simply blank out this period. Looking at the returning echo on an oscilloscope shows that it is much larger in magnitude at close quarters than the cross-coupled signal. I therefore adjust the detection threshold during this time so that only the echo is detectable. The 100n capacitor C10 is charged to about ?6v during the burst. This discharges quite quickly through the 10k resistor R6 to restore sensitivity for more distant echo?s.\u003c\/p\u003e\n\u003cp\u003eA convenient negative voltage for the op-amp and comparator is generated by the MAX232. Unfortunately, this also generates quite a bit of high frequency noise. I therefore shut it down whilst listening for the echo. The 10uF capacitor C9 holds the negative rail just long enough to do this.\u003c\/p\u003e\n\u003cp\u003eIn operation, the processor waits for an active low trigger pulse to come in. It then generates just eight cycles of 40khz. The echo line is then raised to signal the host processor to start timing. The raising of the echo line also shuts of the MAX232. After a while ? no more than 10-12mS normally, the returning echo will be detected and the PIC will lower the echo line. The width of this pulse represents the flight time of the sonic burst. If no echo is detected then it will automatically time out after about 30mS (Its two times the WDT period of the PIC). Because the MAX232 is shut down during echo detection, you must wait at least 10mS between measurement cycles for the +\/- 10v to recharge.\u003c\/p\u003e\n\u003cp\u003ePerformance of this design is, I think, quite good. It will reliably measure down to 3cm and will continue detecting down to 1cm or less but after 2-3cm the pulse width doesn?t get any smaller.\u003c\/p\u003e\n\u003cp\u003eMaximum range is a little over 3m. As and example of the sensitivity of this design, it will detect a 1inch thick plastic broom handle at 2.4m.\u003cbr\u003e\n  Average current consumption is reasonable at less than 50mA and typically about 30mA.\u003c\/p\u003e\n\u003cp\u003eDownload the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/srf1.asm\" target=\"_blank\"\u003e\u003cstrong\u003esource code\u003c\/strong\u003e\u003c\/a\u003e and a ready assembled \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/srf1.hex\" target=\"_blank\"\u003e\u003cstrong\u003ehex file\u003c\/strong\u003e\u003c\/a\u003e. \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eCalculating the Distance\u003c\/b\u003e\u003cbr\u003e\n  The SRF04 provides an echo pulse proportional to distance. If the width of the pulse is measured in uS, then dividing by 58 will give you the distance in cm, or dividing by 148 will give the distance in inches. uS\/58=cm or uS\/148=inches.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eChanging beam pattern and beam width\u003cbr\u003e\n  \u003c\/b\u003eYou can't!\u003cb\u003e \u003c\/b\u003eThis is a question which crops up regularly, however there is no easy way to reduce or change the beam width that I'm aware of. The beam pattern of the SRF04 is conical with the width of the beam being a function of the surface area of the transducers and is fixed.  The beam pattern of the transducers used on the SRF04, taken from the manufacturers data sheet, is shown below.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/srf04_beam.gif\" border=\"0\" height=\"296\" width=\"311\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003eThere is more information in the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sonar_faq.htm\" target=\"_blank\"\u003e\u003cstrong\u003esonar faq\u003c\/strong\u003e.\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eUpdate - May 2003\u003c\/b\u003e\u003cbr\u003e\n  Since the original design of the SRF04 was published, there have been incremental improvements to improve performance and manufacturing reliability. The op-amp is now an LMC6032 and the comparator is an LP311. The 10uF capacitor is now 22uF and a few resistor values have been tweaked.  These changes have happened over a period of time.\u003c\/p\u003e\n\u003cp\u003eAll SRF04's manufactured after May 2003 have new software implementing an optional timing control input using the \"do not connect\" pin. This connection is the PIC's Vpp line used to program the chip after assembly. After programming its just an unused input with a pull-up resistor. When left unconnected the SRF04 behaves exactly as it always has and is described above. When the \"do not connect\" pin is connected to ground (0v), the timing is changed slightly to allow the SRF04 to work with the slower controllers such as the Picaxe. The SRF04's \"do not connect\" pin now acts as a timing control. \u003cb\u003e This pin is pulled high by default and when left unconnected, the timing remains exactly as before.\u003c\/b\u003e With the timing pin pulled low (grounded) a 300uS delay is added between the end of the trigger pulse and transmitting the sonic burst. Since the echo output is not raised until the burst is completed, there is no change to the range timing, but the 300uS delay gives the Picaxe time to sort out which pin to look at and start doing so. The new code has shipped in all SRF04's since the end of April 2003. The new code is also useful when connecting the SRF04 to the slower Stamps such as the BS2. Although the SRF04 works with the BS2, the echo line needs to be connected to the lower numbered input pins. This is because the Stamps take progressively longer to look at the higher numbered pins and can miss the rising edge of the echo signal. In this case you can connect the \"do not connect\" pin to ground and give it an extra 300uS to get there. \u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867940185,"sku":"SRF04\/A","price":23.85,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890036326745,"sku":"SRF04","price":23.85,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf04_front_5.jpg?v=1695766373"},{"product_id":"srf02-ultrasonic-range-finder","title":"SRF02 Ultrasonic range finder","description":"\u003cp\u003e\u003cbr\u003e\nThe \u003cstrong\u003eSRF02\u003c\/strong\u003e is a single transducer ultrasonic rangefinder in a small footprint  PCB. It features both I2C and a Serial interfaces. The serial interface is a  standard TTL level UART format at 9600 baud,1 start, 2 stop and no parity bits, and may be connected directly to  the serial ports on any microcontroller. Up to 16 SRF02's may be connected  together on a single bus, either I2C or Serial. New commands in the SRF02  include the ability to send an ultrasonic burst on its own without a reception  cycle, and the ability to perform a reception cycle without the preceding burst.  This has been as requested feature on our sonar's and the SRF02 is the first  to see its implementation. Because the SRF02 uses a single transducer for both  transmission and reception, the minimum range is higher than our other dual  transducer rangers. The minimum measurement range is around 15cm (6 inches).  Like all our rangefinders, the SRF02 can measure in uS, cm or inches.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003e \u003c\/p\u003e\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n            \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003e5V\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e4mA\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eFrequency\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003e40 Khz\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eRange\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e15cm - 4mt\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eCalibration\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eFull automatic tuning\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eAnalogue Gain\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e\n            \u003cp\u003eAutomatic 64 step gain control\u003c\/p\u003e\n            \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eModes\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrWhite\"\u003eSerial Bus or I2C Bus\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003eDimensions\u003c\/td\u003e\n            \u003ctd class=\"ProductDescrGray\"\u003e24 x 20 x H 17 mm\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eSRF02 USB\u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\u003ctable border=\"0\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e\u003cimg border=\"0\" height=\"240\" width=\"300\" alt=\"\" src=\"\/images\/srf02_usb.jpg\"\u003e\u003c\/td\u003e\n            \u003ctd\u003e   \n            \u003cp\u003e \u003c\/p\u003e\n            \u003c\/td\u003e\n            \u003ctd\u003e\u003cimg border=\"0\" height=\"262\" width=\"249\" alt=\"\" src=\"\/images\/srf02dlg.gif\"\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/center\u003e\u003c\/div\u003e\n\u003cp align=\"left\"\u003eConnecting the SRF02 to your PC via USB is this easy. The \u003ca target=\"_blank\" href=\"http:\/\/www.xernuqvalzi.pro\/product_info.php?products_id=672\"\u003e\u003cstrong\u003eUSBI2C\u003c\/strong\u003e\u003c\/a\u003e  module supplies the SRF02 with power directly from the USB bus. The  USB_I2C_SRF02 program can be \u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/USB_I2C_SRF02.exe\"\u003e\u003cstrong\u003edownloaded  here\u003c\/strong\u003e\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg border=\"0\" height=\"252\" width=\"295\" alt=\"\" src=\"\/images\/srf02mech.gif\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eOperating Modes:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cimg width=\"24\" height=\"24\" align=\"absmiddle\" alt=\"\" src=\"..\/images\/pdfsm.gif\"\u003e \u003ca target=\"_blank\" href=\"..\/download\/srf02_i2c.pdf\"\u003eI2C Mode (110K) \u003c\/a\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cimg width=\"24\" height=\"24\" align=\"absmiddle\" alt=\"\" src=\"..\/images\/pdfsm.gif\"\u003e \u003ca target=\"_blank\" href=\"..\/download\/srf02_serial.pdf\"\u003eSerial Mode  (110K) \u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169867972953,"sku":"SRF02\/A","price":15.03,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036588889,"sku":"SRF02","price":15.03,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf02_4.jpg?v=1695766380"},{"product_id":"srf01-ultrasonic-range-finder","title":"SRF01 Ultrasonic range finder","description":"\u003cbr\u003e\n\n\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e3,3 .... 5,5V\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e11mA (25mA during ranging)\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eFrequency\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e40 Khz \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eRange\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e18cm - 6mt (0cm - 600cm calibration required)\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eData Interface\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eSerial TTL Signal\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eBus\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e\u003cp\u003eUp to 16 SRF01 on same bus\u003c\/p\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eUnits\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eCM or INCHES\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eWeight\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e2,7 grams\u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\n\n\n\nOverview\u003cbr\u003e\nThe SRF01 is a single transducer ultrasonic rangefinder in a very small\nfootprint PCB. Connection is to a single pin Serial interface. The serial\ninterface is a standard TTL level UART format of 1 start, 1 stop and no parity\nbits, and may be connected directly to many controllers, such as the Basic\nStamps or the PICAXE. Baud rate at power-up is always 9600, there is a command\nto change this to 19200 or 38400 baud if preferred. Up to 16 SRF01's may be\nconnected together on a single bus. Like all\nour rangefinders, the SRF01 can measure in Cm or Inches.\n\n\u003cp align=\"left\"\u003e\u003cb\u003ePower Requirements\u003c\/b\u003e\u003cbr\u003e\nThe SRF01 accepts any voltage between 3.3v and 12v, however the recommended\nmaximum is 5.5v. Internally, it operates at\n3.3v and there is a low dropout regulator already on the SRF01 to provide this.\nThe serial I\/O pin operates at 3.3v and also 5v tolerant, so you can connect it directly to\n3.3v or 5v signals. Operating current during ranging is 25mA, 11mA in standby\n(waiting for a command) and around 55uA in sleep mode (shutdown).\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eSingle Pin Serial Communication\u003c\/b\u003e\u003cbr\u003e\nSerial data is 1 start, 1 stop and no parity bits. Serial data is a TTL level\nsignal - \u003cb\u003e It is NOT RS232\u003c\/b\u003e. Do not connect the SRF01 to an RS232 port - you will\ndestroy the module! Communication with the SRF01 is with both serial input and\nserial output on a single pin. The SRF01 will be listening at all times except\nwhen it is actually sending data, and will go back to listening as soon as its\nfinished. To communicate with the SRF01, you simply need to send a\n\"break\", followed by two bytes, the address of the SRF01 (factory\ndefault is 1) and the command. A \"break\" is just a low level for 12\nbit times or longer. 1.5mS or more will be fine. It is used to synchronize transfers on the 1-wire serial\nbus. The default shipped address can be \u003ca href=\"#Address\"\u003echanged by the user\u003c\/a\u003e\nto any of 16 addresses 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 or 16,\nand therefore up to 16 sonar's can be used. Note - this range is different to\nthe SRF02 which has addresses 0-15. The reason is that for specific commands\nonly all SRF01's regardless of their programmed address, will respond to\naddress 0. This makes it easy to start all SRF01s ranging at the same time.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eBaud Rate\u003c\/b\u003e\u003cbr\u003e\nThe serial baud rate on the SRF01 always starts at 9600 on power up. It can be\nchanged to 19200 or 38400 if you wish. It will revert to 9600 at the next power\nup. To change the baud rate, just send a \"break\" followed by the\ngeneral call address of zero (not the module address), then command 0x64 for 19200 or command\n0x65 for 38400. You can only send the command to address zero to change all\nSRF01's at the same time.\u003c\/p\u003e\n\n\u003cp align=\"left\"\u003e\u003cb\u003eConnections\u003cbr\u003e\n\u003c\/b\u003eThe connections to the SRF01 are shown below. If you're using multiple SRF01's,\nyou can connect them all up to the same serial port on your controller. Just\nmake sure all the SRF01's are programmed to different addresses. There is a weak\npull-up resistor (47k) to 3.3v on the module, to pull the Tx line up to a logic\nhigh level when none of the SRF01's are transmitting.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/SRF01Connection.png\" border=\"0\" height=\"345\" width=\"356\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eCommands\u003cbr\u003e\n\u003c\/b\u003e\nTo send a command to the SRF01, you need to send a \"break\" followed by\ntwo bytes. The first is the SRF01's address 1 to 16, (0x01 to 0x10) and then the\nactual command itself - see below. There are two commands to initiate a ranging\n(80 to 81) giving results in inches and centimeters. These two commands\ndon't Transmit the result back to your controller. You should wait 70mS and then use\ncommand 94 to get the result of the ranging. Another set of two commands (83 to\n84) do the same, but also transmits the result of the ranging back to your\ncontroller as soon as it is available. Together, these four commands (80,81,84\n\u0026amp; 84) are called \"Real\" because they perform a complete ranging.\nThere is another set of four commands (86, 87, 89 \u0026amp; 90) called\n\"Fake\". They are the same as the \"Real\" commands except that\nthey do not send the 8-cycle ultrasonic burst out. These are used where the burst has been\ntransmitted by another sonar. It is up to you to synchronize the commands to the\ntwo sonar's. There is a command (92) to transmit a burst without doing the\nranging.\u003cbr\u003e\n\nCommand 93 is used to get the firmware revision of the SRF01.\u003cbr\u003e\nCommand 94 gets returns two bytes (high byte first) from the most recent\nranging. Put them together to make a 16-bit result.\u003cbr\u003e\nCommand 95 gets the status byte. Bit 0 is the \"Lock\" bit. it is low (0)\nafter power up, after the \"Unlock\" command is executed and after the\nmodule exits sleep mode. It goes high after 6 rangings have been completed with\nat least 30cm of free space in front of the sonar. See \u003ca href=\"#Advanced\"\u003eAdvanced\nMode\u003c\/a\u003e for more details.\u003cbr\u003e\nCommand 96 is used to place the SRF01 in a low power sleep mode. See \u003ca href=\"#Sleep%20Mode\"\u003eSleep\nMode\u003c\/a\u003e for more details.\u003cbr\u003e\nCommands 98 \u0026amp; 99 are used to enable\/disable Advanced Mode.\u003c\/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n  \u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\"\u003e\n    \u003ctbody\u003e\n\u003ctr\u003e\n      \u003ctd colspan=\"2\" align=\"center\"\u003eCommand\u003c\/td\u003e\n      \u003ctd rowspan=\"2\" align=\"center\"\u003eAddress 0 Access\u003c\/td\u003e\n      \u003ctd rowspan=\"2\" align=\"center\"\u003eAction\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003eDecimal\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003eHex\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e80\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x50\u003c\/td\u003e\n\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eReal Ranging Mode - Result in inches \u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e81\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x51\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n\n      \u003ctd align=\"left\"\u003eReal Ranging Mode - Result in centimeters\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e \u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e83\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x53\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eReal Ranging Mode - Result in inches, automatically Tx\n        range back to controller as soon as ranging is complete.\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e84\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x54\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eReal Ranging Mode - Result in centimeters, automatically\n        Tx range back to controller as soon as ranging is complete.\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e \u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e86\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x56\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n\n      \u003ctd align=\"left\"\u003eFake Ranging Mode - Result in inches \u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e87\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x57\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eFake Ranging Mode - Result in centimeters\u003c\/td\u003e\n\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e \u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e89\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e0x59\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eFake Ranging Mode - Result in inches, automatically Tx\n        range back to controller as soon as ranging is complete.\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e90\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x5A\u003c\/td\u003e\n\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eFake Ranging Mode - Result in centimeters, automatically\n        Tx range back to controller as soon as ranging is complete.\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e \u003c\/td\u003e\n\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e92\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x5C\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eTransmit an 8 cycle 40khz burst - no ranging takes place\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e93\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x5D\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eGet software version - sends a single byte back to the\n        controller\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e94\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x5E\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eGet Range, returns two bytes (high byte first) from the\n        most recent ranging.\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e95\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e0x5F\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eGet Status, returns a single byte. Bit 0 indicates\n        \"Transducer locked\", Bit 1 indicates\n        \"Advanced Mode\"\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e96\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x60\u003c\/td\u003e\n\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eSleep, shuts down the SRF01 so that it uses very low\n        power (55uA).\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e97\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x61\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n\n      \u003ctd align=\"left\"\u003eUnlock. Causes the SRF01 to release and re-acquire its\n        \"Transducer lock\". Used by our factory test routines.\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e98\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x62\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eSet Advanced Mode (Factory default) - When locked, SRF01 will range down to\n        zero.\u003c\/td\u003e\n\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e99\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x63\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eClear Advanced Mode - SRF01 will range down to approx. 12cm\/5in,\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e100\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x64\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eChanges the baud rate to 19200\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e101\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0x65\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eYes\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003eChanges the baud rate to 38400\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"100\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"center\"\u003e \u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e \u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e160\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0xA0\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n\n      \u003ctd align=\"left\"\u003e1st in sequence to change I2C address\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e165\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0xA5\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e3rd in sequence to change I2C address\u003c\/td\u003e\n\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e170\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"100\"\u003e0xAA\u003c\/td\u003e\n      \u003ctd align=\"center\"\u003eNo\u003c\/td\u003e\n      \u003ctd align=\"left\"\u003e2nd in sequence to change I2C address\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003eNone of the commands which return data can use address 0. That\nwould mean SRF01's trying to transmit data at the same time, and is prevented.\u003cbr\u003e\nMost commands which do not return data are allowed to use address 0. Exceptions\nare address\nchange commands.\u003cbr\u003e\nThe advantage of allowing address 0 access is that by sending a ranging command\nsuch as 0x51 (81 decimal), all SRF01s will start ranging at the same time. After\n70mS, you can then get the results from each SRF01 at its own address.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eLED\u003c\/b\u003e\u003cbr\u003e\nThe Led gives a brief flash during the \"ping\" whilst ranging. If the\ntransducer has not locked, the Led is on with a brief flash off. If the\ntransducer is locked, the Led is off with a brief flash on. \u003cbr\u003e\nIf you power up the SRF01 without sending any commands, it will flash its\naddress out on the LED. One long flash followed by a number of shorter flashes\nindicating its address. The flashing is terminated immediately on sending a\ncommand sequence to the SRF01.\u003c\/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n  \u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"45%\"\u003e\n    \u003ctbody\u003e\n\u003ctr\u003e\n      \u003ctd colspan=\"2\" align=\"center\" width=\"45%\"\u003eAddress\u003c\/td\u003e\n      \u003ctd rowspan=\"2\" align=\"center\" width=\"25%\"\u003eLong Flash\u003c\/td\u003e\n      \u003ctd rowspan=\"2\" align=\"center\" width=\"30%\"\u003eShort flashes\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003eDecimal\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003eHex\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e01\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e0\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e2\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e02\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"30%\"\u003e1\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e3\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e03\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e2\u003c\/td\u003e\n\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e4\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e04\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e3\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e5\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e05\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e4\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n\n      \u003ctd align=\"center\" width=\"23%\"\u003e6\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e06\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e5\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e7\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"22%\"\u003e07\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e6\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e8\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e08\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e7\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e9\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e09\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"30%\"\u003e8\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e10\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e0A\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e9\u003c\/td\u003e\n\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e11\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e0B\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e10\u003c\/td\u003e\n    \u003c\/tr\u003e\n\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e12\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e0C\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e11\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n\n      \u003ctd align=\"center\" width=\"23%\"\u003e13\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e0D\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e12\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e13\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"22%\"\u003e0E\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e13\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e15\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e0F\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"30%\"\u003e14\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"23%\"\u003e16\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"22%\"\u003e10\u003c\/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e1\u003c\/td\u003e\n\n      \u003ctd align=\"center\" width=\"30%\"\u003e15\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003e\u003ca name=\"Address\"\u003e\u003c\/a\u003eChanging the SRF01 Address\u003c\/b\u003e\u003cbr\u003e\nTo change the address of the SRF01 you must have only one sonar connected. Write\nthe sequence of three commands in the correct order followed by the address. Example;\nto change the address of a sonar currently at 1 (the default shipped address) to\n5, write the following to address 1; (0xA0, 0xAA, 0xA5, 0x05 ). These commands\nmust be sent in the correct sequence to change the address, additionally, No\nother command may be issued in the middle of the sequence. The sequence must be\nsent as four separate commands to the current address of the sonar. i.e.\n\"break\" 0x01,\n0xA0 then \"break\" 0x01, 0xAA, then \"break\" 0x01, 0xA5 and finally\n\"break\" 0x01, 0x05. When done, you\nshould label the sonar with its new address. Take care not to set more than one\nsonar to the same address, there will be a bus collision and very unpredictable\nresults. The new address is stored in flash memory on the SRF01 and will remain,\neven if power is removed, until deliberately changed.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eStandard Mode\u003c\/b\u003e\u003cbr\u003e\nIn standard mode the SRF01 measures from approx 18cm (7 inches) to 600cm (19ft).\nIt requires no calibration or tuning to achieve this range. Standard mode is\nrecommended for commercial applications where the requirements of advanced mode\ncannot be met. To set standard mode send the Clear Advanced Mode command, 99\ndecimal or 0x63.\u003c\/p\u003e\n\n\u003cp align=\"left\"\u003e\u003cb\u003e\u003ca name=\"Advanced\"\u003e\u003c\/a\u003eAdvanced Mode\u003c\/b\u003e\u003cbr\u003e\nThis is the factory default mode. In this mode it is possible for the SRF01 to measure range all\nthe way down to zero.\nInitially, the minimum range the SRF01 can detect is around 18cm or 7 inches. For the SRF01\nto be able to measure all the way down to 0cm, it acquires a precision crystal lock on\nthe transducer's characteristics. This happens after 5 rangings have been\ncompleted with 30cm or more of free space in front of the sensor. When this\nhappens the \"lock\" bit is set (bit 0 in the status byte) and the SRF01\ncan measure from 0 to 600cm (0-6meters). \u003c\/p\u003e\n\u003cp align=\"left\"\u003e During operation the SRF01 maintains\nthe transducer lock automatically, provided it gets an occasional (every few\nminutes) set of 5 consecutive rangings of\ngreater than 30cm. The \"lock\" state of the SRF01 can be checked in by\nreading the \"Lock\" bit, which is bit 0 in the status register. A high\n(or logic 1) indicates transducer lock has been achieved and the SRF01 will work\ndown to 0cm. Where the SRF01 is not able to maintain its lock, it will release\nit (lock bit = zero) and re-acquire it as soon as possible. \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003e\u003ca name=\"Sleep%20Mode\"\u003eSleep Mode\u003c\/a\u003e\u003c\/b\u003e\u003cbr\u003e\nWhen placed in sleep mode, all activity on the SRF01's processor ceases. The\nmodule shuts down and power consumption is reduced to a minimum. This is just a\ncombination of quiescent current in the regulator and leakage current of the\nprocessor. Typically 55uA. To wake the SRF01 up from sleep mode send 0xFF. Don't\nsend anything else - no \"break\", no address, because the 0xFF byte is\nnot a command, it's really just a single transition on the Rx line that wakes up\nall SRF01's on the serial bus. After waking up the SRF01, you should wait 2mS\nfor the processor clocks to stabilise before sending commands.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eTesting\u003c\/b\u003e\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n  \u003ctable border=\"0\"\u003e\n\n    \u003ctbody\u003e\n\u003ctr\u003e\n      \u003ctd\u003e\n        \u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/srf01-s22.gif\" border=\"0\" height=\"143\" width=\"254\"\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n      \u003ctd width=\"10\"\u003e\u003c\/td\u003e\n      \u003ctd\u003e\u003ca href=\"..\/files\/cs_srf01.zip\"\u003e\u003cimg src=\"..\/images\/srf01Testprog.png\" border=\"0\" height=\"156\" width=\"300\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\n\u003cp align=\"center\"\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003eWe have a small test program, written in C# which controls the\nSRF01 via the Acroname\nS22 module. A small schottky diode is used to prevent the SRF01 trying to\ndrive the S22's output line (data from the PC). You will need to download and\ninstall the \u003ca href=\"http:\/\/www.ftdichip.com\/\" target=\"_blank\"\u003eFTDI VCP\u003c\/a\u003e drivers to use the\nS22. \u003cbr\u003e\nThe complete\nproject directory, with all source files, can be \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/cs_srf01.zip\" target=\"_blank\"\u003e downloaded\nhere\u003c\/a\u003e. To use this\nprogram you should download and install \u003ca href=\"http:\/\/www.microsoft.com\/express\/vcsharp\/\" target=\"_blank\"\u003eMicrosoft\nVisual C# 2008\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eMounting the SRF01\u003c\/b\u003e\u003cbr\u003e\n\nA rubber grommet is supplied to mount the SRF01. To use this make a 20mm cutout\nin your panel and fit the grommet. The SRF01 will then snuggly push into the\nhole in the grommet. Maximum panel thickness is 1.7mm.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/srf01mounting.jpg\" border=\"0\" height=\"269\" width=\"400\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eExamples\u003c\/b\u003e\u003cbr\u003e\nFurther examples of using the SRF01 can be found on our \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/acatalog\/examples.html\" target=\"_blank\"\u003eexamples\u003c\/a\u003e\npage.\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868005721,"sku":"SRF01\/A","price":25.17,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890036818265,"sku":"SRF01","price":25.17,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/srf01_7.jpg?v=1695766387"},{"product_id":"84-channels-multifunction-servo-controller","title":"84 Channels Multifunction Servo Controller","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable cellspacing=\"0\" cellpadding=\"0\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"182\" align=\"right\"\u003e\u003cem\u003eServo Channels \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd width=\"19\" height=\"21\" align=\"left\"\u003e\n\u003cp\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd width=\"448\"\u003e\u003cem\u003eup to 84 \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003e\u003cem\u003eLogic Outputs \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"left\"\u003e\u003cem\u003eup to 84 \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003e\u003cem\u003eLogic Inputs \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"left\"\u003e\u003cem\u003eup to 84 \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003e\u003cem\u003e10-bit Analogue Inputs \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"left\"\u003e\u003cem\u003eup to 36 \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003e\u003cem\u003eServo Refresh Rate \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"left\"\u003e\u003cem\u003e20us under all conditions \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003e\u003cem\u003ePosition Control \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"left\"\u003e\u003cem\u003eDirectly programmable in uS \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003e\u003cem\u003eSpeed Control \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd align=\"left\"\u003e\u003cem\u003eFrom maximum down to 20 seconds for full rotation \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"182\" align=\"right\"\u003e\u003cem\u003eLogic Power \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd width=\"19\" align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd width=\"448\" align=\"left\"\u003e\u003cem\u003eDirect from the USB Bus \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"182\" align=\"right\"\u003e\u003cem\u003eServo Power \u003c\/em\u003e\u003c\/td\u003e\n\u003ctd width=\"19\" align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n\u003ctd width=\"448\" align=\"left\"\u003e\u003cem\u003eSeparate terminals for voltage of your choice in groups of 8 servo's \u003c\/em\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"right\"\u003eControl Interface\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e-\u003c\/td\u003e\n\u003ctd align=\"left\"\u003eUSB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eOverview\u003c\/strong\u003e\u003cbr\u003e The SD84 is an 84 channel servo controller module.  It will drive up to 84 RC servo's and maintain a 20mS refresh rate, regardless  of the number of servo's used or their positions (pulse widths). It controls  both the speed and position of the servo's. It's controlled by sending commands to  the on-board processors over the USB bus. Each of the 84 channels can be a  Digital Input, Digital Output or Servo Output. Additionally, 36 of the channels  can be 10-bit Analogue inputs, making this a great animatronics controller.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003cbr\u003e Up to 84 channels of digital inputs.\u003cbr\u003e Up to 84 channels of digital outputs.\u003cbr\u003e Up to 84 channels of servo outputs.\u003cbr\u003e Up to 36 channels of 10-bit analogue inputs.\u003cbr\u003e Controlled and Powered from the USB bus.\u003cbr\u003e Drivers available for  Windows, Apple,  Linux and Open BSD.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe SD84 has 84 sets of 3-pin headers, in groups  of 4 at a time. In all cases, the pin nearest the outside of the PCB is 0v  Ground. The middle pin is +V power for the servo from the associated 2-pin screw  terminals. The inside pin, nearest the CPU's is the signal pin.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003ePower\u003cbr\u003e \u003c\/strong\u003eThe logic circuitry on the SD84 module is powered from the USB bus and does  not require any external power. You need to provide external power for the  servo's or any other circuitry you want to connect to the I\/O's. The servo's are powered in  groups of 8 servo's. PL1 provides the power for servo's 1 to 8 on ch1 to ch8.  The only exception is PL5 which powers 12 servo's ch33 to ch44 inclusive. The  bar lines on the diagram above indicate which servo's are powered from which  screw terminals. Each group can be powered from a different voltage, but note  that the 0v grounds are all common and connected together on the PCB.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eConnecting Servo's\u003c\/strong\u003e\u003cbr\u003e The servo's are plugged directly onto the SD84, with the ground pin (black wire  on a hitec servo) nearest the outside of the PCB.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/sd84c.jpg\" border=\"0\" alt=\"\" width=\"400\" height=\"256\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFirst Step - Get The Drivers\u003c\/strong\u003e\u003cbr\u003e The SD84 module uses the \u003ca href=\"http:\/\/www.ftdichip.com\/Products\/FT232R.htm\" target=\"_blank\"\u003eFTDI  FT232R USB chip\u003c\/a\u003e to handle all the USB protocols. The documentation provided  by FTDI is very complete, and is not duplicated here. Before using the SD84, you  will need to install FTDI's Virtual COM Port ( VCP ) Drivers. These drivers  appear to the system as an extra Com Port ( in addition to any existing hardware  Com Ports ). Application software accesses the USB device in the same way as it  would access a standard Windows Com Port using the Windows VCOMM API calls or by  using a Com Port  Library. Drivers are available for Windows, Apple,  Linux and Open BSD systems directly from the \u003ca href=\"http:\/\/www.ftdichip.com\" target=\"_blank\"\u003eFTDI  website\u003c\/a\u003e. You should get and install the drivers now, before you connect the SD84  to your computer. The Drivers page is \u003ca href=\"http:\/\/www.ftdichip.com\/FTDrivers.htm\" target=\"_blank\"\u003ehere\u003c\/a\u003e. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWhich COM port?\u003cbr\u003e \u003c\/strong\u003eAfter installing the drivers, and plugging in the SD84 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 with Windows98, 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. With Windows XP, select  \"Start\", then right click \"My computer\", then select  \"Properties\", then the \"Device Manager\" tab. \u003cbr\u003e The COM port should be set up for 115200 baud, 8 data bits, no parity and two  stop bits. \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\u003cbr\u003e With the drivers installed you can now connect the SD84 and Windows will  register the drivers.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eInternal Registers\u003c\/strong\u003e\u003cbr\u003e There are three internal registers associated with each of the 84  channels. \u003cbr\u003e A \"Mode\" register (1 Byte) that defines the current mode of the  channel, INPUT, OUTPUT_LOW, OUTPUT_HIGH, SERVO or ANALOGUE. \u003cbr\u003e A \"Servo\" register (2 Bytes) that defines the position of the servo in  uS. The \"Servo\" register is an integer (two bytes). The speed and low byte\/high byte of the position.\u003cbr\u003e A \"Speed\" register (1 Byte) that defines the speed that the servo's  change position.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommands\u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable style=\"width: 450px; background-color: #ffffcc; height: 311px;\" border=\"1\" cellspacing=\"0\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003eDec\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003eHex\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\" align=\"center\"\u003eDescription\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\" align=\"center\"\u003eResponse\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x01\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_SERVO\"\u003eSET_SERVO\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eSets the position (in uS) of 1 to 84 servo's\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e1 Byte, error code - see \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#Error%20Codes\"\u003eError          Codes\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"38\" align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"38\" align=\"center\"\u003e0x02\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"38\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_SERVO\"\u003eGET_SERVO\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"38\"\u003eReturns the current position (in uS) of a single servo\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"38\"\u003e2 Bytes, Servo Position, \u003cbr\u003e Low byte first, then the high byte.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x03\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#SET_SPEED\"\u003eSET_SPEED\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eSets the movement speed of 1 to 84 servo's\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e1 Byte, error code - see \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#Error%20Codes\"\u003eError          Codes\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"38\" align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"38\" align=\"center\"\u003e0x04\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"38\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#SET_MODE\"\u003eSET_MODE\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"38\"\u003eSets the mode of 1 to 84 channels,\u003cbr\u003e not analogue - see SET AD CNT command.\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"38\"\u003e1 Byte, error code - see \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#Error%20Codes\"\u003eError          Codes\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e5\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x05\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_MODE\"\u003eGET_MODE\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eReturns the current mode of a single channel\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e1 Byte, Mode - see \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#Channel%20Modes\"\u003eChannel          modes\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"38\" align=\"center\"\u003e6\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"38\" align=\"center\"\u003e0x06\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"38\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#SET_AD_CNT\"\u003eSET_AD_CNT\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"38\"\u003eSet the number of analogue channels from 0 to 36. \u003cbr\u003e This          also sets the Mode for the channel to Analogue\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"38\"\u003e1 Byte, error code - see \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#Error%20Codes\"\u003eError          Codes\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"20\" align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"20\" align=\"center\"\u003e0x07\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"20\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_AD_CNT\"\u003eGET_AD_CNT\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"20\"\u003eReturns the number of analogue channels currently set.\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"20\"\u003e1 Byte, Number of analogue channels.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e8\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x08\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_INPUT\"\u003eGET_INPUT\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eReturns the status of a single input\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e1 Byte, 0x00 for low, 0xFF for high\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e9\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x09\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_ADC\"\u003eGET_ADC\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eReturns the current value of a single analogue channel\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e2 Bytes, low byte first, then the high byte\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x0A\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_VERSION\"\u003eGET_VERSION\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eReturns version number of the selected processor chip (1          to 4)\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e2 Bytes, Module type first, then version          number\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e \u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e \u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e \u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003e \u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x15\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#GET_BULK\"\u003eGET_BULK\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eUsed for Factory Testing - returns 21 encoded          inputs\u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e3 Bytes, all 21 inputs on selected CPU\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"25\" height=\"19\" align=\"center\"\u003e22\u003c\/td\u003e\n\u003ctd width=\"39\" height=\"19\" align=\"center\"\u003e0x16\u003c\/td\u003e\n\u003ctd width=\"122\" height=\"19\" align=\"center\"\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/sd84tech.htm#TEST\"\u003eTEST\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd width=\"722\" height=\"19\"\u003eUsed for Factory Testing - \u003c\/td\u003e\n\u003ctd width=\"598\" height=\"19\"\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"SET_SERVO\"\u003eSET_SERVO\u003c\/a\u003e (0x01)\u003c\/strong\u003e\u003cbr\u003e This command sets the position of the servos in uS. Normal range for a servo is  1000uS to 2000uS with 1500uS being the center position. Most servo's will go  beyond this though. On a \u003ca href=\"http:\/\/www.xernuqvalzi.pro\/product_info.php\/products_id\/8\" target=\"_blank\"\u003e Hitec HS422 servo\u003c\/a\u003e, we can set the position from 800 to  2200 to give a nice wide range of movement. Take care though as its easy to make  the servo run into its internal stops if you give it pulse widths at the upper  or lower extremes. The SD84 places no restrictions on the value written, so be  careful. Each servo value is a 16-bit integer, sent low byte first, then the  high byte. To set ch1 to 1500uS (Center the servo) The command format is:\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eFirst Channel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eLow Byte\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eHigh Byte\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x01\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x01\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x02\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xDC\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x05\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe first three bytes are synchronization bytes and are required  by all command frames. \u003cbr\u003e Next is the SET_SERVO command 0x01. \u003cbr\u003e Next is the First Servo channel number. In this case channel 1.\u003cbr\u003e Next is the byte count. 2 bytes per channel for servo position setting.\u003cbr\u003e Next is the low byte of the position. 1500 decimal is 0x05DC in hex, so we send  0xDC.\u003cbr\u003e Finally we send the high byte, 0x05\u003c\/p\u003e\n\u003cp\u003eAny number of  contiguous channels can be set with one  SET_SERVO command. For example to set channels 37 and 38 to 1000uS (0x03E8) and  2000uS (0x07D0), you would send:\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eFirst Channel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCh37 low byte\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCh37 high byte\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCh38 low byte\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCh38 high byte\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x01\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e37\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xE8\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x03\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xD0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x07\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eIf you wanted to do the same for channels 37 and 51, you would have to send  two command frames. You could not do it all in one frame because the channels  are not contiguous.\u003cbr\u003e After the final byte is sent, the SD84 will reply with a single byte error code.  If all is well this will be OK. See error codes for  details.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_SERVO\"\u003eGET_SERVO\u003c\/a\u003e (0x02)\u003c\/strong\u003e\u003cbr\u003e This command gets the position of the servo in uS. \u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eChannel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x02\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e23\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003cp\u003e0x00\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe above example will return the position of servo channel 23. Note the byte  count must be zero (0x00) because you are not sending any data to the SD84. The  response from the SD84 will be two bytes, low byte first, then the high byte.  For example if you had set the position to 1500uS (0x05DC in hex) you would  receive 0xDC, 0x05.\u003cbr\u003e Unlike the SET_SERVO command, GET_SERVO can only work with a single channel. To  retrieve the position of multiple channels you must get them individually.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"SET_SPEED\"\u003eSET_SPEED\u003c\/a\u003e (0x03)\u003c\/strong\u003e\u003cbr\u003e Sets the speed the servo's will move to the new positions.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eFirst Channel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSpeed\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x03\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e71\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe above example would set ch71 speed to 10.\u003cbr\u003e The speed register controls the speed at which the servo moves to its new  position. The servo pulses are automatically refreshed every 20mS. If the Speed  register is zero (0x00) then the servo is simply set to the requested position.  On power up the Speed registers are set to zero to give full speed, so unless  you need to slow them down the Speed registers can be ignored. If the Speed  register is set to something other than zero then that value is added to the  current position every 20mS until the target position is reached. If you wish to  move from 1000 to 2000 and the Speed register is set to 10, then it will take 2  seconds to reach the set position. The formula for the time it will take to make  the move is:\u003cbr\u003e ((Target position-Start position)\/Speed Reg)*20mS\u003cbr\u003e Here are some examples:\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eStart Position \u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e Target Position \u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e Speed Reg \u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e Time for Move\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e2000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2000mS (2Sec)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e1000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2000mS (2Sec)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e1000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003cp\u003e1\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e20000mS (20Sec)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e1000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2000\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e100\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e200mS (0.2Sec)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e1234\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1987\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e69\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e220mS (0.22Sec)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eAs with the SET_SERVO command, the SET_SPEED command can set up to 84  channels.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eFirst Channel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSpeed1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSpeed2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSpeed3\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x03\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e71\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e9\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e11\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe above example would set ch71 speed to 9, ch72 speed to 10 and ch73 speed  to 11. Don't forget to make sure the byte count is the same as the number of  data bytes being sent, 3 bytes in this example.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"SET_MODE\"\u003eSET_MODE\u003c\/a\u003e (0x04)\u003c\/strong\u003e\u003cbr\u003e This command is used to set the Mode of up to 84 channels. \u003cem\u003e\u003cstrong\u003eNote! \u003c\/strong\u003ethis command cannot select or deselect Analogue mode\u003c\/em\u003e, you must  use the SET_AD_CNT to do that. The reason for this is explained in the SET_AD_CNT section. This command will select between INPUT, OUTPUT_LOW, OUTPUT_HIGH or  SERVO modes. See Channel Modes for details.\u003c\/p\u003e\n\u003cp\u003eThe following example will set ch1 to INPUT_MODE, ch2 to OUTPUT_MODE0, ch3 to  OUTPUT_MODE1 and ch4 to SERVO_MODE.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eFirst Channel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eMode1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eMode2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eMode3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eMode4\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x04\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e23\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e22\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e25\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eAs always, make sure the byte count matches the amount of data bytes your  sending. After the final byte is sent, the SD84 will reply with a single byte  error code. If all is well this will be OK. See error  codes for details.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_MODE\"\u003eGET_MODE\u003c\/a\u003e (0x05)\u003c\/strong\u003e\u003cbr\u003e This command gets the current MODE of a single channel. See Channel  Modes.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eChannel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x05\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e15\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003cp\u003e0x00\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe above example will return the current mode of channel 15. Note the byte  count must be zero (0x00) because you are not sending any data to the SD84. The  response from the SD84 will be 1 byte which is the mode. Unlike the SET_MODE  command, GET_MODE can only work with a single channel. To retrieve the current  mode of multiple channels you must get them individually.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"SET_AD_CNT\"\u003eSET_AD_CNT\u003c\/a\u003e (0x06)\u003c\/strong\u003e\u003cbr\u003e This command sets the number of analogue channels available. The SD84 uses 4  PIC18F2520 processor chips, each providing 21 channels of which 9 can  alternatively be analogue inputs. These 9 analogue channels appear scattered  around on the SD84, see the connection diagram at the  top of this page, because the pin numbers on the processor on which they appear  is fixed. A limitation of the processor chip is that these pins cannot randomly  be analogue inputs, they have to be assigned in order, starting at AN1. If AN8  is Analogue then so must AN1 to AN7. You can see then, that changing a channel  to analogue can potentially also change a number of other channels. This is why  writing to the Mode register to change to or from analogue mode is prevented.\u003c\/p\u003e\n\u003cp\u003eThe SET_AD_CNT command configures the processor chips for the requested  number of analogue channels, starting with AN1. If you select 5 analogue  channels then it is AN1 to AN5 that are analogue. The Mode register for channels  21, 22, 20, 18 and 28 will be set to analogue. These are the channels that AN1  to AN5 appear on. If you had previously selected 10 analogue channels (AN1 to  AN10) and then select 5 (AN1 to AN5) then channels 27, 29, 26, 30 and 11 (AN6 -  AN10) will be changed back to digital and will be Inputs.   \u003cbr\u003e Analogue and Digital Channels Cross Reference.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eAN\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCH\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e   \u003c\/td\u003e\n\u003ctd align=\"center\"\u003eAN\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCH\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e   \u003c\/td\u003e\n\u003ctd align=\"center\"\u003eAN\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCH\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e   \u003c\/td\u003e\n\u003ctd align=\"center\"\u003eAN\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCH\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e11\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e19\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e84\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e28\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e73\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e22\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e11\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e20\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e83\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e29\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e72\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e20\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e12\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e9\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e82\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e30\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e71\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e18\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e13\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e22\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e80\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e31\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e69\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e5\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e28\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e14\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e38\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e23\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e48\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e32\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e58\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e6\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e27\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e15\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e37\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e24\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e47\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e33\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e57\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e29\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e16\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e39\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e25\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e49\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e34\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e59\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e8\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e26\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e17\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e36\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e26\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e46\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e35\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e56\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e9\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e30\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e18\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e40\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e27\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e50\u003c\/td\u003e\n\u003ctd align=\"center\" bgcolor=\"#ffffff\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e36\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e60\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eTo set the number of analogue channels use the following command:\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eChannel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eAnalogue Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x06\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0 (ignored)\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe above command will set AN1 to AN10 as analogue inputs. The Mode of the  corresponding Channels 21, 22, 20, 18, 28, 27, 29, 26, 30 and 11 will be set to  ANALOG_MODE. \u003cbr\u003e The SD84 will reply with a single byte error code. If all is well this will be  OK. See error codes for details.\u003c\/p\u003e\n\u003cp\u003eThe normal initialization procedure would be to first set the number of  analogue channel required by using the SET_AD_CNT command, and then set the  remaining digital channels to input, output or servo modes as required. This can  be done for all channels with a single mode command. The analogue channels will  not be affected by the Mode command so it does not matter what they are set to,  however you will get a WARNING code returned instead of the OK code.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_AD_CNT\"\u003eGET_AD_CNT\u003c\/a\u003e (0x07)\u003c\/strong\u003e\u003cbr\u003e This command returns the quantity of analogue channels currently selected.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eChannel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x07\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0 (ignored)\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe SD84 will respond with the current analogue channel count, 0 - 36.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_INPUT\"\u003eGET_INPUT\u003c\/a\u003e (0x08)\u003c\/strong\u003e\u003cbr\u003e Returns the status of the single selected input channel.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e Channel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x08\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e12\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe above example will return 1 Byte, 0 (0x00) if the input on channel 12 is  low or 255 (0xFF) if the input is high. GET_INPUT can only work with a single  channel. To retrieve the status of multiple channels you must get them  individually.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_ADC\"\u003eGET_ADC\u003c\/a\u003e (0x09)\u003c\/strong\u003e\u003cbr\u003e Returns the analogue value of the selected channel. Note the Channel  number is the AN analogue number, not the digital channel number. In  the example below  this is AN21-CH82.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eChannel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x09\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eAnalogue inputs are converted on demand. The above example will return 2 Bytes, low byte first then the high byte. The  SD84 uses 10-bit AD conversion so you will get a number in the range 0-1023.  Results are only valid for analogue channels that have previously been set to  analogue mode using the SET_AD_CNT command. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_VERSION\"\u003eGET_VERSION\u003c\/a\u003e (0x0A)\u003c\/strong\u003e\u003cbr\u003e This command is used to return the firmware version number for the SD84. There  are 4 CPU's on the SD84 and you can specify which CPU you want the version  number from - they will all be the same.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCPU Number\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x0A\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe command format is shown above. In this example the version number from  CPU2 will be returned. The command returns 2 bytes. The first is the module  type, this will always be 84 for the SD84. The second byte is the firmware  revision number, currently 4 at the time of writing. Valid CPU Numbers are 1-4.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"GET_BULK\"\u003eGET_BULK\u003c\/a\u003e (0x15)\u003c\/strong\u003e\u003cbr\u003e This command is used for factory testing of the SD84. It is potentially useful  though, and so is documented here. It returns 3 bytes which encode all 21 inputs  for the selected processor. If you are familiar with the PIC processors, these 3  bytes are ports A, B, and C (in that order). The command format is:\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCPU Number\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x15\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eIn this example the 3 bytes will come from CPU1. Valid CPU Numbers are 1-4.\u003cbr\u003e The table below shows which channel each bit represents.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" cellpadding=\"3\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e \u003c\/td\u003e\n\u003ctd colspan=\"8\" align=\"center\"\u003eByte 1 - PortA\u003c\/td\u003e\n\u003ctd colspan=\"8\" align=\"center\"\u003eByte 2 - PortB\u003c\/td\u003e\n\u003ctd colspan=\"8\" align=\"center\"\u003eByte 3 - PortC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e6\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e5\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e 0 \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e6\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e5\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e6\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e5\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eCPU1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e17\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e16\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e18\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e19\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e20\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e22\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e23\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e24\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e25\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e26\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e27\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e28\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e29\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e30\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e x \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e x \u003c\/td\u003e\n\u003ctd align=\"center\"\u003e31\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e32\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e12\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e13\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e14\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e15\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eCPU2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e6\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e5\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e7\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e8\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e9\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e10\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e11\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e33\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e34\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e35\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e36\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e37\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e38\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e39\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e40\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e41\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e42\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e4\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eCPU3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e79\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e78\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e80\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e81\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e82\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e83\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e84\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e43\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e44\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e45\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e46\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e47\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e48\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e49\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e50\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e51\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e52\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e74\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e75\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e76\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e77\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eCPU4\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e68\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e67\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e69\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e70\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e71\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e72\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e73\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e53\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e54\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e56\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e57\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e58\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e59\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e60\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003ex\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e61\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e62\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e64\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e63\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e65\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e66\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe bit will be high if the input is high.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"TEST\"\u003eTEST\u003c\/a\u003e (0x16)\u003c\/strong\u003e\u003cbr\u003e This command is used, together with GET_BULK documented above, for factory  testing of the SD84. It is of no other use, but documented here for the sake of  completeness. \u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eSync1\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync2\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eSync3\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eCommand\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eChannel\u003c\/td\u003e\n\u003ctd align=\"center\"\u003eByte Count\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e0xAA\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0xA0\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x55\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0x16\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e67\u003c\/td\u003e\n\u003ctd align=\"center\"\u003e0\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eIt first sets the number of analogue channels to zero, so everything is  digital.\u003cbr\u003e It then sets every channel to drive low (OUTPUT_MODE0).\u003cbr\u003e It then sets every channel to input (INPUT_MODE).\u003cbr\u003e It then sets the selected channel to drive high (OUTPUT_MODE1).\u003cbr\u003e And finally returns code OK. The sequence is performed without any delays, as  fast as the processors will go.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"Channel%20Modes\"\u003eChannel Modes\u003c\/a\u003e\u003c\/strong\u003e\u003cbr\u003e Available modes for the channels are:\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable border=\"1\" cellspacing=\"0\" width=\"512\" bgcolor=\"#ffffcc\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"49\" align=\"center\"\u003eDecimal\u003c\/td\u003e\n\u003ctd width=\"38\" align=\"center\"\u003eHex\u003c\/td\u003e\n\u003ctd width=\"134\" align=\"center\"\u003eMode\u003c\/td\u003e\n\u003ctd width=\"273\" align=\"center\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"49\" align=\"center\"\u003e21\u003c\/td\u003e\n\u003ctd width=\"38\" align=\"center\"\u003e0x15\u003c\/td\u003e\n\u003ctd width=\"134\" align=\"center\"\u003eOUTPUT_MODE0\u003c\/td\u003e\n\u003ctd width=\"273\" align=\"center\"\u003eOutput low, Logic 0 \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"49\" align=\"center\"\u003e22\u003c\/td\u003e\n\u003ctd width=\"38\" align=\"center\"\u003e0x16\u003c\/td\u003e\n\u003ctd width=\"134\" align=\"center\"\u003eOUTPUT_MODE1\u003c\/td\u003e\n\u003ctd width=\"273\" align=\"center\"\u003eOutput High, Logic 1\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"49\" align=\"center\"\u003e23\u003c\/td\u003e\n\u003ctd width=\"38\" align=\"center\"\u003e0x17\u003c\/td\u003e\n\u003ctd width=\"134\" align=\"center\"\u003eINPUT_MODE\u003c\/td\u003e\n\u003ctd width=\"273\" align=\"center\"\u003eCan read High or Low\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"49\" align=\"center\"\u003e24\u003c\/td\u003e\n\u003ctd width=\"38\" align=\"center\"\u003e0x18\u003c\/td\u003e\n\u003ctd width=\"134\" align=\"center\"\u003eANALOG_MODE\u003c\/td\u003e\n\u003ctd width=\"273\" align=\"center\"\u003eCan read 0-1023 (10-bit conversion)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"49\" align=\"center\"\u003e25\u003c\/td\u003e\n\u003ctd width=\"38\" align=\"center\"\u003e0x19\u003c\/td\u003e\n\u003ctd width=\"134\" align=\"center\"\u003eSERVO_MODE\u003c\/td\u003e\n\u003ctd width=\"273\" align=\"center\"\u003eOutputs servo pulse, 20mS repetition rate.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca name=\"Error%20Codes\"\u003eError Codes\u003c\/a\u003e\u003c\/strong\u003e\u003cbr\u003e The SD84 can reply with the following possible error codes.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003ctable style=\"width: 450px; background-color: #ffffcc;\" border=\"1\" cellspacing=\"0\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"51\" align=\"center\"\u003eDecimal\u003c\/td\u003e\n\u003ctd width=\"39\" align=\"center\"\u003eHex\u003c\/td\u003e\n\u003ctd width=\"84\" align=\"center\"\u003eError Code\u003c\/td\u003e\n\u003ctd width=\"541\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"51\" align=\"center\"\u003e0\u003c\/td\u003e\n\u003ctd width=\"39\" align=\"center\"\u003e0x00\u003c\/td\u003e\n\u003ctd width=\"84\" align=\"center\"\u003eOK\u003c\/td\u003e\n\u003ctd width=\"541\"\u003eCommand processed OK\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"51\" align=\"center\"\u003e1\u003c\/td\u003e\n\u003ctd width=\"39\" align=\"center\"\u003e0x01\u003c\/td\u003e\n\u003ctd width=\"84\" align=\"center\"\u003eWARNING\u003c\/td\u003e\n\u003ctd width=\"541\"\u003eAttempt to change to or from Analogue mode by writing to          mode register is ignored.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"51\" align=\"center\"\u003e2\u003c\/td\u003e\n\u003ctd width=\"39\" align=\"center\"\u003e0x02\u003c\/td\u003e\n\u003ctd width=\"84\" align=\"center\"\u003eRANGE\u003c\/td\u003e\n\u003ctd width=\"541\"\u003eRange of channels is less than 1 or more than 84.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"51\" align=\"center\"\u003e3\u003c\/td\u003e\n\u003ctd width=\"39\" align=\"center\"\u003e0x03\u003c\/td\u003e\n\u003ctd width=\"84\" align=\"center\"\u003eMODE\u003c\/td\u003e\n\u003ctd width=\"541\"\u003eUnknown Mode received\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cstrong\u003eDemonstration Program\u003cbr\u003e \u003c\/strong\u003eWe have a small demonstration program to allow you to quickly evaluate the  SD84.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/sd84Demo.jpg\" border=\"0\" alt=\"\" width=\"392\" height=\"261\"\u003e\u003c\/p\u003e\n\u003cp\u003eIt allows you to set the number of analogue channels, set modes,  move servo's and read digital or analogue inputs. The program is written in  Visual C++ V6. You can download just the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/sd84.exe\" target=\"_blank\"\u003esd84.exe\u003c\/a\u003e or the complete \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/sd84source.zip\" target=\"_blank\"\u003esource code\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSD84 PCB Drilling Plan\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg style=\"border: 0px initial initial;\" src=\"http:\/\/www.robot-electronics.co.uk\/images\/sd84drill.gif\" alt=\"\" width=\"450\" height=\"146\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868038489,"sku":"SD84\/A","price":79.04,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890036687193,"sku":"SD84","price":79.04,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/sd84_5.jpg?v=1695766396"},{"product_id":"21-servo-control-module","title":"21 Servo Control Module","description":"\u003cbr\u003e\n\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications :\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"92\" class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd width=\"294\" class=\"ProductDescrWhite\"\u003eSeparate terminals or from servo supply when 7.2v battery is used\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eNumber of Servo's\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e21\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eRefresh Rate \u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e20mS under all conditions\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eControl Interface\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eI2C\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eMicrocontrollers\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003ePicaxe-18x, BS2p, Atom or BX-24 can be fitted\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003ePosition Control\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eDirectly programmed in us \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eSpeed Control \u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e\u003cp\u003eFrom maximum down to 20 seconds for full rotation\u003c\/p\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003eThe SD21 is a 21 channel servo controller module. It will drive up to 21 RC servo's and maintain a 20mS refresh rate, regardless of the number of servo's used or their positions (pulse widths). It will control both position and speed of the servo's. It's controlled by sending commands to the on-board PIC18F2220 over the I2C bus. There are 3 I2C connectors on the board, any one of which can be used to connect to your controller. Alternatively, many controllers such as the Picaxe, BS2p, Atom, BX-24 etc. can be fitted directly to the module, making this a great animatronics controller.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/sd21_legnd.jpg\" border=\"0\" height=\"414\" width=\"438\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003ePower\u003c\/b\u003e\u003cbr\u003e\n  There are two ways to power the SD21. The first is to used a 5v supply for the processor section and a separate 6v-7.2v supply for the servo's. This is the recommend method, and the 4-way terminal block allows for this option. The logic and servo grounds are internally connected on the PCB. Not everyone wants to use two batteries, so we have allowed for the use of a single (typically 7.2v) battery to power the servo's and the module. To do this place a link on the two pin header below the terminal block. This routes servo power to a low drop 5v regulator which supplies the logic. The connections must be made to the servo terminals on the terminal block - NOT the logic ones. The SD21 monitors the servo battery voltage, which is available for reading from an internal register.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eServo's\u003c\/b\u003e\u003cbr\u003e\n  The servo's are plugged directly onto the SD21, with the ground pin (black wire on a hitec servo) nearest the outside of the PCB.\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"\/images\/sd21c.jpg\" border=\"0\" height=\"171\" width=\"229\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eBasic Stamp BS2p or compatible controller\u003c\/b\u003e\u003cbr\u003e\n  A 24 pin socket on the SD21 will accept a BS2p or compatible controller such as the ATOM or BX-24. The Stamp is fitted with pin 1 nearest the outside of the module and away from the servo connectors. The BS2p P0(pin5)\/P1(pin6) are used for the I2C SDA\/SCL lines. These are the only I\/O pins used on the module, the remainder are brought out on the 16 pin header, as shown above.\u003c\/p\u003e\n\u003ctable border=\"0\" cellspacing=\"10\" width=\"100%\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd width=\"50%\"\u003e\u003cp align=\"right\"\u003e\u003cimg src=\"\/images\/sd21hdr1.GIF\" border=\"0\" height=\"188\" width=\"151\"\u003e\u003c\/p\u003e\u003c\/td\u003e\n      \u003ctd width=\"50%\"\u003e\u003cimg src=\"\/images\/sd21d.jpg\" border=\"0\" height=\"135\" width=\"244\"\u003e\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003ePicaxe Controller\u003c\/b\u003e\u003cbr\u003e\n  A 18 pin socket on the SD21 will accept the PICAXE-18X. Outputs 1 and 4 are used for I2C (they are the hardware I2C port on the PIC) and the remaining inputs and outputs are available on the 16 pin header. The Picaxe is fitted with pin 1 nearest the outside of the module and away from the servo connectors.\u003c\/p\u003e\n\u003ctable border=\"0\" cellspacing=\"10\" width=\"100%\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd width=\"50%\"\u003e\u003cp align=\"right\"\u003e\u003cimg src=\"\/images\/sd21hdr2.GIF\" border=\"0\" height=\"188\" width=\"151\"\u003e\u003c\/p\u003e\u003c\/td\u003e\n      \u003ctd width=\"50%\"\u003e\u003cimg src=\"\/images\/sd21e.jpg\" border=\"0\" height=\"136\" width=\"255\"\u003e\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003e\u003cbr\u003e\n    \u003cb\u003eServo Processor\u003c\/b\u003e\u003cbr\u003e\n  The heart of the SD21 is a pre-programmed PIC18F2220 chip. This is accessed over the I2C bus at address 0xC2 ($C2) by one of the controller options above, fitted to the module, or from an external controller connected to one of the I2C connectors. There are three internal registers associated with each of the 21 servo's. The speed and low byte\/high byte of the position.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"500\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eRegister \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eServo \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eFunction \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eRegister \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eServo \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eFunction\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eRegister \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eServo \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrlHead\"\u003eFunction\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e24\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e9\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e48\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e17\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e25\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e9\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e49\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e17\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e26\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e9\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e50\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e17\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e2\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e27\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e10\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e51\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e18\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e28\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e52\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e18\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e2\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e29\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e10\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e53\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e18\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e3\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e30\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e11\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e54\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e19\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e31\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e11\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e55\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e19\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e8\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e3\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e32\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e11\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e56\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e19\u003c\/td\u003e\n          \u003ctd\u003eHig\u003cspan class=\"ProductDescrWhite\"\u003eh\u003c\/span\u003e byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e9\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e4\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e33\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e12\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e57\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e20\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e34\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e12\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e58\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e20\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e11\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e4\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e35\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e12\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e59\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e20\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e12\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e5\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e36\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e13\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e60\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e21\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e13\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e37\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e13\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e61\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e21\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e14\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e5\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e38\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e13\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e62\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e21\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e15\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e6\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e39\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e14\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e63\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e-\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e16\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e40\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e14\u003c\/td\u003e\n          \u003ctd\u003eLow\u003cspan class=\"ProductDescrWhite\"\u003e byte\u003c\/span\u003e\n\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e64\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e-\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSoftware version\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e17\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e6\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e41\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e14\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e65\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e-\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eBattery Volts\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e18\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e7\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e42\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e15\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e19\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e43\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e15\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e20\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e7\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e44\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e15\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e21\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e8\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e45\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e16\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eSpeed\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e22\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e8\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrWhite\"\u003e46\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e16\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003eLow byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrWhite\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e23\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e8\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd align=\"right\" class=\"ProductDescrGray\"\u003e47\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e16\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003eHigh byte\u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n          \u003ctd class=\"ProductDescrGray\"\u003e \u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eServo Position\u003c\/b\u003e\u003cbr\u003e\n  The position (low byte\/high byte) is a 16 bit number which directly sets the output pulse width in uS. Setting the position to 1500 (1500uS or 1.5mS) will set most servo's to their center position. The range of pulse widths that are normally supported are from 1000uS (1mS) to 2000uS (2mS). It is usually possible to go beyond these limits though. On a Hitec HS311 servo, we can set the position from 800 to 2200 to give a nice wide range of movement. Take care though as its easy to make the servo run into its internal stops if you give it pulse widths at the upper or lower extremes. The registers can also be read back. The position will be the current position of the servo during a speed controlled movement, so you can track its progress towards the requested position.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eServo Speed\u003c\/b\u003e\u003cbr\u003e\n  The speed register controls the speed at which the servo moves to its new position. The servo pulses are automatically refreshed every 20mS. If the Speed register is zero (0x00) then the servo is simply set to the requested position. On power up the Speed registers are set to zero to give full speed, so unless you need to slow them down the Speed registers can be ignored. If the Speed register is set to something other than zero then that value is added to the current position every 20mS until the target position is reached. If you wish to move from 1000 to 2000 and the Speed register is set to 10, then it will take 2 seconds to reach the set position. The formula for the time it will take to make the move is:\u003cbr\u003e\n  ((Target position-Start position)\/Speed Reg)*20mS\u003cbr\u003e\n  Here are some examples:\u003c\/p\u003e\n\u003cdiv align=\"left\"\u003e\n  \u003ccenter\u003e\n  \u003c\/center\u003e\n  \u003ctable border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr bgcolor=\"#0033FF\"\u003e\n        \u003ctd class=\"ProductDescrlHead\"\u003eStart Position \u003c\/td\u003e\n        \u003ctd class=\"ProductDescrlHead\"\u003e Target Position \u003c\/td\u003e\n        \u003ctd class=\"ProductDescrlHead\"\u003e Speed Reg \u003c\/td\u003e\n        \u003ctd class=\"ProductDescrlHead\"\u003e Time for Move\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e2000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e2000mS (2Sec)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e1000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e2000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e10\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e2000mS (2Sec)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e2000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e20000mS (20Sec)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e1000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e2000\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e100\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e200mS (0.2Sec)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1234\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1987\u003c\/td\u003e\n        \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e69\u003c\/td\u003e\n        \u003ctd align=\"center\"\u003e220mS (0.22Sec)\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eMore Registers!\u003c\/b\u003e\u003cbr\u003e\n  The servo's can be fully controlled by the above registers, however to make things easier for low resource controllers such as the Picaxe, there is another set of registers (63-83 inclusive). These can set the position by writing a single byte rather than two bytes. These are not physically implemented registers, so cannot be read back. When you write to them, the processor will multiply the number you write by 6 then add an offset of 732 and store the result in the real 16-bit registers described above. This gives you a range of 732 (0*6+732) to 2268 (256*6+732) in 6uS steps. This set of registers is called the Base set. The formula is:\u003cbr\u003e\n  Base Reg*6+732uS\u003cbr\u003e\n  Although you can't read them back, the data is stored internally, and used with another two sets of registers. These are positive (84-104) and negative (105-125) offsets. When you write to the positive offset address the processor will add it to the base position, multiply by 6 and add 732. It performs a similar function for negative offsets. the formulas are:\u003cbr\u003e\n  (BaseReg + PosReg) * 6 + 732 and\u003cbr\u003e\n  (BaseReg - NegReg) * 6 + 732\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrlHead\"\u003eServo \u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrlHead\"\u003e Base Reg \u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrlHead\"\u003e Pos Offset Reg \u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrlHead\"\u003e Neg Offset Reg \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e63\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e84\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e105\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e2\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e64\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e85\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e106\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e3\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e65\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e86\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e107\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e4\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e66\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e87\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e108\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e5\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e67\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e88\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e109\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e6\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e68\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e89\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e110\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e7\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e69\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e90\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e111\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e8\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e70\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e91\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e112\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e9\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e71\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e92\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e113\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e10\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e72\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e93\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e114\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e11\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e73\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e94\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e115\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e12\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e74\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e95\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e116\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e13\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e75\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e96\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e117\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e14\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e76\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e97\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e118\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e15\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e77\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e98\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e119\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e16\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e78\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e99\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e120\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e17\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e79\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e100\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e121\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e18\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e80\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e101\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e122\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e19\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e81\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e102\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e123\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e20\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e82\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e102\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003e124\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e21\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e83\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e104\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003e125\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eRegister Summery\u003c\/b\u003e\u003cbr\u003e\n  For precision control of the servo's there is the real 16-bit registers which sets the servo position directly in uS. For low resource controllers the servo's can be controlled by 8-bit values. The positive and negative offset registers make designing walking robots very easy where legs can be easily moved either side of a central position. We have examples of controlling a Lynxmotion EH2 robot with a BS2p Stamp using the 16-bit registers and the Picaxe doing the same using the 8-bit Base and Offset registers.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eSoftware Revision Number\u003c\/b\u003e\u003cbr\u003e\n  Register 64  is the software revision number (3 at the time of writing this).\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eBattery Voltage\u003c\/b\u003e\u003cbr\u003e\n  Register 65 contains the servo battery voltage in 39mV units up to a maximum of 10v. A battery voltage of 7.2v will read about 184. 6v will read about 154. It is updated every 20mS whether its read or not.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eAddress\u003c\/b\u003e\u003cbr\u003e\n  The SD21 Servo module is located at address 0xC2 on the I2C bus.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cb\u003eExample Code\u003c\/b\u003e\u003cbr\u003e\n  This shows how to use a BS2p Stamp to control a servo. It sets up a simple loop which sends the servo between two positions \u003c\/p\u003e\n\u003cdiv align=\"left\"\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#EFEFEF\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd\u003e  \u003cbr\u003e\n          '{$STAMP BS2p}\u003cbr\u003e          \u003cbr\u003e\n          SDA     CON 0     ' SDA on pin0, SCL on pin1\u003cbr\u003e\n          SD21    CON $C2   ' SD21 I2C address\u003cbr\u003e\n          Servo1  CON 0     ' register address of servo1 speed reg (followed by pos low\/pos high)\u003cbr\u003e\n          Speed   CON 0     ' maximum speed\u003cbr\u003e\n          Servo1p CON 1800  ' Right position\u003cbr\u003e\n          Servo1n CON 1200  ' Left position\u003cbr\u003e          \u003cbr\u003e\n          Servo VAR W0\u003cbr\u003e          \u003cbr\u003e\n        Loop:\u003cbr\u003e  Servo = Servo1p\u003cbr\u003e  I2COUT SDA, SD21, Servo1, [Speed, Servo.LOWBYTE, Servo.HIGHBYTE]\u003cbr\u003e  PAUSE 300\u003cbr\u003e  Servo = Servo1n\u003cbr\u003e  I2COUT SDA, SD21, Servo1, [Speed, Servo.LOWBYTE, Servo.HIGHBYTE]\u003cbr\u003e  PAUSE 300\u003cbr\u003e  GOTO Loop\u003cbr\u003e  \u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eThis does the same for the Picaxe controller using the alternative register set.\u003c\/p\u003e\n\u003cdiv align=\"left\"\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#EFEFEF\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd\u003e \u003cbr\u003e\n  Servo1  = 63   ' servo 1 base register\u003cbr\u003e\n  Servo1p = 84   ' servo 1 positive offset register\u003cbr\u003e\n  Servo1n = 105  ' servo 1 negative offset register\u003cbr\u003e\n  Base    = 128  ' centre position\u003cbr\u003e\n  Offset  = 50   ' +\/- 50 from centre position\n            \u003cp\u003eProgStart:\u003cbr\u003e\n  i2cslave $c2, i2cslow, i2cbyte    ' setup i2c port for servo controller\u003cbr\u003e\n  writei2c Servo1, (Base)\u003cbr\u003e\n            Loop:\u003cbr\u003e\n  writei2c Servo1p, (Offset)\u003cbr\u003e\n  pause 300\u003cbr\u003e\n  writei2c Servo1n, (Offset)\u003cbr\u003e\n  pause 300\u003cbr\u003e\n  goto Loop\u003cbr\u003e\n  \u003c\/p\u003e\n\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868431705,"sku":"SD21\/A","price":35.62,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890036621657,"sku":"SD21","price":35.62,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/sd21_5.jpg?v=1695766403"},{"product_id":"8-channels-relay-module","title":"8 channels relay module","description":"\u003cbr\u003e\n\n\n\u003ctable cellspacing=\"0\" cellpadding=\"0\"\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\" width=\"182\"\u003e\u003cem\u003eNumber of Relay's\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"left\" height=\"21\" width=\"19\"\u003e\u003cp align=\"center\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/p\u003e\u003c\/td\u003e\n    \u003ctd width=\"448\"\u003e\u003cem\u003e8\u003c\/em\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\" width=\"182\"\u003e\u003cem\u003ePower\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"center\" width=\"19\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"left\" nowrap width=\"448\"\u003e\u003cem\u003e5v @ 100mA max.\u003c\/em\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\" width=\"182\"\u003e\u003cem\u003eControl interface\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"center\" width=\"19\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"left\" nowrap width=\"448\"\u003e\u003cem\u003eSerial or I2C\u003c\/em\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\" width=\"182\"\u003e\u003cem\u003eRelay current\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"center\" width=\"19\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"left\" nowrap width=\"448\"\u003e\u003cem\u003eUp to 1Amp              @30vdc or 60vac. 500mA@110vac. 250mA@250vac\u003c\/em\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\" width=\"182\"\u003e\u003cem\u003eConnections\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"center\" width=\"19\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"left\" nowrap width=\"448\"\u003e\u003cem\u003eScrew Terminals              for N\/O N\/C and Common contacts.\u003c\/em\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\" width=\"182\"\u003e\u003cem\u003eExpansion\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"center\" width=\"19\"\u003e\u003cem\u003e-\u003c\/em\u003e\u003c\/td\u003e\n    \u003ctd align=\"left\" nowrap width=\"448\"\u003e\u003cem\u003eUp to 8 modules on Serial or              I2C bus\u003c\/em\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\n\u003cbr\u003e\n\n\n\n\nI2C MODE: \n\u003cp align=\"left\"\u003e\u003cstrong\u003eConnections\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/rly08pin.jpg\" border=\"0\" height=\"330\" width=\"475\"\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eI2C Mode selection\u003c\/strong\u003e\u003cbr\u003e\n  I2C operation is activated when the mode pin is left open circuit.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003eI2C Operation\u003cbr\u003e\n  I2C   Bus\u003cbr\u003e\n\u003c\/strong\u003eThe RLY08 is located on the I2C bus at a factory default address of  0X70. The SCL and SDA lines should have pull-up resistors on them somewhere   on the bus. You only require 1 pair of resistors for the whole I2C bus, not   specifically for the RLY08. They are normally on the master controller and you   may already have them. If not, anything between 1k8 and 10k should work. I   recommend 1k8 for best noise immunity. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eRLY08 register set\u003cbr\u003e\n  \u003c\/strong\u003eThe RLY08 has only  two registers, register 0 and acts as a dual purpose  register. When written to it is the command register where all of the instructions   from the commands section should be sent. When read it returns the software  version. \u003cbr\u003e\n  Register 1 is the relay register, when written to it allows the  user to change all eight relay positions at once with a single byte.  When the register is read it provides the current positions of the relays. If  all relays are powered the register would contain 255 (1111 1111), all relays in  the un-powered state would result in 0 (0000 0000)\u003cbr\u003e\n\u003c\/p\u003e\n\u003cp align=\"center\"\u003e \u003cstrong\u003eI2C register set\u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable bgcolor=\"#ccffcc\" border=\"1\" cellpadding=\"2\" cellspacing=\"0\" width=\"300\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\"\u003eregister\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\"\u003e\u003cp align=\"center\"\u003eRead \u003c\/p\u003e\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\"\u003eWrite \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\"\u003e0\u003c\/td\u003e\n          \u003ctd align=\"center\"\u003eSoftware version\u003c\/td\u003e\n          \u003ctd align=\"center\"\u003eCommand register\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\"\u003eRelay states\u003c\/td\u003e\n          \u003ctd align=\"center\"\u003eRelay states\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003eCommands for I2C\u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable bgcolor=\"#ccffcc\" border=\"1\" cellpadding=\"2\" cellspacing=\"0\" width=\"300\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"46\"\u003edecimal\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"47\"\u003ehex\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"158\"\u003e\u003cp align=\"center\"\u003ecommand\u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e100\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x64\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eAll relays on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e101\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x65\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 1 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e102\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x66\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 2 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e103\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x67\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 3 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e104\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x68\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 4 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e105\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x69\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 5 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e106\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x6A\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 6 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e107\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x6B\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 7 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e108\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x6C\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 8 on \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e110\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x6E\u003c\/td\u003e\n          \u003ctd align=\"center\" nowrap width=\"158\"\u003eAll relays        off \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e111\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x6F\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 1 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e112\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x70\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 2 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e113\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x71\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 3 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e114\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x72\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 4 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e115\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x73\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 5 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e116\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x74\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 6 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e117\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x75\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 7 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"46\"\u003e118\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"47\"\u003e0x76\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"158\"\u003eTurn relay 8 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003e\u003ca name=\"Address\"\u003e\u003c\/a\u003eChanging the RLY08 Address\u003c\/strong\u003e\u003cbr\u003e\n  To change the I2C address of the RLY08 you must have only one module on the bus.  Write the 3 sequence commands in the correct order followed by the address.  Example; to change the address of a RLY08 currently at 0x70 (the default shipped  address) to 0x7A, write the following to address 0x70; (0xA0, 0xAA, 0xA5, 0x7A  ). These commands must be sent in the correct sequence to change the I2C  address, additionally, No other command may be issued in the middle of the  sequence. The sequence must be sent to the command register at location 0, which  means 4 separate write transactions on the I2C bus. When done, you should label  the module with its address, however if you do forget, just power it up without  sending any commands. The RLY08 will flash its address out on the LED. One long  flash followed by a number of shorter flashes indicating its address. The  flashing is terminated immediately on sending a command to the RLY08 and then  becomes a power LED.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"30%\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd colspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"50%\"\u003eAddress\u003c\/td\u003e\n          \u003ctd rowspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eLong Flash\u003c\/td\u003e\n          \u003ctd rowspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eShort            flashes\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eDecimal\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e112\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x70\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e0\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e114\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x72\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e116\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x74\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e118\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x76\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e3\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e120\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x78\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e122\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x7A\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e5\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e124\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x7C\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e6\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e126\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e0x7E\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e7\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003eTake care not to set more than one module to the same address,  there will be a bus collision and very unpredictable results.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eSERIAL MODE: \u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eConnections\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/rly08pin.jpg\" border=\"0\" height=\"330\" width=\"475\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eSerial mode selection\u003cbr\u003e\n\u003c\/strong\u003eSerial Mode is selected by connecting the Mode pin to ground. The Tx  pin is out of the RLY08 and should be connected to Rx on your controller. The Rx  pin is into the RLY08 and should be connected to Tx on your controller. These  signals are 5v levels, not RS232. Do NOT connect RS232 directly to the module - you   will destroy it. Use a MAX232 or equivalent to convert the RS232 levels to 5v.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eCommunication settings\u003c\/strong\u003e\u003cbr\u003e\n  The Serial mode operates over a link with a baud rate of 9600 bps (no parity,   1 stop bit) and 5v signals,  The RLY08 can be found at a factory default address of 1, although this is  easily changed to another of eight locations - see \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/rly08ser.htm#Changing%20the%20RLY08%20Address\"\u003eChanging the RLY08 Address\u003c\/a\u003e \u003cstrong\u003e .\u003c\/strong\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommands\u003c\/strong\u003e\u003cbr\u003e\n  To send a command to the RLY08, you need to send two bytes. The first  is the  RLY08's address 1 (default) to 8, and then the actual command  itself - see below. The RLY08 will then carry out the command and if  applicable send its response. The only exception to this being the \"Set  relay  states\" command, it requires an additional required states byte to be  sent immediately after the command byte. This will then set all relays  to the  status of the equivalent bit within the byte, with a high bit powering  the relay  on and a low bit turning it off. \u003cbr\u003e\n\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003eCommands for Serial\u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ccenter\u003e\n    \u003c\/center\u003e\n    \u003ctable bgcolor=\"#ccffcc\" border=\"1\" cellpadding=\"2\" cellspacing=\"0\" width=\"70%\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd colspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"5%\"\u003eCommand\u003c\/td\u003e\n          \u003ctd rowspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"95%\"\u003e\u003cp align=\"center\"\u003eAction\u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"2%\"\u003edec\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"2%\"\u003ehex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e90\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e5A\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eGet software version - transmits a single byte back        to the controller containing the software revision\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e91\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e5B\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003e\u003cp align=\"center\"\u003eGet relay states -        transmits a        single byte back to the controller, bit high meaning the corresponding relay is        powered\u003c\/p\u003e\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e92\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e5C\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eSet relay states -        the next byte sent to the command register will set all relay states, All on = 255 (11111111)        All off = 0\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e100\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e64\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eAll relays on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e101\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e65\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 1 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e102\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e66\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 2 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e103\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e67\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 3 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e104\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e68\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 4 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e105\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e69\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 5 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e106\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e6A\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 6 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e107\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e6B\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 7 on\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e108\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e6C\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 8 on \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e110\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e6E\u003c\/td\u003e\n          \u003ctd align=\"center\" nowrap width=\"95%\"\u003eAll relays        off \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e111\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e6F\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 1 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e112\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e70\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 2 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e113\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e71\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 3 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e114\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e72\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 4 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e115\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e73\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 5 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e116\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e74\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 6 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e117\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e75\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 7 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e118\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003e76\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003eTurn relay 8 off\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e160\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003eA0\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003e1st byte in sequence to change serial address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e165\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003eA5\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003e3rd byte in sequence to change serial address\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"3%\"\u003e170\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"2%\"\u003eAA\u003c\/td\u003e\n          \u003ctd align=\"center\" width=\"95%\"\u003e2nd byte in sequence to change serial address \u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003e\u003ca name=\"Changing%20the%20RLY08%20Address\"\u003eChanging the RLY08 Address\u003c\/a\u003e\u003c\/strong\u003e\u003cbr\u003e\n  To change the address of the RLY08 you must have only one module connected.  Write the 3 sequence commands in the correct order followed by the address. For  example; to change the address of a RLY08 currently at 1 (the default shipped  address) to 5, write the following to address 1; (0xA0, 0xAA, 0xA5, 0x05 ).  These commands must be sent in the correct sequence to change the address,  additionally, No other command may be issued in the middle of the sequence. The  sequence must be sent as four separate commands to the current address of the  module. i.e. 0x01, 0xA0 then 0x01, 0xAA, then 0x01, 0xA5 and finally 0x01, 0x05.  When done, you should label the module with its new address, however if you do  forget, just power it up without sending any commands. The RLY08 will flash its  address out on the LED. One long flash followed by a number of shorter flashes  indicating its address. The flashing is terminated immediately on sending a  command the RLY08.\u003cbr\u003e\n\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable bgcolor=\"#ffffcc\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"30%\"\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\n          \u003ctd colspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"50%\"\u003eAddress\u003c\/td\u003e\n          \u003ctd rowspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eLong Flash\u003c\/td\u003e\n          \u003ctd rowspan=\"2\" align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eShort            flashes\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eDecimal\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#66ffff\" width=\"25%\"\u003eHex\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e01\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e0\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e2\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e02\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e3\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e03\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e2\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e4\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e04\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e3\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e5\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e05\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e6\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e06\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e5\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e7\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e07\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e6\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e8\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ffff00\" width=\"25%\"\u003e08\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e1\u003c\/td\u003e\n          \u003ctd align=\"center\" bgcolor=\"#ccffcc\" width=\"25%\"\u003e7\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp align=\"left\"\u003eTake care not to set more than one module to the same address,  there will be a bus collision and very unpredictable results.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp align=\"left\"\u003e \u003c\/p\u003e\n\u003cp\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868464473,"sku":"RLY08\/A","price":52.13,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036719961,"sku":"RLY08","price":52.13,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/rly08b_5.jpg?v=1695766410"},{"product_id":"rd02-12-volt-robot-drive-system","title":"RD02 - 12 Volt Robot Drive System","description":"\u003cbr\u003e\n\nA complete Robot Drive system, ready to integrate into your robot,        comprising of an \u003ca href=\"http:\/\/www.xernuqvalzi.pro\/product_info.php?products_id=642\" target=\"_blank\"\u003e\u003cstrong\u003eMD25\u003c\/strong\u003e\u003c\/a\u003e motor drive module, two \u003ca href=\"http:\/\/www.xernuqvalzi.pro\/product_info.php?products_id=644\" target=\"_blank\"\u003e\u003cstrong\u003eEMG30\u003c\/strong\u003e\u003c\/a\u003e  gearmotors         with encoders, two \u003ca href=\"http:\/\/www.xernuqvalzi.pro\/product_info.php?products_id=645\"\u003e\u003cstrong\u003emounting brackets\u003c\/strong\u003e\u003c\/a\u003e, two \u003ca href=\"http:\/\/www.xernuqvalzi.pro\/product_info.php?cPath=7_38\u0026amp;products_id=646\" target=\"_blank\"\u003e\u003cstrong\u003e100mm wheels\u003c\/strong\u003e\u003c\/a\u003e with hubs already        fitted. Screws to fit the motors to the brackets and a hex key for the hub        screw is included. \n\u003cp\u003eOnly a single 12v battery capable of supplying peak current of 6Amps is        required to power the system. Power for the logic comes from an on-board        5v regulator which is also capable of supply up  to 300mA to your own        circuits. \u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868497241,"sku":"RD02\/A","price":163.38,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036851033,"sku":"RD02","price":163.38,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/rd02_5.jpg?v=1695766417"},{"product_id":"dual-12volt-2-8amp-h-bridge-motor-drive","title":"Dual 12Volt 2.8Amp H Bridge Motor Drive","description":"\u003cbr\u003e\n\n\n\n\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications:\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e12V\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eUp to 2.8A for each motor \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eDimensions\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e71mm x 60mm \u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003e\n\nOverview\u003cbr\u003e\nThe MD25 is a robust I2C dual motor driver,   designed for use with our EMG30 motors. Main features   are:\u003c\/p\u003e\n\u003cp\u003e1.    Reads motors encoders and provides counts in registers for  determining distance traveled and direction .\u003cbr\u003e\n  2.    Drives two motors with independent  or combined control. \u003cbr\u003e\n  3.    Motor current is readable through  registers.\u003cbr\u003e\n  4.    Only 12v  is required to power the module.\u003cbr\u003e\n  5.    Onboard 5v regulator can supply up to 1A peak, 300mA  continuously to external  circuitry\u003cbr\u003e\n  6.    Steering   feature, motors can be commanded to turn by I2C register value.\u003cbr\u003e\n  7.    Variable acceleration and power regulation also included \u003cbr\u003e\n\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMD25 Connections\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/md25a.jpg\" width=\"635\" height=\"384\"\u003e\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eMotor Noise Suppression \u003cbr\u003e\n\u003c\/strong\u003eWhen using our EMG30 encoded motors, you will find that a 10n noise  suppression  capacitor has already been fitted. Other motors may require  suppression. This is easily achieved by the addition of a 10n snubbing  capacitor across the motors. The capacitor should also be capable of  handling a voltage of twice the drive voltage to the motor.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eLeds\u003c\/strong\u003e\u003cbr\u003e\n  The Red Power Led indicates power is applied to the module.\u003cbr\u003e\n  A Green Led initially flashes the I2C address and then lights for 500mS to indicate correct I2C activity to the module. The  internal 500mS timer is restarted each time there is I2C activity, so it will be  on during continuous access.\u003c\/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003eAutomatic Speed regulation\u003cbr\u003e\n\u003c\/strong\u003eBy using feedback from the encoders the MD25 is able to dynamically  increase power as required. If the required speed is not being achieved, the  MD25 will increase power to the motors until it reaches the desired rate or the  motors reach there maximum output. Speed regulation can be turned off in  the command register.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eControlling the MD25\u003cbr\u003e\n  \u003c\/strong\u003eThe MD25 is designed to operate in a standard I2C bus system on addresses  from 0xB0 to 0xBE (last bit of address is read\/write bit, so even numbers only), with its  default address being 0xB0. This is easily changed by removing the Address  Jumper or in the software see Changing the I2C Bus Address.\u003cbr\u003e\n   \u003cbr\u003e\n  I2C mode allows the MD25 to be connected to popular   controllers such as the PICAXE, OOPic and BS2p, and a wide range of micro-controllers   like PIC's, AVR's, 8051's etc. \u003cbr\u003e\n  I2C  communication protocol with the MD25 module is the same as popular  EPROM's such as the 24C04. To read one or more of the MD25 registers,  first send a start bit, the module address (0XB0 for example) with the  read\/write bit low, then the register number you wish to read. This is  followed by a repeated start and the module address again with the  read\/write bit high (0XB1 in this example). You are now able to read  one or more registers. The MD25 has 17 registers numbered 0 to 16 as  follows;\u003c\/p\u003e\n\u003ccenter\u003e\n  \u003ctable width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eRegister\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eName\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eRead\/Write\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eDescription\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eSpeed1\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Motor1 speed (mode 0,1) or speed (mode       2,3) \u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eSpeed2\/Turn\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eMotor2 speed (mode 0,1) or turn (mode 2,3) \u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e2\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e  Enc1a\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 1 position, 1st byte (highest byte) and capture count when read\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e3\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc1b\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 1 position, 2nd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e4\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc1c\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 1 position, 3rd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd align=\"center\" width=\"68\"\u003e\u003cp align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc1d\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 1 position, 4th (lowest byte)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 6\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc2a\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 2 position, 1st (highest byte) and capture count when read\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e7\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc2b\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 2 position, 2nd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 8\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Enc2c\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Encoder 2 position, 3rd byte\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 9\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003e Enc2d\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Encoder 2 position, 4th byte (lowest byte)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 10\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003eBattery volts\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eThe supply battery voltage\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 11\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003eMotor 1 current\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e The current through motor 1\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 12\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003eMotor 2 current\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e The current through motor 2\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 13\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003eSoftware Revision\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Software Revision Number\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 14\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Acceleration rate\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Optional Acceleration register \u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrGray\"\u003e 15\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrGray\"\u003eMode\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrGray\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrGray\"\u003e Mode of operation (see below)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"68\" align=\"center\" class=\"ProductDescrWhite\"\u003e 16\u003c\/td\u003e\n        \u003ctd width=\"176\" align=\"center\" class=\"ProductDescrWhite\"\u003e Command\u003c\/td\u003e\n        \u003ctd width=\"119\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"472\" align=\"center\" class=\"ProductDescrWhite\"\u003e Used for reset of encoder counts and module address changes\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpeed1 Register\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n\u003c\/u\u003eDepending on  what mode you are in, this register can affect the speed of one motor  or both motors. If you are in mode 0 or 1 it will set the speed and  direction of motor 1. The larger the number written to this register,  the more power is applied to the motor. A mode of 2 or 3 will control  the speed and direction of both motors (subject to effect of turn  register).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpeed2\/Turn Register\u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n\u003c\/u\u003eWhen in mode 0 or 1 this register   operates the speed and direction of motor 2. When in mode 2 or 3 Speed2 becomes a Turn register, and any value in this register  is   combined with the contents of Speed1 to steer the device (see below). \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTurn mode\u003cbr\u003e\n\u003c\/strong\u003eTurn mode looks at the speed register to decide if the direction is forward  or reverse. Then it applies a subtraction or addition of the turn value on  either motor.\u003c\/p\u003e\n\u003cp\u003eso if the direction is forward\u003cbr\u003e\n  motor speed1 = speed - turn\u003cbr\u003e\n  motor speed2 = speed + turn\u003cbr\u003e\n  \u003cbr\u003e\n  else the direction is reverse so\u003cbr\u003e\n  motor speed1 = speed + turn\u003cbr\u003e\n  motor speed2 = speed - turn\u003cbr\u003e\n  \u003cbr\u003e\n  If the either motor is not able to achieve the required speed for the turn  (beyond the maximum output), then the other motor is automatically changed by  the program to meet the required difference.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEncoder registers\u003cbr\u003e\n\u003c\/strong\u003eEach motor has its encoder count stored in an array of four bytes, together  the bytes form a signed 32 bit number, the encoder count is captured on a read  of the highest byte (registers 2, 6) and the subsequent lower bytes will be  held until another read of the highest byte takes place. The count is stored with the highest byte in the  lowest numbered register. The registers can be zeroed at any time by writing 32  (0x20) to  the \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/md23tech.htm#command%20register\"\u003e command register\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eBattery volts\u003cbr\u003e\n\u003c\/strong\u003eA reading of the voltage of the connected battery is available in this  register. It reads as 10 times the voltage (121 for 12.1v).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMotor 1 and 2 current\u003cbr\u003e\n\u003c\/strong\u003eA guide reading of the average current through the motor is available in this  register. It reads approx ten times the number of Amps (25 at 2.5A).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSoftware Revision number\u003c\/strong\u003e\u003cbr\u003e\nThis register contains the   revision number of the software in the modules PIC16F873 controller - currently  1 at the time of writing.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAcceleration Rate \u003c\/strong\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003eIf you   require a controlled acceleration period for the attached motors to reach there   ultimate speed, the MD25 has a register to provide this. It works by using a   value into the acceleration register and incrementing the power by that value.  Changing between the current speed of the   motors and the new speed (from speed 1 and 2 registers). So if the   motors were traveling at full speed in the forward direction (255) and were   instructed to move at full speed in reverse (0), there would be 255 steps with  an acceleration register value of 1, but 128 for a value of 2. The default  acceleration value is 5, meaning the speed is changed from full forward to full  reverse in 1.25 seconds. The register will accept values of 1 up to 10 which  equates to a period of only 0.65 seconds to travel from full speed in one  direction to full speed in the opposite direction.\u003cbr\u003e\n  \u003cbr\u003e\nSo to calculate the time (in seconds) for the   acceleration to complete :\u003c\/p\u003e\n\u003cp\u003eif new speed \u0026gt; current speed\u003cbr\u003e\n  steps = (new speed - current speed) \/ acceleration register\u003c\/p\u003e\n\u003cp\u003eif new speed \u0026lt; current speed\u003cbr\u003e\n  steps = (current speed - new speed) \/ acceleration register\u003cbr\u003e\n  \u003cbr\u003e\n  time = steps * 25ms \u003cbr\u003e\n  \u003cbr\u003e\n  For example :\u003c\/p\u003e\n\n\u003ccenter\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAcceleration register\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eTime\/step\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eCurrent speed\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eNew speed\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eSteps\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"32\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAcceleration  time\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e6.375\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e2\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e127\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e64\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e1.6s\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e3\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e80\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e27\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e0.675s\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e5 (default)\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e51\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e1.275s\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"130\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e10\u003c\/td\u003e\n        \u003ctd width=\"83\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e25ms\u003c\/td\u003e\n        \u003ctd width=\"110\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n        \u003ctd width=\"92\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n        \u003ctd width=\"86\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e26\u003c\/td\u003e\n        \u003ctd width=\"163\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e0.65ms\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003e\u003cstrong\u003eMode Register\u003c\/strong\u003e\u003cbr\u003e\n  The mode register selects   which mode of operation and I2C data input type the user requires. The options   being:\u003cbr\u003e\n  \u003cstrong\u003e0\u003c\/strong\u003e,    (Default Setting) If a value of 0 is   written to the mode register then the meaning of the speed registers is literal   speeds in the range of 0 (Full Reverse)  128 (Stop)   255   (Full Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e1,\u003c\/strong\u003e    Mode 1 is similar to Mode 0,   except that the speed registers are interpreted as signed values. The meaning of   the speed registers is literal speeds in the range of -128 (Full   Reverse)   0 (Stop)   127 (Full   Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e2,\u003c\/strong\u003e    Writing a value of  2 to the   mode register will make speed1 control both motors speed, and speed2 becomes the   turn value. \u003cbr\u003e\n  Data is in the range of 0 (Full Reverse)  128   (Stop)  255 (Full  Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e3, \u003c\/strong\u003e   Mode 3   is similar to Mode 2, except that the speed registers are interpreted as signed   values. \u003cbr\u003e\nData is in the range of -128  (Full Reverse)  0   (Stop)   127 (Full Forward) \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCommand register \u003c\/strong\u003e \u003c\/p\u003e\n\n\u003ccenter\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"107\" height=\"16\" colspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eCommand\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"32\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAction\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"16\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eDec\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"16\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eHex\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e32\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003e20\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"24\" align=\"center\" class=\"ProductDescrWhite\"\u003eResets the encoder        registers to zero\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e48\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003e30\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"23\" align=\"center\" class=\"ProductDescrGray\"\u003eDisables automatic        speed regulation\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e49\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003e31\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"23\" align=\"center\" class=\"ProductDescrWhite\"\u003eEnables automatic        speed regulation (default)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e160\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003eA0\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e1st in sequence to        change I2C address\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e170\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003eAA\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrWhite\"\u003e2nd in sequence to        change I2C address\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"52\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e165\u003c\/td\u003e\n        \u003ctd width=\"53\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003eA5\u003c\/td\u003e\n        \u003ctd width=\"696\" height=\"13\" align=\"center\" class=\"ProductDescrGray\"\u003e3rd in sequence to        change I2C address\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003e\u003cstrong\u003eChanging the I2C Bus Address\u003c\/strong\u003e\u003cbr\u003e\n  The I2C address can be changed by writing a new address to the MD25, or by  fitting\/removing the Address Jumper. \u003cbr\u003e\nTo change the I2C address of the MD25 by writing a new address you must  have only one  module on the bus. Write the 3 sequence commands in the correct order  followed by the address. Example; to change the address of an  MD25 currently at 0xB0 (the default shipped address) to 0xB4, write the  following to address  0xB0; (0xA0, 0xAA, 0xA5, 0xB4 ). These commands must be sent in the  correct sequence to change the I2C address, additionally,  no other command may be issued in the middle of the sequence. The  sequence must be sent to the command register at location  16, which means 4 separate write transactions on the I2C bus. Because  of the way  the MD25 works internally, there  MUST be a delay of at least 5mS between the writing of each of these 4  transactions. When done, you should label the MD25 with its address,  however if you do forget, just power it up without sending any  commands. The  MD25 will flash its address out on the green communication LED. One  long flash followed by a number of shorter flashes indicating its  address.  Any command sent to the  MD25 during this period will still be received and writing new speeds  or a write  to the command register will terminate the flashing.\u003c\/p\u003e\n\n\u003ccenter\u003e\n  \u003ctable width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"120\" colspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eAddress\u003c\/td\u003e\n        \u003ctd width=\"64\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Long Flash\u003c\/td\u003e\n        \u003ctd width=\"64\" rowspan=\"2\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eShort Flashes\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003eDecimal\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" bgcolor=\"#0033FF\" class=\"ProductDescrlHead\"\u003e Hex\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e176\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eB0\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e178\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eB2\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e180\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eB4\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e2\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e182\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eB6\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e3\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e184\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eB8\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e4\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e186\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eBA\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e5\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003e188\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrWhite\"\u003eBC\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrWhite\"\u003e6\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003e190\u003c\/td\u003e\n        \u003ctd width=\"63\" align=\"center\" class=\"ProductDescrGray\"\u003eBE\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e1\u003c\/td\u003e\n        \u003ctd width=\"64\" align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n  \u003cp\u003eTake care not to set more than one MD25 to the same address, there will be a bus collision and very unpredictable results.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAddress Jumper\u003c\/strong\u003e\u003cbr\u003e\n    \u003cbr\u003e\n  The I2C address can also be changed by fitting\/removing the Address Jumper. With  the jumper in place (factory default) the address is the same as programmed into  the module (factory default is 0xB0). Removing the jumper will change the  address to the next one up. The default address of 0xB0 will change to 0xB2 if  the jumper is removed. 0xBA would change to 0xBC. The exception is 0xBE, the  jumper has no effect on this address. After fitting or removing the Address  Jumper, the MD25's I2C address will not change until the next time the module is  powered on.  \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSchematics\u003c\/strong\u003e\u003cbr\u003e\n  The MD25 schematics: \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/images\/md23s1.jpg\" target=\"_blank\"\u003eSheet1\u003c\/a\u003e \u003ca href=\"http:\/\/www.robot-electronics.co.uk\/images\/md23s2.jpg\" target=\"_blank\"\u003eSheet2\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMechanical\u003c\/strong\u003e\u003cbr\u003e\n\u003c\/p\u003e\u003cp align=\"center\"\u003e\u003cimg src=\"..\/images\/m25b.jpg\" width=\"578\" height=\"489\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868530009,"sku":"MD25\/A","price":57.27,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036916569,"sku":"MD25","price":57.27,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/md25_4.jpg?v=1695766423"},{"product_id":"dual-5a-h-bridge","title":"Dual 5A H-Bridge","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cbr\u003e\n\u003ctable width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"0\" bordercolor=\"#999999\" class=\"ProductDescrBorder\"\u003e\n  \u003ctr bgcolor=\"#0033FF\"\u003e\n    \u003ctd colspan=\"2\" class=\"ProductDescrlHead\"\u003e\u003cstrong\u003eTechnical Specifications:\u003c\/strong\u003e\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eVoltage\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e5v logic supply and 5v - 24v for the motor\u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003eCurrent\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrGray\"\u003e50mA Max for logic and up to 5A for each motor \u003c\/td\u003e\n  \u003c\/tr\u003e\n  \u003ctr\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003eDimensions\u003c\/td\u003e\n    \u003ctd class=\"ProductDescrWhite\"\u003e110 x 52 x H 25  mm \u003c\/td\u003e\n  \u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\n\u003cp\u003e\u003cb\u003eOverview\u003c\/b\u003e\u003cbr\u003e\nThe MD22 is a robust low\/medium power motor driver, designed to supply power for two motors. Main features are:\u003cbr\u003e\n\u003cbr\u003e\n1.    Drives two motors with independent control. \u003cbr\u003e\n2.    Ease of use and flexibility. \u003cbr\u003e\n3.    The 15v MOSFET drive voltage is generated onboard with a charge pump, so the module requires only two supply voltages;\u003cbr\u003e\n       a)   A standard 5V supply for the control logic, only 50mA maximum is required.\u003cbr\u003e\n       b)   Motor voltage, anything up to 24vdc to suit your motors.\u003cbr\u003e\n4.    Steering feature, motors can be commanded to turn by I2C register or input (Analogue + Servo). \u003cbr\u003e\n5.    Control of the module can be any of;\u003cbr\u003e\n       a)    I2C bus, up to 8 MD22 modules, switch selectable addresses and 4 modes of operation including steering..\u003cbr\u003e\n       b)    2 independent 0v-2.5v-5v analog inputs. 0v full reverse, 2.5v center stop, 5v full forward.\u003cbr\u003e\n       c)    0v-2.5v-5v analog input for speed ,with the other channel for steering.\u003cbr\u003e\n       d)    independent channel RC mode. Motors are individually Controlled directly from the RC receiver output.\u003cbr\u003e\n       e)    RC mode with steering, allows speed control with one stick of radio control, and steering with the other.\u003cbr\u003e\n6.    Uses high current MOSFETs capable of much more than the 5Amp Specification. \u003cbr\u003e\n       They are capable of 27Amp continuous with a suitable heat-sink and up to 290Amps in very brief repetitive pulses. \u003cbr\u003e\n       Without a heat-sink they can handle 5Amps continuously, hence our specification.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eMD22 Connections\u003c\/b\u003e\u003c\/p\u003e\n\u003ctable width=\"525\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd width=\"75%\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/md22.gif\" border=\"0\" height=\"162\" width=\"521\"\u003e\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n\u003cp align=\"center\" class=\"style1\"\u003eNote - There is no fuse on the PCB. You should provide a 10A fuse in line with the +v battery terminal.\u003c\/p\u003e\n      \u003cp\u003e\u003cstrong\u003eDon't Ignore this, High currents can be dangerous\u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp align=\"left\"\u003e\u003cfont size=\"3\"\u003eThe Motor Ground and the Logic Ground are internally connected on the Module. Be sure to use cable rated for at least 10A for the Battery, Fuse and Motor leads.\u003c\/font\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eMode Switches\u003cbr\u003e\n  \u003c\/b\u003eThe 4 mode switches set the operating mode of the MD22. They are read once only when the module is powered up. You cannot switch modes while the unit is on.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"540\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrlHead\"\u003eMode\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrlHead\"\u003eSwitch 1\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrlHead\"\u003eSwitch 2\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrlHead\"\u003eSwitch 3\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrlHead\"\u003eSwitch 4\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrWhite\"\u003eI2C Bus - address 0xB0\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrGray\"\u003eI2C Bus - address 0xB2\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrWhite\"\u003eI2C Bus - address 0xB4\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrGray\"\u003eI2C Bus - address 0xB6\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrWhite\"\u003eI2C Bus - address 0xB8\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrGray\"\u003eI2C Bus - address 0xBA\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrWhite\"\u003eI2C Bus - address 0xBC\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrGray\"\u003eI2C Bus - address 0xBE\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrWhite\"\u003e0v - 2.5v - 5v Analog \u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrGray\"\u003e0v - 2.5v - 5v Analog + Turn \u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrWhite\"\u003eRC Servo\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"195\" align=\"center\" class=\"ProductDescrGray\"\u003eRC Servo + Turn\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd width=\"114\" align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd width=\"115\" align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003eRC Servo - Timeout On \u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003eOn\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrWhite\"\u003eOff\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003eRC Servo + Turn - Timeout On \u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003eOn\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n          \u003ctd align=\"center\" class=\"ProductDescrGray\"\u003eOff\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cbr\u003e\n  Note that I2C addresses are the upper 7 bits. Bit 0 the the read\/write bit, so addresses 0xB0\/0xB1 are write\/read respectively to the same address.\u003cbr\u003e\n  This range of I2C  addresses is the same as those used by the MD03. \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eDifferential drive\u003cbr\u003e\n  \u003c\/b\u003eAs well as controlling two motors independently, The MD22 incorporates a useful added function of differential drive, provided the motors are positioned so one is driving the left side movement and the other diving the right side. The MD22 can then use one channel to drive both motors forward\/reverse and the other for turning left\/right.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eAnalog Mode - 0v-2.5v-5v\u003c\/b\u003e\u003cbr\u003e\n  In this mode the motors are controlled independently by two 0v to 5v analog signal on the SCL (Motor1)  and SDA (Motor2) lines.\u003cbr\u003e\n  0v is maximum reverse power\u003cbr\u003e\n  2.5v is the center stop position\u003cbr\u003e\n  5v is full forward power\u003cbr\u003e\n  There is a small (2.7%) dead band around 2.5v to provide a stable off position. \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eAnalog Mode - 0v-2.5v-5v with Differential drive\u003cbr\u003e\n  \u003c\/b\u003eBoth\u003cb\u003e \u003c\/b\u003eMotors speed is now controlled by the analogue voltage level on the SCL  line. The SDA line is now responsible for offsetting the two speeds and thus controlling the degree of turn.\u003cbr\u003e\n  The voltage levels are the same as above but turn degree is:\u003cbr\u003e\n  0v is hard turn left\u003cbr\u003e\n  2.5v is the straight position\u003cbr\u003e\n  5v is hard turn right\u003cbr\u003e\n  There is the same dead band (2.7%) on the speed and the turn. . \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eRC Servo Mode\u003c\/b\u003e\u003cbr\u003e\n  This mode allows direct connection to standard model radio control receivers. Most receivers work from a 4.8v-6v battery pack and can be powered by 5v supply that powers the MD22 logic. The control pulses (Yellow) from the receiver should be connected to the SCL (Motor1) and SDA (Motor2) terminals. Connect the receiver supply (Red) to +5v logic supply and the receiver 0v ground (Black) to the MD22 logic ground. The output from an RC receiver is a high pulse 1.5mS wide when the joystick is central. The MD22 provides full control in the range 1mS to 2mS with 1.5mS being the center off position. There is a 7uS dead zone centered on 1.5mS for the off position. The Radio Transmitter centering control should be adjusted so that the motor is off when the joystick is released.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eRC Mode Servo with Differential drive\u003cbr\u003e\n  \u003c\/b\u003eAgain uses a standard radio control receiver module output to determine speed with the addition of the extremely useful steering function. the receivers Forward and Reverse channel  should be wired to the SCL connection. And the steering through the SDA channel. Again fine adjustment to the transmitters offset may possibly be needed. Note that for this mode to work, the motors must be in the same phase. If you have one of the motors reversed, the robot will not steer correctly. If this happens then switch off and reverse one of the motors.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eRC Modes with timeout feature (from version 3)\u003c\/strong\u003e\u003cbr\u003e\nAn extra couple of modes have been added and operate in much the same way as the normal servo control. The difference is the addition of a new timeout feature. If the RC pulse is not detected on a channel 1 (SCL) for a period in excess of 200ms, then both of the motors will be stop being driven until a valid RC signal is received on channel 1.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eI2C Mode\u003c\/b\u003e\u003cbr\u003e\n  I2C mode allows the MD22 to be connected to popular controllers such as the OOPic and BS2p, and a wide range of micro-controllers like PIC's, AVR's, 8051's etc. \u003cbr\u003e\n  I2C communication protocol with the MD22 module is the same as popular eeprom's such as the 24C04. To read one or more of the MD22 registers, first send a start bit, the module address (0XB0 for example - see mode switches) with the read\/write bit low, then the register number you wish to read. This is followed by a repeated start and the module address again with the read\/write bit high (0XB1 in this example). You are now able to read one or more registers. The MD22 has 8 registers numbered 0 to 7 as follows;\u003c\/p\u003e\n\u003ccenter\u003e\n  \u003ctable width=\"500\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n    \u003ctbody\u003e\n      \u003ctr bgcolor=\"#0033FF\"\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrlHead\"\u003eRegister Address\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrlHead\"\u003eName\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrlHead\"\u003eRead\/Write\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrlHead\"\u003eDescription\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e0\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eMode\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrWhite\"\u003e Mode of operation (see below)\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e1\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eSpeed1\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e Left motor speed (mode 0,1) or speed (mode 2,3)\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e2\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eSpeed2\/Turn\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eRight motor speed (mode 0,1) or turn (mode 2,3)\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e3\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eAcceleration\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003eR\/W\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eAcceleration for i2c (mode 0,1)\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e4\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eUnused\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eRead as zero\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e5\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eUnused\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eRead as zero\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003e6\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eUnused\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrWhite\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrWhite\"\u003e\u003cp align=\"center\"\u003eRead as zero\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n      \u003ctr\u003e\n        \u003ctd width=\"12%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003e7\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"29%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eSoftware Revision\u003c\/p\u003e\u003c\/td\u003e\n        \u003ctd width=\"23%\" align=\"center\" class=\"ProductDescrGray\"\u003eRead only\u003c\/td\u003e\n        \u003ctd width=\"95%\" align=\"center\" class=\"ProductDescrGray\"\u003e\u003cp align=\"center\"\u003eSoftware Revision Number\u003c\/p\u003e\u003c\/td\u003e\n      \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n  \u003c\/table\u003e\n\u003c\/center\u003e\n\u003cp\u003eThe mode register defaults to 0, as does the acceleration register (slowest acceleration). No motor will move until directly after speed1 or speed2\/turn registers are changed.\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cb\u003eMode Register\u003c\/b\u003e\u003cbr\u003e\n  The mode register selects which mode of operation and I2C data input type the user requires. The options being:\u003cbr\u003e\n  \u003cspan style=\"background-color: rgb(255, 255, 0);\"\u003e \u003cbr\u003e\n  \u003c\/span\u003e \u003cb\u003e0\u003c\/b\u003e,    (Default Setting) If a value of 0 is written to the mode register then the meaning of the speed registers is literal speeds in the range of:\u003cbr\u003e\n  0 (Full Reverse)  128 (Stop)   255 (Full Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cb\u003e 1,\u003c\/b\u003e    Mode 1 is similar to Mode 0, except that the speed registers are interpreted as signed values. The meaning of the speed registers is literal speeds in the range of:\u003cbr\u003e\n  -128 (Full Reverse)   0 (Stop)   127 (Full Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cb\u003e 2,\u003c\/b\u003e    Writing a value of  2 to the mode register will make speed1 control both motors speed, and speed2 becomes the turn value. \u003cbr\u003e\n  Data is in the range of 0 (Full Reverse)  128 (Stop)  255 (Full  Forward).\u003cbr\u003e\n  \u003cbr\u003e\n  \u003cb\u003e 3, \u003c\/b\u003e   Mode 3 is similar to Mode 2, except that the speed registers are interpreted as signed values. \u003cbr\u003e\n  Data is in the range of -128  (Full Reverse)  0 (Stop)   127 (Full Forward)\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eSpeed1 Register\u003c\/b\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003eDepending on what mode you are in, this register can affect the speed of one motor or both motors. If you are in mode 0 or 1 it will Set the speed of the motor 1. The larger the number written to this register, the more power is applied to the motor. If  mode is set to 2 or 3 it controls the speed and direction of both motors (subject to effect of turn register).\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eSpeed2\/Turn Register\u003c\/b\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003eAgain when in mode 0 or 1 this register operates the same as speed1 but controls the operation of the motor 2. When mode is set to 2 or 3 Speed2 becomes a Turn register, and any value in speed 1 is combined with the contents of this register to steer the device. \u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eAcceleration Register (in direct motor control)\u003c\/b\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003eIf you require a controlled acceleration period for the attached motors to reach there ultimate speed, the MD22 has a register to provide this. It works by inputting a value into the acceleration register which acts as a delay in the power stepping. The amount of steps is the difference between the current speed of the motors and the new speed (from speed 1 and 2 registers). So if the motors were traveling at full speed in the forward direction (255) and were instructed to move at full speed in reverse (0), there would be 255 steps.\u003cbr\u003e\n  \u003cbr\u003e\n  The acceleration register contains the rate at which the motor board moves through the steps. At 0 (default) the board changes the power (accelerates) at its fastest rate, each step taking 64us. When the acceleration register is loaded with the Slowest setting of 255, the board will change the power output every 16.4ms.\u003cbr\u003e\n  \u003cbr\u003e\n  So to calculate the time (in seconds) for the acceleration to complete :\u003cbr\u003e\n  time = accel reg value * 64us * steps. \u003cbr\u003e\n  For example :\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"420\" height=\"199\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrlHead\"\u003eAccel reg\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrlHead\"\u003eTime\/step\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrlHead\"\u003eCurrent speed\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrlHead\"\u003eNew speed\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrlHead\"\u003eSteps\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrlHead\"\u003eAcceleration  time\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0 \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e20\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e1.28ms\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e127\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e255\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e128\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e164ms\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e50\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e3.2ms\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e80\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e0\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e80\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e256ms\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e100\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e6.4ms\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e45\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e7\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e38\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e243ms\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e150\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e9.6ms\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e5\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e250\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e2.4s\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrGray\"\u003e200\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e12.8ms\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e127\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e0\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e127\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrGray\"\u003e1.63s\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"16%\" align=\"center\" class=\"ProductDescrWhite\"\u003e255\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e16.32ms\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e65\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e150\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e85\u003c\/td\u003e\n          \u003ctd width=\"17%\" align=\"center\" class=\"ProductDescrWhite\"\u003e1.39s\u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cu\u003e\u003cbr\u003e\n  \u003c\/u\u003e\u003cb\u003e Software Revision number\u003c\/b\u003e\u003cbr\u003e\n  This register contains the revision number of the software in the modules PIC16F873 controller - currently 1 at the time of writing.\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eUsing the MD22 with popular controllers\u003c\/b\u003e\u003cbr\u003e\n  One the easiest ways of connecting the MD22 to a standard controller, such as the BS2 Stamp, is to use RC Servo mode. Select normal (independent) or differential mode on the switches before powering the module. Now you can use the PULSOUT command to simulate the servo pulse and control the motors. The pulse needs to vary between 1mS (full reverse) to 2mS (full forwards) with 1.5mS being the center off position. Unlike servo's, which require the pulse to be repeated every 20mS or so, the MD22 need only be sent a new pulse when you want to change speed. With no pulses being sent it simply continues at the current speed. The timing parameter will vary depending on the controller. Here are some popular examples - all tested by us.\u003c\/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ccenter\u003e\n    \u003ctable width=\"596\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"ProductDescrBorder\"\u003e\n      \u003ctbody\u003e\n        \u003ctr bgcolor=\"#0033FF\"\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrlHead\"\u003eController\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrlHead\"\u003ePulsout Resolution\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrlHead\"\u003eFull reverse\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrlHead\"\u003eCenter off\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrlHead\"\u003eFull Forwards\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrlHead\"\u003eCommand example for Stop\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrWhite\"\u003eBS2\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrWhite\"\u003e2uS\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrWhite\"\u003e500\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrWhite\"\u003e750\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrWhite\"\u003e1000\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrWhite\"\u003epulsout mot1, 750 \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrGray\"\u003eBS2e\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrGray\"\u003e2uS\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrGray\"\u003e500\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrGray\"\u003e750\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrGray\"\u003e1000\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrGray\"\u003epulsout mot1, 750 \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrWhite\"\u003eBS2sx\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrWhite\"\u003e0.8uS\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrWhite\"\u003e1250\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrWhite\"\u003e1875\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrWhite\"\u003e2500\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrWhite\"\u003epulsout mot1, 1875 \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrGray\"\u003eBS2p\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrGray\"\u003e0.8uS *\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrGray\"\u003e1250\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrGray\"\u003e1875\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrGray\"\u003e2500\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrGray\"\u003epulsout mot1, 1875 \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrWhite\"\u003eAtom\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrWhite\"\u003e1uS\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrWhite\"\u003e1000\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrWhite\"\u003e1500\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrWhite\"\u003e2000\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrWhite\"\u003epulsout mot1, 1500 \u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n          \u003ctd width=\"100\" align=\"center\" class=\"ProductDescrGray\"\u003eBX-24\u003c\/td\u003e\n          \u003ctd width=\"83\" align=\"center\" class=\"ProductDescrGray\"\u003e1.085uS\u003c\/td\u003e\n          \u003ctd width=\"60\" align=\"center\" class=\"ProductDescrGray\"\u003e922\u003c\/td\u003e\n          \u003ctd width=\"52\" align=\"center\" class=\"ProductDescrGray\"\u003e1382\u003c\/td\u003e\n          \u003ctd width=\"72\" align=\"center\" class=\"ProductDescrGray\"\u003e1843\u003c\/td\u003e\n          \u003ctd width=\"213\" align=\"center\" class=\"ProductDescrGray\"\u003ecall pulseout(mot1, 1382, 1) \u003c\/td\u003e\n        \u003c\/tr\u003e\n      \u003c\/tbody\u003e\n    \u003c\/table\u003e\n  \u003c\/center\u003e\n\u003c\/div\u003e\n\u003cp\u003e* BS2p resolution is 0.8uS - rather than 0.75uS or 1.18uS as specified in earlier BS2p documentation. Parallax have confirmed this to us.\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868562777,"sku":"MD22\/A","price":70.87,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890036949337,"sku":"MD22","price":70.87,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/md22_5.jpg?v=1695766430"},{"product_id":"md04-20a-h-bridge","title":"MD04 - 20A H-Bridge","description":"\u003cp\u003e\u003cspan\u003eThe MD04 is a medium power motor driver and is an upgraded replacement for the MD03, the main features are ease of use and flexibility. The motor's power is controlled by on-board Pulse Width Modulation (PWM) generators driving the H-Bridge Transistors.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eVoltage - 5v - 24v \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eCurrent - up to 20A \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eControl 1 - 0v - 2.5v - 5v Analogue for Reverse - Stop - Forward \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eControl 2 - 0v - 5v (or PWM equiv.) with separate direction control \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eControl 3 - RC Mode - Controlled by standard Radio Control system. Direct connection to RC receiver. (1mS - 2mS pulse with 1.5mS center off). \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eControl 4 - I2C Interface, full control, acceleration and status reporting. Up to 8 modules on bus. SCL speed up to 1MHz \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eControl 5 - Serial at 5v levels and up to 115.2k baud rate\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eCurrent limiter - Preset at 20A \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eTemperature limiter - Reduces power gracefully if module overheats \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eSize - 113mm x 52mm x 30mm\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eFull \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/md04tech.pdf\" target=\"_blank\"\u003eMD04 Documentation\u003c\/a\u003e \u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eExamples\u003c\/strong\u003e\u003cspan\u003e\u003cstrong\u003e\u003cstrong\u003e\u003cbr\u003e\u003c\/strong\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/i2c-tutorial\" target=\"_blank\"\u003eI2C bus tutor\u003c\/a\u003e\u003c\/strong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cstrong\u003e - \u003c\/strong\u003egeneral I2C guide\u003cspan\u003e\u003cstrong\u003e\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/arduino_examples.htm\" target=\"_blank\"\u003e\u003cstrong\u003eArduino\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cstrong\u003e -\u003cstrong\u003e \u003c\/strong\u003e\u003c\/strong\u003econtrol using an I2C interface and display using the LCD05\u003cbr\u003e\u003cstrong\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/ATMEGA32_examples.htm\" target=\"_blank\"\u003e\u003cstrong\u003eATMEGA32\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - \u003c\/strong\u003eSimple communication example\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/pic18_examples.htm\" target=\"_blank\"\u003ePIC18F4410\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e - driving the motor and displaying variables on the LCD03\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/pic24_examples.htm\" target=\"_blank\"\u003e\u003cstrong\u003ePIC24FJ16GA002\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - reading the result and displaying on a LCD03\/LCD05\u003cbr\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/picaxe_examples.htm\" target=\"_blank\"\u003e\u003cstrong\u003ePicaxe18x\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e - I2C communication example\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868595545,"sku":"MD04\/A","price":62.87,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037047641,"sku":"MD04","price":62.87,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/md04-2.jpg?v=1695766437"},{"product_id":"i2c-bus-to-14-general-purpose-i-o-lines","title":"I2C bus to 14 general purpose I\/O lines","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003eThe ideal chip for adding general purpose I\/O lines to the RF04\/CM02, USB-I2C or any I2C based application.\u003c\/strong\u003e\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\n\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\n\u003cstrong style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003eFeatures:\u003c\/strong\u003e\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nIdeal for adding general purpose I\/O lines to the RF04\/CM02 or USB-I2C.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nUp to 2 SRF04's or 2 SRF05's controlled, including all timing.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nUp to 14 general purpose Input\/Output lines.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nUp to 5 Analogue input channels with 10-bit A\/D conversion.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\n1 PWM output usable as an 8-bit D\/A with a simple filter.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nI2C address 0x40, can be changed to allow up to 8 devices on the same I2C bus.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\n6 I\/O lines have programmable pull-up resistors built into the chip .\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nIndividual control of each pin for Input or Output.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nSimple commands for Bit Set, Bit Clear and Bit Toggle.\u003cbr style=\"font-family: Arial, Helvetica, sans-serif; font-size: 11px; \"\u003e\nEasy I2C bus control, similar protocol as popular EEPROM's such as 24C02.\u003c\/p\u003e\n\u003cp\u003e\u003ca target=\"_blank\" href=\"http:\/\/www.robot-electronics.co.uk\/htm\/gpio14tech.htm\"\u003eOn Line User manual\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169868628313,"sku":"GPIO14\/A","price":9.71,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037080409,"sku":"GPIO14","price":9.71,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/gpio14_5.jpg?v=1695766444"},{"product_id":"emg30-mounting-bracket","title":"EMG30 Mounting Bracket","description":"\u003cbr\u003e\nProviding easy mounting  of the EMG30 to the robot, the bracket is made from a 2mm thick  strong aluminum and finished in blue enamel.\u003cbr\u003e\n\n\u003cp align=\"left\"\u003e  \u003cimg src=\"..\/images\/emg30brack.jpg\" width=\"300\" height=\"249\"\u003e           \u003cimg src=\"..\/images\/bracketviews.jpg\" width=\"339\" height=\"341\"\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169869054297,"sku":"EMG30BR\/A","price":5.08,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037145945,"sku":"EMG30BR","price":5.08,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/emg30brack_5.jpg?v=1695766450"},{"product_id":"12v-170rpm-gearmotor-with-encoder","title":"12V - 170RPM Gearmotor with encoder","description":"\u003cbr\u003e\nThe EGM30 (encoder,  motor, gearbox 30:1) is a 12v motor fully equipped with encoders and a 30:1  reduction gearbox. It is ideal for small or medium robotic applications,  providing cost effective drive and feedback for the user. It also includes a  standard noise suppression capacitor across the motor windings.\n\u003cp align=\"center\"\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMeasurements\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"http:\/\/www.robot-electronics.co.uk\/images\/EMG30.jpg\" border=\"0\" height=\"210\" width=\"786\"\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eConnector\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe EGM30 is supplied with a 6 way JST  connector (part no PHR-6) at the end of approx 90mm of  cable as standard. \u003cbr\u003e\n  The connections are:\u003c\/p\u003e\n\u003ctable border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"315\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"19\" width=\"181\"\u003e\u003cstrong\u003eWire colour\u003c\/strong\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"436\"\u003e\u003cstrong\u003eConnection\u003c\/strong\u003e\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"15\" width=\"181\"\u003ePurple (1)\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"15\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"15\" width=\"436\"\u003eHall Sensor B        Vout\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"19\" width=\"181\"\u003eBlue (2)\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"436\"\u003eHall sensor A        Vout\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"19\" width=\"181\"\u003eGreen (3)\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"436\"\u003eHall sensor        ground\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"19\" width=\"181\"\u003eBrown (4)\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"436\"\u003eHall sensor Vcc\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"19\" width=\"181\"\u003eRed (5)\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"19\" width=\"436\"\u003e+ Motor\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" height=\"20\" width=\"181\"\u003eBlack (6)\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"20\" width=\"66\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" height=\"20\" width=\"436\"\u003e- Motor\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003enote that pull up resistors (we used 4k7) are required on the hall sensor  outputs, and wires are the colours from the actual cable.\u003c\/p\u003e\n\u003ctable border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"405\"\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003e\u003cp align=\"left\"\u003e\u003cstrong\u003especification\u003c\/strong\u003e\u003c\/p\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eRated voltage\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e12v\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eRated torque\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e1.5kg\/cm\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eRated speed\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e170rpm\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eRated current\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e530mA\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eNo load speed\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e216\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eNo load current\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e150mA\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eStall Current \u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e2.5A\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eRated output\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e4.22W\u003c\/td\u003e\n    \u003c\/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"right\" width=\"255\"\u003eEncoder counts per output shaft turn\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"19\"\u003e\u003c\/td\u003e\n      \u003ctd align=\"left\" width=\"123\"\u003e360\u003c\/td\u003e\n    \u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169869087065,"sku":"EMG30\/A","price":40.22,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037277017,"sku":"EMG30","price":40.22,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/emg30motor_5.jpg?v=1695766457"},{"product_id":"radio-telemetry-module","title":"Radio Telemetry Module","description":"\u003cp\u003eThe CM02 module, together with its companion  RF04 module, form a complete interface between your PC and our range of I2C modules. You can send commands down to your robot and receive telemetry data back up to the PC. Now you have all the modules necessary to control your robot from your PC. The CM02 is powered from your robots battery, which can be anything from 6v to 12v. The CM02 can monitor battery voltage and report this back to the PC (so your robot knows when its hungry!). There are four I2C connectors on the CM02, but your not limited to four I2C devices. In practice, you may only need one connector and route the I2C bus around all the modules you wish. Bit rate on the I2C bus is approximately 100KHz.\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169869152601,"sku":"CM02\/A","price":12.2,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037244249,"sku":"CM02","price":12.2,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/cm02_5.jpg?v=1695766463"},{"product_id":"esp32lr88-wifi-8-x-16a-relays","title":"ESP32LR88 - WIFI 8 x 16A relays","description":"\u003cp\u003e\u003cstrong\u003eControlled over WIFI using preprogrammed command sets or html page.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe ESP32LR88 is a WIFI connected relay module using the popular ESP32. It provides 8 relays capable switching up to 16Amps and 8 digital inputs with pull-ups than can interface directly with volt free contacts. The normally open relay contacts have snubbers fitted across them, and can drive inductive loads such as contactors and solenoids. Power for the board is 12v dc, which can be provided by a standard universal wall power supply. A 1A or greater supply should be selected.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eControl Protocols\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e1. Simple plain text commands sent to the module.\u003cbr\u003e2. HTML commands\u003cbr\u003e3. MQTT \u003cbr\u003e4. A built in webpage\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWiFi\u003c\/strong\u003e\u003cbr\u003e The ESP32LR88 connects via WiFi to your network. Therefore it must be located in a position where it gets a good WiFi signal. The module should not be enclosed in a metal box\/cabinet as this will shield the WiFi signal. You can check the signal level by looking at the RSSI figure which is reported by the ST (STatus) command.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e \u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eRelays\u003c\/strong\u003e\u003cspan\u003e - 8 with snubbers for inductive loads\u003cbr\u003e\u003c\/span\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e - 8 volt free contact compatible inputs or 3.3v digital inputs\u003cbr\u003e\u003cstrong\u003ePower\u003c\/strong\u003e\u003cspan\u003e - 12V DC adaptor, supplied separately\u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eControl interface\u003c\/strong\u003e\u003cspan\u003e - \u003c\/span\u003eHTTP (webpage), HTML commands, MQTT commands or plain text commands (ASCII terminal)\u003cbr\u003e\u003cstrong\u003eRelay current\u003c\/strong\u003e - Up to 16Amp @24vdc or 250vac \u003cbr\u003e\u003cstrong\u003eOutput connections\u003c\/strong\u003e - Screw Terminals for N\/O N\/C and Common contacts.\u003cbr\u003e\u003cstrong\u003eProgramming connection\u003c\/strong\u003e - USB programmable with Arduino IDE\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eBuilt around the ESP-WROOM-32, the module is fully customisable around open source software. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca title=\"ESP32LR88\" href=\"http:\/\/www.robot-electronics.co.uk\/files\/ESP32LR88.pdf\" target=\"_blank\"\u003eDocumentation\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169870201177,"sku":"809230\/A","price":89.55,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890037178713,"sku":"809230","price":89.55,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/esp32lr88.jpg?v=1695766469"},{"product_id":"tcp184-industrial-4-x-16a-relays","title":"TCP184 - industrial 4 x 16A relays","description":"\u003cp\u003eRuggedised, Industrial, DIN rail mounting control module\u003cbr\u003eBuilt in snubbers for safe connection to inductive loads.\u003cbr\u003eOptically isolated inputs.\u003cbr\u003eMains power - 90 - 264Vac, 47-63Hz.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eRight out of the box -\u003cbr\u003e\u003c\/strong\u003eSimple configuration and setup from your web browser.\u003cbr\u003eControl it from a web page, or select tcp\/ip control with an option of ASCII, Binary or Modbus protocols.\u003cbr\u003eSend email notifications on selected events.\u003cbr\u003eOptional AES encryption for totally secure control using binary tcp\/ip mode.\u003cbr\u003eAdd simple relay automation, for automatic relay control.\u003cbr\u003eCreate Peer to Peer control in a few clicks.\u003cbr\u003eUp to eight 32-bit counters with capture and reset, 20 counts\/second on inputs.\u003cbr\u003eEvent schedules for timed events daily or weekly. \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStill want more?\u003cbr\u003e\u003c\/strong\u003eYou can completely customise the module using our powerful dScript language! - or just modify a supplied example.\u003cbr\u003eCreate custom webpages - Add your own logo, buttons and functionality.\u003cbr\u003eAdd a tcp server to respond to incoming tcp requests with your own functions.\u003cbr\u003eInclude a tcp client and send packets of tcp data to other devices using your own protocol.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHardware\u003cbr\u003e\u003c\/strong\u003eSerial port - 1 x RS485 port.\u003cbr\u003eRelays - 4 with up to 16Amp @24vdc or 250vac, screw Terminals for N\/O N\/C and Common contacts\u003cbr\u003eInputs - 8 flexible channels, your choice of VFC input, counters or 12-bit analogue input.\u003cbr\u003eCommunication - USB for development, RJ45 Ethernet for normal access\u003cbr\u003eMains power - 90 - 264Vac, 47-63Hz.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIDE\u003cbr\u003e\u003c\/strong\u003edScript editor requirements - Windows 7 or later, Linux or macOS.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca title=\"dscript\" href=\"http:\/\/www.robot-electronics.co.uk\/dscript.html\" target=\"_blank\"\u003eDocumentation, editor and examples\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169870725465,"sku":"809228\/A","price":141.67,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037342553,"sku":"809228","price":141.67,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/tcp184-din-crop.jpg?v=1695766475"},{"product_id":"bno055-bosch-9-axis-absolute-orientation-sensor","title":"BNO055 - BOSCH 9 axis absolute orientation sensor","description":"\u003cp\u003e\u003cspan\u003eBased around the fantastic BNO055 9 axis absolute orientation sensor from Bosch our module offers supply regulation and comms level translation, this means the module will work fine with any voltage between 3.3V and 5V. Default mode is serial communication, but this is easily changed to I2C with by closing a link on the board.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eHeading\u003c\/strong\u003e - Simple to read tilt compensated angle\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eQuaternion\u003c\/strong\u003e - 4 vectors for more accurate requirements\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eEular angles\u003c\/strong\u003e - 3 angles with reference to x,y and z axis\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eRotation vector\u003c\/strong\u003e - angular velocity from the gyro\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eLinear acceleration\u003c\/strong\u003e - 3 axis of acceleration due to movement\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eGravity\u003c\/strong\u003e - 3 axis of acceleration due to gravity\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cstrong\u003eTemperature\u003c\/strong\u003e - output in °C\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSerial communication is 115,200bps 8N1 (8 bit, no parity and 1 stop bit)\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eI2C communication is with a slave address of 0x50 (0x28 7 bit) and clock rate of upto 400khz\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eModule is supplied with straight and right angle connectors.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/BNO055.pdf\"\u003e\u003cspan\u003e\u003cstrong\u003eBNO055 datasheet\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/BNO055-schematic.pdf\"\u003e\u003cspan\u003e\u003cstrong\u003eSchematic\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169870758233,"sku":"809214\/A","price":30.93,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890037637465,"sku":"809214","price":30.93,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/bno055.jpg?v=1695766482"},{"product_id":"ds3484c-case-for-the-ds3484","title":"dS3484C - Case for the dS3484","description":"\u003cp\u003e\u003cspan\u003edS3484 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the dS3484 module.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSupplied as a case only, the dS3484 module should be ordered separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169870823769,"sku":"809094\/A","price":30.45,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890037539161,"sku":"809094","price":30.45,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/ds3484c-1_1.jpg?v=1695766488"},{"product_id":"ds2824c-case-for-the-ds2824","title":"dS2824C - Case for the dS2824","description":"\u003cp\u003e\u003cspan\u003edS2824 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the dS2824 module.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSupplied as a case only, the dS2824 module should be ordered separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169870856537,"sku":"809093\/A","price":40.7,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890037375321,"sku":"809093","price":40.7,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/ds2824c.jpg?v=1695766495"},{"product_id":"ds378c-case-for-the-ds378","title":"dS378C - Case for the dS378","description":"\u003cp\u003e\u003cspan\u003edS378 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the dS378 module.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSupplied as a case only, the dS378 module should be ordered separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169870889305,"sku":"809092\/A","price":32.57,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890037670233,"sku":"809092","price":32.57,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/ds378c.jpg?v=1695766501"},{"product_id":"ds1242c-case-for-the-ds1242","title":"dS1242C - case for the dS1242","description":"\u003cp\u003e\u003cspan\u003edS1242 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the dS1242 module.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSupplied as a case only, the dS1242 module should be ordered separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169871675737,"sku":"809091\/A","price":24.91,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037703001,"sku":"809091","price":24.91,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/img_4458.jpg?v=1695766507"},{"product_id":"usb-rly82c-case-for-the-usb-rly82","title":"USB-RLY82C - Case for the USB-RLY82","description":"\u003cp\u003e\u003cspan\u003eUSB-RLY82 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the USB-RLY82 module.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSupplied as a case only, the USB-RLY82 module should be ordered separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169871708505,"sku":"809090\/A","price":20.94,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037866841,"sku":"809090","price":20.94,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/usb-rly82c-2.jpg?v=1695766514"},{"product_id":"mbh88-8-x-16a-modbus-relay","title":"MBH88 - 8 x 16A modbus relay","description":"\u003cp\u003e\u003cstrong\u003eControlled by modbus RTU over RS485, address, baud rate and parity set by dip switch. \u003cbr\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003eRelays\u003c\/strong\u003e\u003cspan\u003e - 8 VFC with snubbers on N\/O\u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eDigital opto isolated inputs\u003c\/strong\u003e\u003cspan\u003e - 8\u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003ePower\u003c\/strong\u003e\u003cspan\u003e - Universal input: 90 – 264Vac, 47-63Hz\u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eControl interface\u003c\/strong\u003e\u003cspan\u003e - Modbus RTU over RS485. \u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eRelay current\u003c\/strong\u003e\u003cspan\u003e - Up to 16Amp @24vdc or 250vac \u003c\/span\u003e\u003cbr\u003e\u003cstrong\u003eConnections\u003c\/strong\u003e\u003cspan\u003e - Screw Terminals for N\/O N\/C and Common contacts.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eFull \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/mbh88.pdf\" target=\"_blank\"\u003eMBH88 Documentation\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169871741273,"sku":"809074\/A","price":187.68,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037768537,"sku":"809074","price":187.68,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/mbh88boxed.jpg?v=1695766523"},{"product_id":"bt004ble-4-x-16a-bluetooth-relay","title":"BT004BLE - 4 x 16A Bluetooth Relay","description":"\u003cp\u003eThe BT004BLE provides four volt free contact relay outputs with a current rating of up to 16Amp each controlled over a HM10 Bluetooth serial port. 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\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/bt004ble.pdf\" target=\"_blank\"\u003eDatasheet (PDF)\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872134489,"sku":"808975\/A","price":55.72,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890037899609,"sku":"808975","price":55.72,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/bt004ble_1.jpg?v=1695766533"},{"product_id":"wor-r1-research-platform-for-rd02","title":"WOR-R1 - Research platform for RD02","description":"\u003cp\u003e\u003cspan\u003eDeveloped in collaboration with \u003c\/span\u003eManu Systems\u003cspan\u003e, the WOR-R1 is a solid research base carrying the RD02 robot drive. There are slot cutouts in the base to enable a wide variety of 12v batteries to be fitted and the top has a huge matrix of holes and slots for fixing sensors, controllers etc. Ideal for Hobbyist and University researchers looking for a top quality robot platform. The RD02 (ordered separately) mounts on the WOR-R1 as shown below.\u003c\/span\u003e\u003c\/p\u003e\n\u003ctable class=\"revw\"\u003e\n\u003ctbody\u003e\n\u003ctr class=\"rlvw-dta\"\u003e\n\u003ctd\u003eWeight\/Load Limit (kg)\u003c\/td\u003e\n\u003ctd align=\"right\"\u003e1.2 kg \/ 5 kg\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"rlvw-dta\"\u003e\n\u003ctd\u003eEngine power (W)\u003c\/td\u003e\n\u003ctd align=\"right\"\u003e2 x 6 W nominal \/ 2 x 30 W maximum\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"rlvw-dta\"\u003e\n\u003ctd\u003eTop speed (km\/h)\u003c\/td\u003e\n\u003ctd align=\"right\"\u003e3.2 km\/h\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"rlvw-dta\"\u003e\n\u003ctd\u003eTurn speed (degree\/s)\u003c\/td\u003e\n\u003ctd align=\"right\"\u003e450 degrees\/s\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cspan\u003e\u003cbr\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/WOR-R1.pdf\" target=\"_blank\"\u003eWOR-R1 assembly manual\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/en.manu-systems.com\/WOR-0005.shtml\" target=\"_blank\"\u003eAndroid app for remote control via bluetooth\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/WOR-0004.pdf\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eWOR-R1 robot manual\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872200025,"sku":"808904\/A","price":235.87,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890038030681,"sku":"808904","price":235.87,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/wor-01.jpg?v=1695766541"},{"product_id":"tsa01-analog-temperature-sensor","title":"TSA01- Analog Temperature Sensor","description":"\u003cp\u003eThe TSA01 is a voltage output temperature sensor module employing Microchip's MCP9700A sensor.\u003c\/p\u003e\n\u003ctable border=\"0\" height=\"147\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd height=\"21\"\u003e\u003cstrong\u003eSpecification\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd height=\"21\"\u003e \u003c\/td\u003e\n\u003ctd height=\"21\"\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd height=\"21\" align=\"right\"\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd height=\"21\"\u003e  \u003c\/td\u003e\n\u003ctd height=\"21\"\u003e2.3v to 5.0v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd height=\"18\" align=\"right\"\u003eOperating Current\u003c\/td\u003e\n\u003ctd height=\"18\"\u003e \u003c\/td\u003e\n\u003ctd height=\"18\"\u003e6uA (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd height=\"21\" align=\"right\"\u003eOutput\u003c\/td\u003e\n\u003ctd height=\"21\"\u003e \u003c\/td\u003e\n\u003ctd height=\"21\"\u003e10.0 mV\/°C (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd height=\"21\" align=\"right\"\u003eOutput Voltage at 0°C\u003c\/td\u003e\n\u003ctd height=\"21\"\u003e \u003c\/td\u003e\n\u003ctd height=\"21\"\u003e500mV\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd height=\"21\" align=\"right\"\u003eRange\u003c\/td\u003e\n\u003ctd height=\"21\"\u003e \u003c\/td\u003e\n\u003ctd height=\"21\"\u003e40°C to +125°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd height=\"21\" align=\"right\"\u003eAccuracy\u003c\/td\u003e\n\u003ctd height=\"21\"\u003e \u003c\/td\u003e\n\u003ctd height=\"21\"\u003e±1°C (typ.) ±2°C (max.), 0°C to +70°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eConnectivity\u003cbr\u003e\u003c\/strong\u003eThe TSA01 should be connected to your controller using \u003cstrong\u003eshielded twin core cable\u003c\/strong\u003e. \u003cbr\u003eThe shield is the 0v ground connection. \u003cbr\u003eOne of the cores carries the supply voltage, marked as 5v on the PCB.\u003cbr\u003eThe other core carries the temperature voltage, marked as T on the PCB.\u003c\/p\u003e\n\u003cp\u003eDo not power the module from a higher voltage as there are ESD protection diodes on the board that start conducting at around 6v.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEnclosure\u003c\/strong\u003e\u003cbr\u003e\u003cspan\u003eWe do not supply a enclosure for these, however you do have a couple of choices.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eThe module is designed to fit a Schneider NSYTBS775 enclosure (RS 2550359430).\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eIf you have access to a 3D printer then you may print your own case from the following STL files.\u003c\/span\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/Base.stl\" target=\"_blank\"\u003e\u003cbr\u003eBase.stl\u003c\/a\u003e\u003cspan\u003e   \u003c\/span\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/Lid.stl\" target=\"_blank\"\u003eLid.stl\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872265561,"sku":"808903\/A","price":9.14,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890038096217,"sku":"808903","price":9.14,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/tsa01.jpg?v=1695766550"},{"product_id":"ds378-8-x-16a-ethernet-relay","title":"dS378 - 8 x 16A ethernet relay","description":"\u003cp\u003e\u003cstrong\u003eRight out of the box -\u003c\/strong\u003e\u003cbr\u003eSimple configuration and setup from your web browser.\u003cbr\u003eControl it from a web page, or select tcp\/ip control with an option of ASCII, Binary or Modbus protocols. \u003cbr\u003eSend email notifications on selected events. \u003cbr\u003eOptional AES encryption for totally secure control using binary tcp\/ip mode.\u003cbr\u003eAdd simple relay automation, for automatic relay control.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStill want more?\u003c\/strong\u003e \u003cbr\u003eYou can completely customise the module using our powerful dScript language! - or just modify a supplied example.\u003cbr\u003eCreate custom webpages - Add your own logo, buttons and functionality.\u003cbr\u003eAdd a tcp server to respond to incoming tcp requests with your own functions.\u003cbr\u003eInclude a tcp client and send packets of tcp data to other devices using your own protocol.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAnd the best bit!\u003c\/strong\u003e\u003cbr\u003eYou will probably never need to use dScript - but its great to know its there - just in case!\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHardware\u003c\/strong\u003e\u003cbr\u003eSerial ports - 2 x TTL level serial ports, 1 x RS485 port.\u003cbr\u003eRelays - 8 with up to 16Amp @24vdc or 250vac, screw Terminals for N\/O N\/C and Common contacts\u003cbr\u003eI\/O - 7 flexable channels, your choice of VFC input, NPN output or 10-bit analogue input.\u003cbr\u003eCommunication - USB for development, RJ45 Ethernet for normal access\u003cbr\u003ePower - 12V DC jack 2.1mm (adaptor sold separately)\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003edScript editor requirements - \u003c\/strong\u003eWindows 7 or later\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv id=\"description\" class=\"data item content\"\u003e\n\u003cdiv class=\"product attribute description\"\u003e\n\u003cdiv class=\"value\"\u003e\n\u003cp\u003e\u003cspan\u003e\u003cspan\u003e\u003ca title=\"dscript\" href=\"https:\/\/www.robot-electronics.co.uk\/dscript.html\" target=\"_blank\"\u003eDocumentation, editor and examples\u003c\/a\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cspan\u003e\u003cbr\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872363865,"sku":"808866\/A","price":113.48,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890037932377,"sku":"808866","price":113.48,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/ds378logo.png?v=1695766559"},{"product_id":"eth8020c-case-for-the-eth8020","title":"ETH8020C - Case for the ETH8020","description":"\u003cp\u003e\u003cspan\u003eETH8020 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the ETH8020 module.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eSupplied as a case only, the ETH8020 module should be ordered separately.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872396633,"sku":"808839\/A","price":47.42,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890038128985,"sku":"808839","price":47.42,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/eth8020c_1.jpg?v=1695766565"},{"product_id":"eth008c-case-for-the-eth008","title":"ETH008C - Case for the ETH008","description":"\u003cp\u003e\u003cspan\u003eETH008 case. Includes mounting holes for fixing to a wall or back panel. This precision snap together case includes screws for mounting the ETH008 module.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eSupplied as a case only, the ETH008 module should be ordered separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872494937,"sku":"808838\/A","price":25.05,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890038358361,"sku":"808838","price":25.05,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/eth008c2.jpg?v=1695766571"},{"product_id":"ds2824-24-x-16a-ethernet-relay","title":"dS2824 - 24 x 16A ethernet relay","description":"\u003cp\u003e\u003cstrong\u003eRight out of the box -\u003c\/strong\u003e\u003cbr\u003eSimple configuration and setup from your web browser.\u003cbr\u003eControl it from a web page, or select tcp\/ip control with an option of ASCII, Binary or Modbus protocols. \u003cbr\u003eSend email notifications on selected events. \u003cbr\u003eOptional AES encryption for totally secure control using binary tcp\/ip mode.\u003cbr\u003eAdd simple relay automation, for automatic relay control.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStill want more?\u003c\/strong\u003e \u003cbr\u003eYou can completely customise the module using our powerful dScript language! - or just modify a supplied example.\u003cbr\u003eCreate custom webpages - Add your own logo, buttons and functionality.\u003cbr\u003eAdd a tcp server to respond to incoming tcp requests with your own functions.\u003cbr\u003eInclude a tcp client and send packets of tcp data to other devices using your own protocol.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAnd the best bit!\u003c\/strong\u003e\u003cbr\u003eYou will probably never need to use dScript - but its great to know its there - just in case!\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHardware\u003c\/strong\u003e\u003cbr\u003eSerial ports - 1 x TTL level serial port, 1 x RS485 port.\u003cbr\u003eRelays - 24 with up to 16Amp @24vdc or 250vac, screw Terminals for N\/O N\/C and Common contacts\u003cbr\u003eI\/O - 8 flexable channels, your choice of VFC input, NPN output or 12-bit analogue input.\u003cbr\u003eCommunication - USB for development, RJ45 Ethernet for normal access\u003cbr\u003ePower - 12V DC jack 2.1mm (adaptor sold separately)\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIDE\u003c\/strong\u003e\u003cbr\u003edScript editor requirements - Windows 7 or later.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003edScript editor requirements - \u003c\/strong\u003eWindows 7 or later\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eDocumentation, editor and examples - \u003c\/span\u003e\u003cstrong\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/dScriptPublish.php\" target=\"_blank\"\u003edScript IDE\u003c\/a\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cspan\u003eModule documentation only - \u003c\/span\u003e\u003cstrong\u003e\u003cspan\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/files\/dS2824.php\" target=\"_blank\"\u003edS2824 documentation\u003c\/a\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872560473,"sku":"808741\/A","price":195.65,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890038260057,"sku":"808741","price":195.65,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/img_4407.jpg?v=1695766579"},{"product_id":"ds1242-2-x-16a-ethernet-relay","title":"dS1242 - 2 x 16A ethernet relay","description":"\u003cp\u003e\u003cstrong\u003eRight out of the box -\u003c\/strong\u003e\u003cbr\u003eSimple configuration and setup from your web browser.\u003cbr\u003eControl it from a web page, or select tcp\/ip control with an option of ASCII, Binary or Modbus protocols. \u003cbr\u003eSend email notifications on selected events. \u003cbr\u003eOptional AES encryption for totally secure control using binary tcp\/ip mode.\u003cbr\u003eAdd simple relay automation, for automatic relay control.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStill want more?\u003c\/strong\u003e \u003cbr\u003eYou can completely customise the module using our powerful dScript language! - or just modify a supplied example.\u003cbr\u003eCreate custom webpages - Add your own logo, buttons and functionality.\u003cbr\u003eAdd a tcp server to respond to incoming tcp requests with your own functions.\u003cbr\u003eInclude a tcp client and send packets of tcp data to other devices using your own protocol.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAnd the best bit!\u003c\/strong\u003e\u003cbr\u003eYou will probably never need to use dScript - but its great to know its there - just in case!\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHardware\u003c\/strong\u003e\u003cbr\u003eSerial ports - 1 x TTL level serial port.\u003cbr\u003eRelays - 2 with up to 16Amp @24vdc or 250vac, screw Terminals for N\/O N\/C and Common contacts\u003cbr\u003eI\/O - 4 channels, your choice of VFC input or NPN output.\u003cbr\u003eAnalogue Inputs - 2 channels of 10-bit A\/D.\u003cbr\u003eCommunication - USB for development, RJ45 Ethernet for normal access\u003cbr\u003ePower - 12V DC jack 2.1mm (adaptor sold separately)\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003edScript editor requirements - \u003c\/strong\u003eWindows 7 or later\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eDocumentation \u003c\/span\u003e\u003cspan\u003e- \u003c\/span\u003e\u003cstrong\u003e\u003cspan\u003e\u003ca href=\"https:\/\/robot-electronics.co.uk\/dscript.html\" target=\"_blank\"\u003edScript documentation\u003c\/a\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169872986457,"sku":"808678\/A","price":73.33,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890038194521,"sku":"808678","price":73.33,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/ds21421logo_1_1.png?v=1695766587"},{"product_id":"ds3484-4-x-16a-ethernet-relay","title":"dS3484 - 4 x 16A ethernet relay","description":"\u003cp\u003e\u003cstrong\u003eRight out of the box -\u003c\/strong\u003e\u003cbr\u003eSimple configuration and setup from your web browser.\u003cbr\u003eControl it from a web page, or select tcp\/ip control with an option of ASCII, Binary or Modbus protocols. \u003cbr\u003eSend email notifications on selected events. \u003cbr\u003eOptional AES encryption for totally secure control using binary tcp\/ip mode.\u003cbr\u003eAdd simple relay automation, for automatic relay control.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eStill want more?\u003c\/strong\u003e \u003cbr\u003eYou can completely customise the module using our powerful dScript language! - or just modify a supplied example.\u003cbr\u003eCreate custom webpages - Add your own logo, buttons and functionality.\u003cbr\u003eAdd a tcp server to respond to incoming tcp requests with your own functions.\u003cbr\u003eInclude a tcp client and send packets of tcp data to other devices using your own protocol.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAnd the best bit!\u003c\/strong\u003e\u003cbr\u003eYou will probably never need to use dScript - but its great to know its there - just in case!\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHardware\u003c\/strong\u003e\u003cbr\u003eSerial ports - 2 x TTL level serial ports, 1 x RS485 port..\u003cbr\u003eRelays - 4 with up to 16Amp @24vdc or 250vac, screw Terminals for N\/O N\/C and Common contacts\u003cbr\u003eI\/O - 8 channels, your choice of VFC input or NPN output.\u003cbr\u003eAnalogue Inputs - 4 channels of 10-bit A\/D.\u003cbr\u003eCommunication - USB for development, RJ45 Ethernet for normal access\u003cbr\u003ePower - 12V DC jack 2.1mm (adaptor sold separately) \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003edScript editor requirements - \u003c\/strong\u003eWindows 7 or later\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.robot-electronics.co.uk\/dscript.html\" target=\"_blank\"\u003eDocumentation\u003c\/a\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169873019225,"sku":"808677\/A","price":95.34,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890038391129,"sku":"808677","price":95.34,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/ds3484-1logo.png?v=1695766596"},{"product_id":"robospine-robot-interface-module","title":"RoboSpine - Robot interface module","description":"\u003cp\u003e\u003cspan\u003eRoboSpine does for your robot what your spinal chord does for you. It connects eyes and ears to the brain and the brain to the muscles. RoboSpine connects sensors to the controller and the controller to the motors.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eRoboSpine performs scanning of up to 8 x SRF01's, 2 x IR range sensors, a CMPS11, a TPA81 thermal sensor and the MD25\/MD49 (part of the RD02\/RD03 drive system) encoders, battery voltage etc. Your controller sends new motor speeds to the RoboSpine which passes them on to the MD25\/MD49 and sends you back a 60 byte stream of sensor data. Your controller looks at this to decide what to make the motors do next. RoboSpine can connect directly to a bluetooth module and your PC can be the controller which gives you fanstatic visabiltiy into your robot and what it can see. We have an open source example written in C# to get you started.\u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eAnd you are not limited to the default modules the Robospine can connect to. By building in the same serial to I2C firmware that we use in our USB-I2C and USB-ISS modules, you have access to any I2C device you want to add. An on-board I2C level shifter means both 3.3v and 5v I2C levels are available on various connectors so you have huge flexibitlity. \u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eThe flexibility doesn't stop there. We have provided an \"I2C hook\" feature that will allow you to include read data from your own I2C devices into spare positions in the 60 byte data stream, so you don't need to issue separate commands which would otherwise slow things down. \u003c\/span\u003e\u003cbr\u003e\u003cbr\u003e\u003cspan\u003eAnd there is an on-board boot loader so you will never be stuck with out of date firmware. You will be able to download future versions free from our website.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/robospinetech.htm\" target=\"_blank\"\u003eRoboSpine Tech Page\u003c\/a\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169873051993,"sku":"808564\/A","price":36.27,"currency_code":"EUR","in_stock":true},{"title":"2-4 Settimane","offer_id":47890038423897,"sku":"808564","price":36.27,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/robospine2.jpg?v=1695766604"},{"product_id":"wifi008-8-relays-at-16a","title":"WIFI008 - 8 Relays at 16A","description":"\u003cp\u003eThe WIFI008 provides 8 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 1A 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. \u003cbr\u003eThe Relays on the WIFI008 can be controlled from the inputs on the WIFI484. This offers the opportunity to construct a system where an input can control an output anywhere on the earth provided both locations are connected to the network\/internet. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003cbr\u003e-20C to +70C\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLED Indication\u003cbr\u003e\u003c\/strong\u003e\u003cspan\u003eThe WIFI008 provides an LED to indicate each of the relay states and three for board status, these are:\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eBoard power - red LED\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eWIFI connected - yellow LED\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eUSB connected - green LED\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cbr\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/wifi008tech.htm\" target=\"_blank\"\u003eFull Documentation\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169873117529,"sku":"808408\/A","price":59.21,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890038587737,"sku":"808408","price":59.21,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/wifi008-400.gif?v=1695766611"},{"product_id":"wifi002-2-relays-at-16a","title":"WIFI002 - 2 Relays at 16A","description":"\u003cp\u003e\u003cspan\u003eThe WIFI002 provides 2 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 1A 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. \u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eThe Relays on the WIFI002 can be controlled from the inputs on the WIFI484. This offers the opportunity to construct a system where an input can control an output anywhere on the earth provided both locations are connected to the network\/internet. \u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003cbr\u003e-20C to +70C\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLED Indication\u003cbr\u003e\u003c\/strong\u003e\u003cspan\u003eThe WIFI002 provides an LED to indicate each of the relay states and three for board status, these are:\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eBoard power - red LED\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eWIFI connected - yellow LED\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003eUSB connected - green LED\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cbr\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.robot-electronics.co.uk\/htm\/wifi002tech.htm\" target=\"_blank\"\u003eFull Documentation\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Devantech","offers":[{"title":"1 Giorno","offer_id":47169873510745,"sku":"808407\/A","price":47.42,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47890038489433,"sku":"808407","price":47.42,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/wifi002-400.gif?v=1695766619"}],"url":"https:\/\/xernuqvalzi.pro\/collections\/devantech.oembed?page=2","provider":"Robot Italy","version":"1.0","type":"link"}