Intel Galileo Project: Simple DIY Weather Station

I’ve played with the Intel Galileo a lot lately, so now it’s time to build some Intel Galileo projects!
In this project I built a very simple weather station that records the temperature and humidity and saves these to a memory card.
I’ll show you how to read temperature and humidity from a DHT11 sensor with the Intel Galileo. Then how to save these values to an SD-card.
If you’re new to the Intel Galileo, check out my guide on getting started with Intel Galileo projects.
intel-galileo-project-simple-diy-weather-station

What is a DHT11 Sensor?

The DHT11 is a cheap sensor for measuring temperature and humidity. It’s really easy to use with for example an Arduino. And since the Intel Galileo is in many ways similar to the Arduino, it’s also easy to use it for this project.

Step 1: Get the Sensor Up and Running

I started out using Adafruit’s DHT library to get the sensor up and running. I tested it using a standard Arduino UNO, just to see if the sensor worked. And it did.
But when compiling for Intel Galileo, I got a few errors because of some AVR-specific calls. I fixed those errors, but still no luck…
Then I found this article that explains why the sensor does not work with the standard library on a Galileo. Basically it is because of the strict timing requirements of the one-wire interface that the sensor uses.
Since the Intel Galileo board runs an operating system, it can take more time to switch a pin from input to output than on a microcontroller.
For more detail: Intel Galileo Project: Simple DIY Weather Station


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top