2023-02-08, 05:43 AM
(2023-02-08, 02:08 AM)Sailabout Wrote: This all inspired me to start my own project with the ESP32 but I have some difficulties.
I use Techstyle’s main.cpp as a template and have results for the BME280 sensors as well RPM and the fuel flow derivative and the oil pressure but I cannot get any of the oneWire data.
After compiling with success using PlatformIO, I see no oneWire reference in the serial monitor. I also see no reference to oneWire data in the Data browser of SignalK (localhost:3000). I have not changed any line of Techstyle’s main.cpp concerning oneWire. What can I do the find the error?
do you have a 4.7K resistor between the 3.3v and data lines of your 1-wire circuit?
do you have:
SensESP/OneWire@^2.0.0
under "lib_deps =" in Platformio.ini?
are you sure you are connected to the correct pin?
could you try another Digital pin?
if you open a webpage and go to the IP address for the device, configuration page - can you see a valid 1-wire address in the appropriate window on the configuration page?