Distance sensor not working with release 20220809 and later

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
trall
New user
Posts: 1
Joined: 14 Sep 2024, 04:00

Distance sensor not working with release 20220809 and later

#1 Post by trall » 14 Sep 2024, 04:22

Hi,

I'm using an ESP01 with an ultrasonic distance sensor JSN-SR04T.
Trigger at GPIO-2 D4;
Echo at GPIO-3 D9
First I used ESP_Easy_mega_20210223_normal_ESP8266_1M.bin and it worked for about 3 years but half of the measured values were 0 (Timing problem, only HC-SR04 was officially supported).
Now I want to change from "values read by human" to automatic notification and tried a new release which now supports JSN-SR04T.
But the last release working is ESP_Easy_mega_20220616_normal_ESP8266_1M.bin.
With any release younger than this, the measurment failed and the log shows: Echo too late, maximum distance exceeded.
It took a while to find a working release so bug fixing would be nice for anyone using a similar config.

TD-er
Core team member
Posts: 9153
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Distance sensor not working with release 20220809 and later

#2 Post by TD-er » 14 Sep 2024, 10:30

Can you make an issue for this on GitHub, otherwise this (valuable) info may get lost.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests