Difference between revisions of "WT81B003-0202 (Ultrasonic long distance sensor)"

From Bambi
Jump to: navigation, search
(Added some prosa for better understanding)
(UART with raspberry)
Line 4: Line 4:
 
Using an Arduino board equipped with an uart port it's possible to test the sonar performance.
 
Using an Arduino board equipped with an uart port it's possible to test the sonar performance.
 
The sketch can be found at https://mega.nz/#F!Bo8jHabQ!kwxQR5jFZorFaOLdQKsTdw)
 
The sketch can be found at https://mega.nz/#F!Bo8jHabQ!kwxQR5jFZorFaOLdQKsTdw)
 +
 +
= UART prototyping on Raspberry PI =
 +
 +
To quickly see what the sensor transmits on the UART ports, we can use a raspberry pi and a python script. See [https://electrosome.com/uart-raspberry-pi-python/ Using UART on Raspberry PI]
  
 
= Datasheet =
 
= Datasheet =

Revision as of 01:00, 3 August 2017

The Waytronic WT81B003-0202 18m (see [1]) should be able to provide distance measurements at least every 250ms up to 18m with a tolerance of +-10cm.

It can be set in various operation modes, one of those communicates through a standard serial protocol (9600/8-N-1). Using an Arduino board equipped with an uart port it's possible to test the sonar performance. The sketch can be found at https://mega.nz/#F!Bo8jHabQ!kwxQR5jFZorFaOLdQKsTdw)

UART prototyping on Raspberry PI

To quickly see what the sensor transmits on the UART ports, we can use a raspberry pi and a python script. See Using UART on Raspberry PI

Datasheet

The original datasheet is in Chinese, the following version was translated with Google Translate: