• Post comments:0 Comments
  • Reading time:1 mins read

Monitoring the temperature with DS18B20

This demo is using the DallasTemperature library.

The Arduino Nano keeps reading the temperature from the DS18B20 sensor and updating the waveform on a 7-inch clarkwise touch screen.

The built-in waveform in the touch screen is actually easy. It doesn’t have too many parameters, only the data itself.

The X-Axis and Y-Axis are actually from zero to its width/height in pixels.

All the users need to do is to map the data to [0~height(px)], and keep a proper refresh interval.

In the demo, the refresh interval is set by the number input control on the clarkwise touch screen.

All the data input in the number input control will be sent back to Arduino Nano automatically through UART. And it will trigger the UART interrupt, and call the serialEvent() function.





We don’t spam! Read our privacy policy for more info.

Leave a Reply