Distance Sensors HC-SR04, JSN-SR04T and more

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: Distance Sensors HC-SR04, JSN-SR04T and more

#51 Post by tparvais » 11 Apr 2020, 23:39

TD-er wrote: 11 Apr 2020, 15:33 I was talking about the trigger signal from the ESP to the ultra sonic sensor.
Maybe the logic level is too low for that sensor to act on it?
I didn't try. I cannot find example with this sensor requiring this hack on the web

I've ordererd i a new JSN.

In meantime, I've installed a HW-SR04T that will work the time to receive the waterproof one hopefully...

Thank you

Thomas

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

Re: Distance Sensors HC-SR04, JSN-SR04T and more

#52 Post by TD-er » 12 Apr 2020, 00:38

You can also try to use the Serial Proxy plugin (highly experimental) and switch this sensor to output the serial values.
These can then be sent to a controller (e.g. MQTT controller) as a string, so you may send the data directly to the receiving end and not having to mess with real time aspects of the ESP.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests