|
|||||||||||||||||||||||||||||||||||||||||||
|
USPR-1 Ultra Sonic PIC Ranging System The USPR-1 is the latest in the ARM range of products. It's design enables simple implementation with existing products from Al's Robotics. USPR-1 provides a reliable and independent ranging system that can give a calibrated output of distance for your robotics project. Using the USPR-1 enables you to have a highly intelligent looking robot that has the ability to avoid objects when used correctly with the USPR-1. It also offers the ability to be connected to a power supply between 9 and 15 Volts. Serial setup The USPR-1 is a standard serial device and can be communicated with from any other standard serial device like computers, Basic Stamps, OOPICs and so on. The following is a list of parameters that your serial device should be set to in order for communications with USPR-1: Baud Rate = 9600, 8 Data Bits, No Parity, 1 Stop Bit there are plans to have a user selectable baud rate in motion at the current time, but as of yet are not in production. Please contact Al's Robotics for further information and updates.
USPR-1 data sheet
Controller Numbers: Command numbers from 200 to 220 are used as identification numbers so each controller can have a unique number that it and only it will respond too. Start Ultra Sonic ranging: Sending the command 248 to a USPR-1 ranging system will set the USPR-1 in motion to find the first distance reading. The result of the reading will then be serially transmitted back. If there is no object sensed within roughly 1 Meter of the USPR-1 then it does a time out and instead of sending the variable distance read out it will serially send 252. Controller number verify: Sending
the command 249 to a USPR-1
ranging system will enable you to find out what the controller number
of the device is, which is handy if you ever forget what it is. No object found (time out): If you receive the command 252 it means that when you asked the USPR-1 to start range finding it found nothing and ended up doing a time out, so this command just lets you know that there is nothing in front of the USPR-1 for roughly 1 Meter. Not used for this device: These are commands that have been allocated for future use or are used on other ARM device, sending these commands to a USPR-1 ranging system will do nothing. Command sequence and examples: The order in which these commands are sent to the USPR-1 is vital for proper operation. Below is the order in which you must send the codes from your RS232 serial source:
Below is an example for a USPR-1 with a controller number of 200, command 248 tells the USPR-1 to start a range reading and the last value of 35 is the variable output of the range. Serial send the decimal value "200" Serial send the decimal value "248" Serial send the decimal value "35"
Serial settings: The USPR-1 speed controller comes set by default to the following settings:
After you have finished reprogramming Baud Rate setting you must restart the USPR-1 controller by removing all power to the board. At the next boot time your new Baud Rate will be implemented. Example of reprogramming the Baud to 4800: Serial
send the decimal number “240” this sets Baud reprogram
mode Restart
the USPR-1 by removing all power, reconnect power after a few seconds
and your new Baud Rate settings will be implemented. For further information and how to order please send an e-mail to: sales@alsrobotics.co.uk
|
||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||
Web pages built and © by A R Martin E-mail at: |
|||||||||||||||||||||||||||||||||||||||||||
Home-page Robots Tutorials Links E-mail Circuits Events BEAM PIC Microchip Robotics Shop Computers FMM-RobotWars Sponsors Suggested reading Ebay Listings Serial Speed Controllers MicroMouse Walkers Driller-Killer Laptops Excaliber Robot Retox Drill Robot Robot motors Robot Builder Google Robux Project gorobotics Robot Cafe Robotics Solar Navigator PIC Axe Tech Supplies MUTR GSM Control Home Automation RC tracker Qtronics Design - Electronics & Firmware Design Artist R C Martin http://www.speedace.info/qtronics.htm http://www.solarnavigator.net/qtronics.htm http://www.elecdir.com/site/store/23197/index.html http://www.robotbuilder.co.uk/forum/topic.asp?whichpage=2&TOPIC_ID=861ᶱ
|