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;

3 ways touch selector switch circuit diagram

Hello, today I'm going to show you how to make a 3 ways touch selector switch. This electronic project makes you switch 3 electronic loads  (light bulb, electric fan) to switch on/off by touch the sensor.

Let's start!!!

Components you need:

R1,R2,R3,R4,R5,R6 are 1 kilo-ohms resistor
R7 = 10 kilo-ohms
IC 1 = CD4017BE
Relay 1,2,3 are 5 volts relay 
TR1,2,3 are BD139 npn transistors
led 1,2,3 = low power led red,green,blue
C1 = 2.2 uf T1 = touch sensor

This circuit use 4.5 - 5 volts power supply, so you can use 3 AA battery, USB power, or 4 AA rechargeable battery as you need. Use power supply over 5 volts not make circuit broken but the relay must be changed to 12 volts power supply type and you must use 5 volts regulator for touch sensor module. 

All you need to do next is watching my video below