stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
126 stars 41 forks source link

HS-SR04 Wires are twisted change ECHO <-> TRIG #35

Closed jenluvsem closed 6 years ago

jenluvsem commented 6 years ago

Hey, I've uploaded your firmware to Wemos D1 mini and no matter how I define pins I'm getting message "HS-SR04 Wires are twisted change ECHO <-> TRIG" on console output. Any idea?

Thanks and regards, Przemek.

stefanbode commented 6 years ago

The model requires 5V on VCC. Please double check you have the voltage at the sensor

jenluvsem commented 6 years ago

I know the reason for this info but not sure if it should work that way. This message appears also when sensor is not perpendicular to surface..

stefanbode commented 6 years ago

SR04 is now part of the official Tasmota project. Changed all sources to the main branch. Any issues must now we fixed there.