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 https://github.com/hibikiledo/AM2320
LCD display i2c library https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library


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

How to fix mouse wheel scrolling problem.


My 3 years old mouse had scrolling problem now it's time to fixed it. The mouse wheel is the part that usually has a problem but you can fix it without spending any money and your mouse will be good again.

If you love DIY or hobby you can make your mouse wheel smooth by remove mouse case and clean mouse wheel and clean led pointer from hair,dust when you use it six months more.

All you need to fix it.
1 screwdriver
2 plier

That's it.

Below is the video that shows the method.


A mouse scroll wheel uses a rotary encoder to read movement and convert it to data that process and send to a computer. When you scrolling a mouse wheel for a long time the electronic component slowly wearing out and has a little gap when the gap large enough your mouse wheel will start jumping and you need to change your mouse to a new one. 

However, you can fix it without paying any money as show on above video and the method works for every mouse model if the rotary encoder not so much wearing out.
I am feeling good to help you save money in your pocket :)

Comments