My Kitchen Temperature using @Raspberry_Pi #piday #raspberrypi

Here’s a Raspberry Pi temperature monitoring project taking advantage of Adafruit’s DHT22 temperature-humidity sensor and “DHT Humidity Sensing on Raspberry Pi with GDocs Logging” Learning System project, from Reid Derby:

A few weeks ago I started planning to make my first homebrew craft beer at home and I wanted to find out what the temperature would be in my kitchen overnight. I understood that you need to keep beer fermenting between about 20 and 25 degrees Celsius and I didn’t want to come down in the middle of the night once the central heating had gone off to find out what the ambient temperature of the kitchen was.

That was when I discovered the awesome Adafruit website. I imagined that someone had already built a temperature sensor on a Raspberry Pi and as if by magic I found this DHT humidity and temperature project created by LadaAda! I ordered the breadboard, Cobbler kit, sensor and a pack of resistors and then days later (i.e. today) it all turned up in the mail.

After soldering the cobbler kit together I assembled the kit, downloaded a fresh Debian Linux image for my SD card, then plugged everything in and started on the software. I didn’t have to write anything but I had a lot of trouble getting the C code to work until I realised I hadn’t followed the full instructions and compiled the code! There is also a Python program that takes the output from the C Program and uploads a record into a Google spreadsheet for me.

I now have a lovely Google Spreadsheet which gets updated every 3 seconds with the temperature and humidity in my kitchen. I took a sample of the log and copied into a lovely little website called Datawrapper which is like an online version of Excel charts but you can embed the charts in your blog as I have done! You might notice a discontinuity in the humidity figures. This is because I stopped logging for a while during making dinner. The humidity was rising in the kitchen due to the cooking but I wasn’t measuring it! …

Read more.


Featured Adafruit Tutorials!

DHT Humidity Sensing on Raspberry Pi with GDocs Logging

DHT Humidity Sensing on Raspberry Pi with GDocs Logging: Time to start exploring more sensors with the Raspberry Pi! Today we’ll be checking out the DHT11, DHT22 and AM2302 humidity and temperature sensors available from Adafruit

In this tutorial we’ll be showing how to utilize C for high-speed GPIO polling to handle bit-banged sensor output. Many low cost sensors have unusual output formats, and in this case, a “Manchester-esque” output that is not SPI, I2C or 1-Wire compatible must be polled continuously by the Pi to decode. Luckily, the C GPIO libraries are fast enough to decode the output. (read more)


Featured Adafruit Products!

DHT22 temperature humidity sensor

DHT22 temperature-humidity sensor + extras: The DHT22 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old. (read more)


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

Want a FREE RASPBERRY PI? All orders over $350 get a FREE Raspberry Pi Model B with 512MB RAM!


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.