HMR3100
SENSOR PRODUCTS
USART Communication Protocol
HMR3100 module communicates through binary data and ASCII characters at four selectable baud rates of 2400, 4800, 9600, or 19200. The default data bit format is USART 9600.N.8.1. The baud rate selection is determined by the position of jumpers J1 and J3. These jumpers are zero ohm SMT resistors (jumpers) and are normally high (logic
1)when removed, and grounded (logic 0) when in place. At 2400 baud, no jumpers are present for a 1,1 logic presentation. At 4800 baud J3 is present for a 1,0 logic presentation. The factory default setting of 9600 baud is created by a jumper present on J1 for a 0,1 logic presentation. With J1 and J3 jumpers present for a 0,0 logic presentation, the compass module works at 19200 baud. See Figure 1 for jumper locations. Jumper J2 is for factory testing, and J4 is for
The HMR3100 sends data via the TXD line (Pin 5) in standard serial bus form at logic levels, but uses the RTS (Pin 3) and RXD (Pin 6) to select the three active modes of operation. Normally RTS and RXD input lines are left high until data or
Normal Mode
When the host processor (external to the HMR3100), sends a RTS low pulse to the RTS pin, the HMR3100 will send status/heading data via the TXD pin. The host shall hold the RXD pin high during this mode. The RTS shall be held high when not pulsed. The HMR3100 will return to sleep mode when RTS is left high after the
Figure 2
Normal Mode Timing Diagram
Figure 2
Normal Mode Timing Diagram
Solid State Electronics Center • www.magneticsensors.com • (800)