- A Mind for Numbers
- Accelerate
- Agile Project Management for Dummies
- Algorithms to Live By
- Atomic Habits
- AWS Certified Cloud Practitioner Study Guide
- Banking on It
- Brexitland
- Build Your Dream Network
- Bulletproof SSL and TLS
- Business Analysis
- Collapse
- CompTIA Security+ Practice Tests
- CompTIA Security+ Study Guide
- Corporate Rebels
- Countdown to Zero Day
- Creative Acts for Curious People
- Creative DIY Microcontroller Projects with TinyGo...
- Cryptanalysis
- Crypto Trader
- Cryptography
- Culture Code
- Daniel Goleman Omnibus
- Deep and deliberate delegation
- Dhl
- Drive
- Effective Python
- Every Tool's a Hammer
- Exam Ref AZ-900 Microsoft Azure Fundamentals
- Expert Scripting and Automation for SQL Server...
- Fifty Quick Ideas to Improve Your User Stories
- Fixing Your Scrum
- Fundamentals of ServiceNow Administration and...
- Future Leader
- Future of Violence - Robots and Germs, Hackers and...
- GCHQ Puzzle Book
- Getting Things Done
- Harvard Business Review manager's handbook
- Hooked
- How Google Works
- How to Take Smart Notes
- How to Win Friends and Influence People
- HTML and CSS
- I Think, Therefore I Am
- Itsm Value Streams : Transform Opportun
- JavaScript and jQuery
- Kill It with Fire
- Leaders Eat Last
- Leading change
- Leading Without Authority
- Lean Thinking
- LONDON'S UNDERGROUND.
- Managing Successful Projects Prince2
- Managing Successful Projects with PRINCE2
- Measure What Matters : OKRs
- Meteorology today
- Mindf*ck
- Modern Cryptanalysis
- Modernist cuisine at home
- Money Revolution
- Never Split the Difference
- New One Minute Manager
- Open Circuits
- Oversubscribed
- Permanent Record
- PHP 5 advanced
- Practical Docker with Python: Build, Release and...
- Practical electronics for inventors
- PRINCE2 for dummies
- Pro Python 3: Features and Tools for Professional...
- Pro SQL Server Always On Availability Groups
- Pro SQL Server on Linux: Including Container-Based...
- Professional Scrum Master Guide
- Project to Product
- Radical Simplicity
- Rules of People
- SAFe 5.0 Distilled
- Sapiens
- SEARCH INSIDE YOURSELF- TPB
- Secret Barrister
- Securing SQL Server: DBAs Defending the Database
- Site Reliability Engineering
- SQL Server 2017 Administration Inside Out
- Start with Why
- System Center Configuration Manager Current Branch...
- T-SQL Fundamentals
- Teach Yourself Electricity and Electronics,...
- Teach Yourself Setting Up a Small Business (Teach...
- Team Topologies
- The Art of Deception
- The art of invisibility
- The Chimp Paradox How Our Impulses And Emotions...
- The coaching habit
- The code book
- The Courage To Be Disliked
- The DevOps handbook
- The Epic Guide to Agile
- The Five Dysfunctions of a Team: A Leadership...
- The Go Programming Language
- The Golden Ratio
- The Introvert's Guide to the Workplace
- The Manager's Path
- The New Silk Roads: The Present and Future of the...
- The outward mindset
- The Phoenix Project
- The Professional Product Owner
- The Unicorn Project
- Turn The Ship Around!
- Visual Thinking
- Weapons of Math Destruction
- Who Moved My Cheese?
- Work Rules!
- Working Out Loud
- Writing An Interpreter In Go
- Wrong Fit, Right Fit
Monitor your heating using a Raspberry Pi and an MCP9808
During the winter season, we spend a lot of money heating our homes. Many heating systems are controlled by a basic thermostat installed in a random part of the home. It’s great to know whether the heating came on once, twice, or three times during the day. If the thermostat has been played with, it could have been on for longer than you require.
I have been monitoring our heating system for several years and this year I decided to improve the wiring. Instead of recycling scraps of wire, I have splashed out on some pretty ribbon cable from DigiKey. I have recently written about the sensors and software that I use. The MicroChip MCP9808 temperature sensor mounted on an AdaFruit breakout board is an excellent choice for the Raspberry Pi.
This is the first time that I have changed the address on the MCP9808, which by default has the address of 0x18 on the I2C bus. There are three address connections that allow you to increase this address by connecting one or more of these connections to VDD. I am choosing to add 4 to the address, making it 0x1c.
The MCP9808 breakout board is mounted to a small piece of plasticard with 2mm of spacers behind it to allow for the cables to be connected under the breakout board. Each side has two little felt feet that are available from Wilkinsons. As I have used this material before, I know it is safe to use and will not melt, etc. Just be careful that radiators get hot!
Slipped onto the top of the radiator, the sensor is just a millimetre or so from the radiator. The sensor is rated to read up to +100°C and I haven’t had one stop working yet. I have also created a similar mounting for a water pipe so that I can measure the heating from nearer the boiler.
The software running on the Raspberry Pi is written in GoLang and is designed to scan the I2C bus for these sensors. In this photo we can see two sensors sharing the same I2C bus, both with different addresses. As I am recording the hostname and sensor address in the database, I don’t need to change any configuration. An early version of this software can be found on my previous post.
Whilst the heating is off, the temperature will be around room temperature. As soon as the heating switches on, the graph will show a steep climb as the radiator warms up. The cooling down after the heating switches off should produce a perfect curve towards room temperature.