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;

DIY Super bright light reading lamp usb power.

Hello everyone today I'm going to show you how to make super bright light usb power      reading lamp from low cost 12 volts led made in china light bulb. Now you can use your  power bank to supply super bright reading lamp even if power outage. The bulb compatible  with computer usb supply too.

Let's get start!!!

List of component:

  Low cost made in china 12 volts led bulb 
  IC regulator 7833

 First open led bulb case

Then find led cathode that print circuit is connect to negative pole directly as show in dark bule  line in picture below and connect  positive wire(pale blue) to led anode. 

  Solder wire to IC 7833 and bulb as picture below. White wire negative,pale bule positive.

Now assemble everything in the bulb and see full demonstration in my video below.

Have a good diy time. Bye bye.


  1. The primary objective of outdoor artificial lighting is to light the ground most of the times. Therefore, the lights should face downwards. indoor/outdoor lighting


Post a Comment