Single Board Computer used is CubeCell HTCC-AB01 from Heltec Automation
(This project has been initiated by a need to develop low cost probes using the LoRaWAN protocol) For the OneWire probe DS18B20, the library used by default <OneWire.h> and <DallasTemperature.h> seems to be a problem for several people as for me and I opted to control a GPIO to manage read/write operations on OneWire bus.
This solution is one among several and it was not possible without oscilloscope to get correct timing. It lacks somme essentials functions in the project to check the CRC8 code and it wasn't for lack of not trying. My function does not retrieve the correct CRC8 sended by the sensor DS18B20. It is obviously a failure of my own read of the datasheet provided by Maxim.
upgrade awaited:
- A function to calculate the CRC8 code sended by the DS18B20 sensor.
- It will be necesary to activate interruptions of the PSoC4 timers.
IDE: The project is an open source using Arduino Integrated Development Environment. Package: A link from helium which explains how to install the package from Heltec Automation.
- ADS1115: Adafruit_ADS1015.
- Documents from Heltec Automation.
- Jean-louis Druilhe, email: jean-louis.druilhe@univ-tlse3.fr