Hello,
Firstly, im new to all subjects discussed here;
- NodeMCU - playing with just my second one, the first I used about 2 weeks ago and its now running WLED.
- Ultrasonic Sensor HS-SR04 - first time today
- Arduino - installed for first time today.
- ESPHome - install for the first time today
With the help few videos, ive got the sensor into HA using ESPHome and its reporting distances correctly up to 1.6m.
However, in my learning curve today, I also installed Arduino and when I uploaded that to the NodeMCU, in the serial port I was able to successfully read distances over 2.5m away!!
For my project, I need to be able to read about 2m - so am I just doing something wrong on the ESP side of things to not get the same long distance readings as I get in Arduino?
My sensor is;
sensor:
- platform: ultrasonic
trigger_pin: D4
echo_pin: D3
name: esp_hallway_stairs_ultrasonic
update_interval: 500ms
Thanks in advance