nettigo / namf

Nettigo Air Monitor Firmware
GNU General Public License v3.0
33 stars 19 forks source link

DS18B20 #76

Open repcio opened 1 month ago

repcio commented 1 month ago

I have bought sensors DS18B20 sensors from nettigo and connected them to connector on plate. Even after change in configuration that module is enabled and connected there are no readings from the sensor. I have connected all 3 sensors that I have bought but the results is the same.

netmaniac commented 1 month ago

Have You added 4k7 resistor between DS18b20 Vcc and signal line? It is required by DS and it is not provided on board...

danielskowronski commented 1 month ago

Same issue, solved by adding a pull-up resistor.

I found a lazy, but least invasive way I could think of - two "goldpin" F-F cables connected to "EXT" connector to pins that match 3V3 and D7, on other ends of cables - just shove in a bare resistor :)

The trickiest bit in investigating why it didn't work was the fact that DS18B20 is read just before API uploads, while the frequency of uploads is controlled by a setting labelled as "Measuring interval".