Open Hendini21 opened 4 years ago
@
Hey Alex. Can you elaborate on what the problem is? Are you getting any readings from the sensor?
No, the readings aren't taking place, nothing is happening at all.
That's the problem this is the standard code for using this kind of ultrasonic sensor, so it should work, but it doesn't work.
It's a bit difficult for me to debug without seeing the hardware in person... But I would make sure to check the following:
The sensor is the same is almost every aspect, the only difference is that it is built by someone else. It runs the exact same way though.
Maybe it is a faulty sensor? Can you try running your code with another one to see if you get the same results?
The sensor is brand new. I got it the day I tried running the code and it didn’t work. I don’t know what’s wrong with my layout if there is anything wrong.
But yes, I will try the code with another sensor.
I got another sensor and am trying to figure out if I just have my board set incorrectly, but I don't know if I do.
Nevermind, I got it working.
Hey Hieu, It has been a while. Happy New Year. I hope you are enjoying the holidays. I am having a problem with my ESP32 and the ultrasonic sensor. I will send you pictures and the code file. Thanks again. -Alex