Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Recently, I found a very magical device in my desk drawer. Upon closer inspection, it turned out to be an ultrasonic distance sensor from a kit given during a Maker Education Instructor training in Zhengzhou back in 2016.

This device has been lying in the drawer for nearly 5 years.

Is it still usable?

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

I quickly searched online for relevant information and found many cases of using ultrasonic distance sensors in the ESP32 environment. I picked a relatively simple one and combined it with a previous ESP32-Phyphox Bluetooth experiment I had done, attempting to achieve distance measurement with the ultrasonic sensor, sending data via ESP32 Bluetooth, and receiving and plotting it with Phyphox.

To my surprise, it went exceptionally smoothly.

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Pointing the ultrasonic distance sensor at a small storage box, the distance data from the ultrasonic sensor to the box was displayed on the phone screen. Changing the distance between the storage box and the ultrasonic sensor caused the distance data displayed on the phone screen to change accordingly.

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Experimental Value

From now on, the mobile phone’s self-innovation experimental exploration activities have added a new variable—distance!

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

| Maker Jiaozuo |

Henan Maker Jiaozuo is the WeChat public platform of the Jiaozuo City Maker Education Master Studio, focusing on maker education. It shares maker cases, explains innovative methods, inspires creative design, conducts scientific exploration, organizes social surveys, guides thesis writing, participates in maker competitions and patent applications, and discovers, cultivates, and achieves a group of students with innovative potential.

Henan Public Number: chuangkejiaozuo

Henan Master Blog: http://blog.sina.com.cn/updays

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Long press to recognize, follow, and share

– END –

Using ESP32 and Phyphox to Debug Ultrasonic Distance Sensor

Leave a Comment