Humidity sensor with led alarm | Arduino project

This page contains Arduino Humidity sensor with led alarm source code. This project is good for someone who wants to make a humidity meter or hygrometer with led alarm if humidity and temperature over a threshold. It's easy to make and doesn't require an external power supply, just use power from an Arduino UNO R3 board (USB power compatible with this project).

Electronic components list:
1 x Arduino Uno R3
1x 20 x4 I2C LCD display
1 x AM 2320 humidity/temp sensor
1 x 5 mm led ( 2 x if you plan to use led for pin 13 instead built-in led)
1 x 1000 ohms resistor ( 2 x if you plan to use led for pin 13 instead built-in led)
Any USB power adapter, 500 mA current at least.

Here is the Arduino code:
AM 2320 library
LCD display i2c library

#include <Wire.h>
#include <AM2320.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x3F, 20, 4);
AM2320 th;
int led2 = 12;

Low frequency bass test sine wave

Let's test your subwoofer low-frequency respond. Each frequency duration is 3 second long so you can here different clearly. Frequencies start from 1Hz to 300Hz.

You may not hear 1 -10 Hz sine wave frequencies because human hearing limitation but modern amplifier can amplify this low-frequency band, sometimes if you play these low-frequencies loud enough your body can feel it.

You also can not hear 11 - 19 Hz (some golden ears human may hear 18 - 19 Hz) but your room will be shaking if you play these frequencies band loud enough.

20 - 30 Hz frequencies range are audible if you have a big speaker, good headphone or subwoofer, a small speaker may not produce these low frequencies or sound decrease so much but you can feel it when you touch the speaker.

A good desktop external speaker low-frequency cut-off around 80 - 100 Hz but a normal laptop built-in loudspeakers low-frequency cut-off around 150 Hz.

Below video will come in handy when you work out side but forgot your gear or any person who don't own wave generator.



  1. The regular breakthroughs in conditions of technology and built in features now incorporated into many amps are great for the consumer in conditions of cost. best bass amp


Post a Comment