Pages: [1]   Go Down
Author Topic: How to read Serial that my Ultrasonic Puts out?  (Read 332 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey all,
   I have been toying around with an ultrasonic sensor I got a few months ago. The sensor can send Serial,  Analog Voltage and Analog Envelope. The past weeks I have been using the Analog values it sends out and is working fine up to 200cm (Datasheet, Maximum:765cm). So my next idea is to go the Serial route, I have been looking online for quite a while now and can't seem to find anything that could help me with reading the serial it puts out. I would really like to know how to read serial for this project and for upcoming projects.

Things about the ultrasonic serial:
Outputs delivers asynchronous serial with RS232 format , except voltages are 0-Vcc.


8 bits

No Parity

Has one stop bit.

Starts With ASCII "R" followed by three ASCII characters to represent the range in centimeters up to maximum 765.

MB7078 Datasheet:

I would appreciate if anyone could help me a little or provide a helpful link/tutorial or even an example code that I could look through.
Thank you so much!

Pages: [1]   Go Up
Jump to: