I was curious to see how many 1-wire DS18B20 sensors Cayenne could automatically discover. To my delightful surprise, 9 DS18B20 sensors were automatically discovered, without me having to add a single widget. Total time: ~ 20 mins. With the majority of time spent wiring each DS18B20. Unfortunately I ran out of additional DS18B20 to connect.... I'll have to update this post when I exceed 9. Thanks for checking this project out!
Overview- I used the web dashboard for adding the DS18B20, but the widgets also appeared in the app.
- I used two types of DS18B20, 5 normal sensors and 4 waterproof coils. I used a 4.7K resistor for each DS18B20.
- Each DS18B20 is connected to GPIO Pin 4. I used a small breadboard to connect each sensor to GPIO Pin 4.
- I installed Cayenne, powered my Pi off, connected the 5 normal sensors, powered my Pi back on, and verified that all 5 DS18B20 automatically appeared on the dashboard. (Had to wait a few seconds).
- I then powered my Pi off again, connected the remaining 4 DS18B20 waterproof coils, powered my Pi back on, and the remaining 4 DS18B20 waterproof temperature coils appeared in my dashboard.
- Interesting to see the variation of temperature between each sensor.
- Wiring tutorial for the DS18B20 sensor can be found here.
9 DS18B20 1-Wire Sensors
Close up View
All my widgets 'magically' appeared
0 projects • 72 followers
I took the red pill.
Entrepreneur, Athlete, Maker, Product Owner - Cayenne.
I love seeing projects made with Cayenne!
Comments
Please log in or sign up to comment.