In this example we use the DHT22 (or AM2302) humidity/temperature sensor and the Arduino UNO board to read data and print it out to the serial monitor. The DHT22 is better than the DHT11 because it has a wider range of measurement, …
Sensor Projects
-
-
In a previous example we connected a SHT21 temperature and humidity sensor to an Arduino – http://www.arduinoprojects.net/sensor-projects/sht21-humidity-and-temperature-sensor-example.php. This was a bit basic as the data was sent via the serial port, so lets add an LCD to display the temperature and …
-
The SHT21 is a low cost humidity and temperature sensor. Its an I2C device so again is very simple to connect to any arduino The SHT2x sensors contain a capacitive type humidity sensor, a band gap temperature sensor and specialized …
-
I recently acquired a BMP180 barometric pressure sensor and was pleased to see that it used the BMP085 library from Adafruit, what I was interested in was how accurate the altitude reading was. The BMP180 is the function compatible successor …
-
The MQ-2 gas sensor module is suitable for detecting LPG, i-butane, propane, methane ,alcohol, Hydrogen, smoke. Code In this example we simply connect the AOUT to Analog pin 0 and read in the value and output this via the serial monitor …
-
The MMA7455 accelerometer is a sensor that can measure acceleration in three axes. This sensor is commonly available as a breakout board that you can connect to your Arduino. It requires VCC, GND , SCA and SCL to be connected. …
-
This water sensor is fairly easy to connect this to your Arduino, the requirements are simply VCC (5v), GND and then connect the SIG to one of the Analog pins. In our code example this will be Analog 0. The …
-
In this example we look at how to connect an IR Reciever. Generally, they require Vcc(5v), GND and there is a data out which you connect to your Arduino. Here is a typical IR showing the pinout. The Infrared Receiver is used to …
-
The HMC5883L is a 3-axis magnetometer. The most common include usage of the chip is as a digital compass to sense direction or using them to detect ferrous metals. The Honeywell HMC5883L is a surface-mount, multi-chip module designed for low-field …
-
The HC-SR04 Ultrasonic Sensor uses sonar to determine distance to an object like bats or dolphins do. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package. From 2cm to 400 cm or 1” to …
-
In this example we will show a basic example of connecting a DHT11 Temperature and Humidity Sensor to your Arduino. This is a very nice little, low cost sensor which requires only a pull up resistor to VDD. This can …