Interfacing Maxbotix LV-MaxSonar-EZ0 to MSP430 Launchpad

Hi,

I am building a robot based on msp430 launchpad with msp430g2553 ic. I am trying to interface the sonar to the msp430, but I don’t see the right bytes come in from
the sonar. I am using the hardware uart with 8N1 settings at 19200 baud but it doesn’t work. I followed the tutorial here http://www.argenox.com/library/msp430/ch8-msp430_uart.php but i don’t see any interrupts happening for uart. Has anyone ever interfaced to an msp430?

Thank you

Hello.

I am not familiar with the MSP430 Launchpad, but the LV-MaxSonar-EZ0 Sonar Range Finder’s serial output should be at a baud rate of 9600. You might try setting the baud rate of the MSP430 to match it; I suspect this might be causing the incorrect bytes you are seeing.

-Brandon