Uploaded October 2019 | Updated September 2026, 1 week ago
In this video, I go through the process of setting up an Arduino humidity sensor. We make use of the DHT22 for this tutorial.
Tutorial: pimylifeup.com/arduino-humidity-sensor-dht22
Ultimate Books of Pi: pimylifeup.com/ultimate-book-of-pi
This tutorial is relatively easy, and you should have a humidity sensor up and running in no time at all. I will just quickly highlight some of the essential things to know.
To be able to complete this tutorial, you will need the following bits of equipment.
Arduino Uno
Breadboard
Breadboard wire
DHT22 Humidity Sensor
10k ohm resistor (Brown, Black, Orange, Gold)
Even though you should be able to use the DHT11 or DHT21, we still recommend using the DHT22. We haven't tested any of the other sensors, so we can't guarantee they will work flawlessly.
The circuit of this sensor is pretty straightforward and shouldn't take you long to complete. If you're having trouble, we have a full diagram over at the website.
For the code, we make use of a couple of libraries as they drastically reduce the amount of coding required, which is great for beginners.
We go into more detail about the code over at the website. It's also super easy to copy and paste the code, which will help reduce the number of errors you may run into.
I hope that this video on setting up an Arduino Uno with a DHT22 humidity sensor has helped. If you have some feedback, tips, or anything else, then please don't hesitate to leave a comment below or over at pimylifeup.com
In this video, I go through the process of setting up an Arduino humidity sensor. We make use of the DHT22 for this tutorial.
Tutorial: pimylifeup.com/arduino-humidity-sensor-dht22
Ultimate Books of Pi: pimylifeup.com/ultimate-book-of-pi
This tutorial is relatively easy, and you should have a humidity sensor up and running in no time at all. I will just quickly highlight some of the essential things to know.
To be able to complete this tutorial, you will need the following bits of equipment.
Arduino Uno
Breadboard
Breadboard wire
DHT22 Humidity Sensor
10k ohm resistor (Brown, Black, Orange, Gold)
Even though you should be able to use the DHT11 or DHT21, we still recommend using the DHT22. We haven't tested any of the other sensors, so we can't guarantee they will work flawlessly.
The circuit of this sensor is pretty straightforward and shouldn't take you long to complete. If you're having trouble, we have a full diagram over at the website.
For the code, we make use of a couple of libraries as they drastically reduce the amount of coding required, which is great for beginners.
We go into more detail about the code over at the website. It's also super easy to copy and paste the code, which will help reduce the number of errors you may run into.
I hope that this video on setting up an Arduino Uno with a DHT22 humidity sensor has helped. If you have some feedback, tips, or anything else, then please don't hesitate to leave a comment below or over at pimylifeup.com




![An Easy Raspberry Pi Music Player Tutorial [Archived]
In this video I will be putting together a Raspberry Pi music player that you can control from any device that has browser within your local network.
Full Tutorial: https://pimylifeup.com/raspberry-pi-music-player/
For this project I use a prebuilt software image known as the Pi MusicBox. This is a software package that allows you to connect to several different services such as Spotify, google music and more. It also lets you play local music files so if you have an offline library you can still play that.
This is a headless music player so you won’t be able to control the player on the Pi itself. You will need to use a different device such as your phone, computer or anything else that has a browser to be able to control it.
You won’t need any extra equipment apart from the standard parts you need for the Raspberry Pi. However, it has been recommended that you invest in a USB audio card or a sound card for the Pi so that you can get better audio. This is entirely optional and I found the audio through the HDMI just fine.
Since the Raspberry Pi music server uses a prebuilt image you can’t just easily install this onto an existing operating system. However, once you have installed the software you can add or do extra stuff on the Pi as it still contains everything you get with normal Raspbian.
It is very important you have your network setup for this project because you won’t be able to control it via the Pi directly. With the Ethernet just simply plug it in. The WiFi you will need to do a few extra steps to getting it working correctly.
There are a few security issues with this particular software package that I detail over at the website linked above. If you have concerns, then be sure to head over to the website and read up on it.
Hopefully you have been able to setup this Raspberry Pi music player correctly and without any issue. If you do run into any troubles, have feedback or anything else then be sure to drop a comment below or over at pimylifeup.com. An Easy Raspberry Pi Music Player Tutorial [Archived]](https://i.ytimg.com/vi/xRYwM8jTb-8/mqdefault.jpg)





