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

  • boggyb's highly inaccurate guide to Eurovision: Shine a Light 2020!

    Not even the Coronavirus can stop the madness that is the Eurovision Song Contest! The official console has been cancelled, so instead we've got…

  • Name that Song, round 11!

    Well, people have been pestering me for a blog post - so here, have another round of Name that Song! The rules are simple: Step 1: Put your…

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

  • 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