www.YeRobot.com URM04 V2.0 Users Manual URM04V2.
www.YeRobot.com URM04 V2.0 A. Please read this mannual carefully before power on the device. B. Do not use this device for military or medical purpose as they are not designed to. URM04V2.
www.YeRobot.com Introduction URM04 is developed based upon our popular URM37 ultrasonic sensor. The RS485 interface allows a number of sensors working together. Up to 32 URM04 may be connected together in a network.
www.YeRobot.com Dimension and Pin definition 10mm 51mm 34mm 35mm φ16x2 φ3.2x2 4mm 7mm 37mm Figure 2: URM4 V2 front view and dimension ISP Pin LED RS485 interfacex 2 Jumper A 14mm 37mm Figure 3: URM4 V2 Back view RS485 Interface:Two connectors, + : +5V DC Power +5V - : GND Ground A : A RS485 A(+) B : B RS485 B(-) ISP Pin:For factory firmware uploading URM04V2.
www.YeRobot.com Communication LED:As the device is powered up, this LED will flash four times which indicates that the sensor is working properly. This LED will also flash when it is communcating with other devices. Jumper A:Not in use Jumper B:When the sensor is working under a network, only the Jumper B for the first Device and the last Device need to be bridged. Communication Protocols The device is fixed at 115.2K BPS Baud Rate,8/N/1. 1.
www.YeRobot.com None PS: Trigger one measure. The distance data will be available after 30ms. This command do not return any data. The distance data is stored in the buffer, and the Read Distance command can be applied to get this distance data. Example: Command 0x55 0xaa 0x00 0x01 0x00 Return: None 3.
www.YeRobot.com 55 aa ADD 2 03 H L SUM PS: The command will return the temperature reading. The return temperature reading is using Celsius scale. If the temperature is above 0 Celsius, the first four bits of High will be all 0. If the temperature is below 0 Celsius, the first four bits of High will be all 1. The last 4 bits of High together with the Low bits stands for 12bits temperature. The resolution is 0.1.
www.YeRobot.com Figure 4 Connect Sensor to MCU via MAX485 Figure 5 Connect Sensor to PC via USB-RS485 converter Figure 6 Connect Sensor to PC via RS232-RS485 Converter Sensor Networking Upto 32 URM04 sensors are able to join a network. Simply serially connect the sensors uses twisted pair cables. A diagram is illustrated in Figure 7. URM04V2.
www.YeRobot.com Figure 7 URM04 Networking Release Version Comments 2009 07 15 1.0 First Release 2010 02 01 1.1 Add trigger command URM04V2.
www.YeRobot.com Copyright DFRobot And YeRobot URM04V2.