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;

15 watts stereo class T amplifier TA2024 sound test and review

TA 2024 is low cost15 watts class T amplifier (I got it from eBay for 4.94$ free shipping). The amplifier board uses MKP film as input capacitor that hard to find in cheap board amplifier from eBay.

The amplifier sound very clean and details and loud with high sensitivity loudspeaker (89 dB or better), bass not big but control well.
However, high frequencies tend to roll off a little bit but still good.

The TAta2024 amp is good with Jazz, pop, guitar solo, saxophone, and smooth jazz in my opinion.

If you use switching power supply you need to add at least 2200 uf capacitor parallel to the power supply for best performance.

TA 2024 specification:

Class-T architecture
 Single Supply Operation
 “Audiophile” Quality Sound
 0.04% THD+N @ 9W, 4Ω
 0.18% IHF-IM @ 1W, 4Ω
 11W @ 4Ω, 0.1% THD+N
 6W @ 8Ω, 0.1% THD+N
 15W @ 4Ω, 10% THD+N
 10W @ 8Ω, 10% THD+N
 High Efficiency
 81% @ 15W, 4Ω
 88% @ 10W, 8Ω
 Dynamic Range = 102 dB
 Mute and Sleep inputs
 Turn-on & turn-off pop suppression
 Over-current protection
 Over-temperature protection
 Bridged outputs
 36-pin Power SOP package

Sound testing video:

The video record with Olympus e-pm2 camera built-in stereo mic and video record @1080p

See how to connect volume control to an amplifier board here

See how to add a power supply filter capacitor to TA2024 amp board to improve overall sound quality here


  1. Car stereo system is present in all the cars that come out of the manufacturer's hub, so there is nothing special in having a standard stereo system, but should have a really upgraded stereo system.


Post a Comment