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

  • Submanifolds of a Hilbert Space

    If you do software development then you've probably had the misfortune of working with Git as a source control system. Now, those of you who use Git…

  • More cross-compiling adventures

    Today's discovery is working out just how to configure Eclipse so that it actually finds the correct headers for a C++-based project I was poking at.…

  • (no subject)

    Because I can't be the only person who's run into this: I think I've found a bug in Windows 7 where icons can disappear from the system tray if an…

  • 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