Changes

Jump to: navigation, search

WT81B003-0202 (Ultrasonic long distance sensor)

131 bytes added, 23:45, 3 August 2017
no edit summary
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]
The wiring is simply the TX UART pin connected with the RX pin of the sensor and the TX of the sensor connected through a voltage divider (5K1, 10K) to the RX UART pin of the raspberry. The raspberry was connected via Ethernet + SSH to the PC and printed the results on the terminal, so no keyboard + monitor needed.
[[File:Raspberry-pi-2-gpio-pinout.png|thumb|GPIO Pinout]]

Navigation menu