Hi All
I am currently working on SR04 project that requires an esp32.
It works with the Pic18f1320 and Pic16F648A.
However, I am not getting any readings, when using the esp32 with the Sr04. it ONLY return 9999.
How can this be resolved?
I need some assistance as it regards to this project.
I attached an example file below
Esp 32 using HC-SR04 PROBLEM
-
- Posts: 74
- http://meble-kuchenne.info.pl
- Joined: Thu Jun 16, 2022 6:16 pm
- Has thanked: 110 times
- Been thanked: 13 times
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: Esp 32 using HC-SR04 PROBLEM
Hello.
The properties Use Timer Interrupt, have you tried selecting No instead of yes?
The timer for ESP32 will be investigated.
Thank you for letting us know.
The properties Use Timer Interrupt, have you tried selecting No instead of yes?
The timer for ESP32 will be investigated.
Thank you for letting us know.
Martin
-
- Posts: 74
- Joined: Thu Jun 16, 2022 6:16 pm
- Has thanked: 110 times
- Been thanked: 13 times
Re: Esp 32 using HC-SR04 PROBLEM
Goodmorning All
Hi martin
No, I didn't select "No", but I just did, another test with 'NO' and the result were 1 then it jumps back to 9999
regards
ryan
Hi martin
No, I didn't select "No", but I just did, another test with 'NO' and the result were 1 then it jumps back to 9999
regards
ryan
-
- Posts: 74
- Joined: Thu Jun 16, 2022 6:16 pm
- Has thanked: 110 times
- Been thanked: 13 times
Re: Esp 32 using HC-SR04 PROBLEM
Goodmorning Team
Any updates on the TIMER FOR THE ESP32?
I haven't got back any Response as yet.
Any updates on the TIMER FOR THE ESP32?
I haven't got back any Response as yet.
-
- Posts: 74
- Joined: Thu Jun 16, 2022 6:16 pm
- Has thanked: 110 times
- Been thanked: 13 times
Re: Esp 32 using HC-SR04
Hi
Goodmorning.
Any update on this topic?
Am still interested in using the esp32 with the hc sr04
Regards
Goodmorning.
Any update on this topic?
Am still interested in using the esp32 with the hc sr04
Regards
-
- Posts: 74
- Joined: Thu Jun 16, 2022 6:16 pm
- Has thanked: 110 times
- Been thanked: 13 times
Re: Esp 32 using HC-SR04 Working
Hi Medelec35
Thanks a lot, my Hc-SR04 is now working with the esp32
I can now finish up my Project.
Regards
Thanks a lot, my Hc-SR04 is now working with the esp32


I can now finish up my Project.
Regards