DS18B20Shield

Page Actions

The DS18B20 1-wire temperature sensor

The DS18B20 is a high precision temperature sensor using Maxim's 1-wire protocol. Again a driver is already available in the micro Python library making it easy to interface to the module.

wemosDS18B20.png

As before I wrote a small hardware testing program stored in my driver directory

https://github.com/uraich/MicroPython_IoTDemos/tree/master/drivers/ds18b20

and only when I can read the temperature as expected I add the WiFi and MQTT code for Cayenne and save it into the cayenne directory

https://github.com/uraich/MicroPython_IoTDemos/blob/master/cayenne/ds18b20/cayenneDS18B20.py

-- %USERSIG{UliRaich - 2019-03-22}%

Comments

 
I Attachment Action Size Date Who Comment
cayenneDS18B20.py.txttxt cayenneDS18B20.py.txt manage 1 K 22 Mar 2019 - 14:28 UnknownUser  
ds18b20Test.py.txttxt ds18b20Test.py.txt manage 493 bytes 22 Mar 2019 - 14:28 UnknownUser  
wemosDS18B20.pngpng wemosDS18B20.png manage 110 K 22 Mar 2019 - 14:26 UnknownUser  
Topic revision: r2 - 17 May 2019, UliRaich