Thomas (boggyb) wrote,
Thomas
boggyb

  • 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
Subscribe

  • End of the Year meme 2019

    Welcome all to a new decade! What did you do in 2019 that you'd never done before? I'm... not sure there was anything new in 2019. Does seeing…

  • Week of books meme: day 7

    "To post seven books I love, one book per day. No explanations, no reviews, just covers. Everyday I'll ask a friend to share the challenge. Let's…

  • Week of books meme: day 6

    Whoops, missed this yesterday "To post seven books I love, one book per day. No explanations, no reviews, just covers. Everyday I'll ask a friend…

  • Post a new comment

    Error

    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.
  • 0 comments