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

  • Snap, crackle, pop (again)

    [Adam Savage voice] "Well there's your problem!" So while cooking supper the other day the oven went snap, crackle, and pop, and the magic smoke…

  • Not-a-window

    So the not-a-window in my flat turns out to actually be a window, as the windy weather decided to make clear today. And in doing so it blew…

  • Winter is coming

    Side-effect of electric heating: you can tell when autumn has arrived by the smell of burnt dust from the heaters being used for the first time in 6…

  • 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