Thomas (boggyb) wrote,

  • Mood:

Arduino thermometer

What with the glorious sunny weather, I wondered how hot my flat actually gets. It's certainly felt far too warm recently.

Now, the sensible way to find out is to go and buy a thermometer. But Robert Days are closed for the evening. So instead I dug out an Arduino kit I was given for my birthday (Elegoo's "The Most Complete Starter Kit for the Mega 2560") and set to work...

The answer: 27°C!

I'm using a DHT11 combined temperature and humidity sensor and a generic LCD display showing the results, running off of a 9V battery so I can wander around with it. The nice thing about Arduino development is there are libraries for everything, so there's surprisingly little code behind this:

Tags: #define, #include, arduino, flat, programming
  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.