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;

Hack desktop lamp to USB loudspeaker.

This project started when I want to save space in my desk but don't want to listen music direct from laptop/desktop directly because it's not loud enough and sound poor and don't want to spend much money for news loudspeaker. 

See video tutorial step by step.

List of component:

1 desktop lamp.
2 tda 7052B ic ( you can use pam8403/8406 sound amplifier module too).
3 Volume control.
4 capacitor 0.1 uf x2 and 1000 uf 16 volts electrolytic capacitor
5 10 uf 16 volts for input coupling(Don't believe junk website circuit that cut input coupling capacitor out if you use tda7052B ic, you will make your amp ic overheat and damaged.).
6 old male usb and audio jack(headphones jack is ok)
7 usb adapter or power bank.
8 wires and soldering iron.

TDA 7052 full wiring digram.

Happy your hobby world.