Digital Humidity Sensor With LCD Display Using Microcontroller
Digital Humidity Sensor With LCD Display Using Microcontroller
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
HOME
PROJECTS
GENERAL ARTICLES
TUTORIALS
PROJECT IDEAS
PROJECT SERVICES
ADVERTISEMENT
PIC microcontrollers
Compact sensor
Rugged magnetic speed and position sensors
with IP 67/68 certification
PLEASE SUPPORT
OUR WORK
Our goal is to discover
new solutions and provide
working examples with
1/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
schematics. Please
support our efforts.
SUBSCRIBE TO
BLOG VIA EMAIL
Enter your email address
to subscribe to this blog
and receive notifications
of new posts by email.
Join 261 other subscribers
Email Address
Subscribe
FIND US ON
FACEBOOK
MicrocontrollersLab
6,145likes
LikePage
Bethefirstofyourfriendstolikethis
RELATED POSTS
Digital DC watt
meter using pic
2/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
microcontroller
Bluetooth
module
interfacing with
pic
microcontrollers
Line follower
robot using
microcontroller
Green house
intelligent
control
system
Digital
Ohmmeter
circuit using pic
microcontroller
Automatic
electronic bell
for school
using pic
microcontroller
Automatic
control of
street lights
zero crossing
detector circuit
using pic
microcontroller
COMPONENTS LIST
Category,Reference,Value,OrderCode
Resistors,"R1",1732k,
Resistors,"R2",549k,
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
3/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
Resistors,"R3",1k,
Resistors,"R4",49.9k,
Resistors,"R44",10k,
IntegratedCircuits,"U1",NE555,
IntegratedCircuits,"U2",PIC16F877A,
Miscellaneous,"LCD1",LM016L,
Miscellaneous,"SENSOR",humiditysensorHS1101,
crystal20mhz
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
4/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
CODING:
Code is written in mikro c for pic:
//***************[email protected]***********
// LCD module connections
sbit LCD_D7 at RB2_bit;
sbit LCD_D6 at RB3_bit;
sbit LCD_D5 at RB4_bit;
sbit LCD_D4 at RB5_bit;
sbit LCD_EN at RB6_bit;
sbit LCD_RS at RB7_bit;
sbit LCD_D7_Direction at TRISB2_bit;
sbit LCD_D6_Direction at TRISB3_bit;
sbit LCD_D5_Direction at TRISB4_bit;
sbit LCD_D4_Direction at TRISB5_bit;
sbit LCD_EN_Direction at TRISB6_bit;
sbit LCD_RS_Direction at TRISB7_bit;
// End LCD module connections
//******************************frequency meter variables*******
int value,freq,humidity;
char humid[7];
//**************************************************************
void data_converstion(void)
{
IntToStr(humidity, humid);
}
void display1(void)
{
lcd_out(1,1,Humidity = );
lcd_out(1,13, Ltrim(humid));
Lcd_Chr_Cp(%);
Lcd_Chr_Cp( );
}
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
5/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
6/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
while(1)
{
data_converstion();
display1();
}
}
Temperature Sensor
Search Largest China Supplier Base. Verified
Global Exporters-Join Free
Related Posts
Auto intensity
control of street
lights using pic
microcontroller
Digital Ohmmeter
circuit using pic
microcontroller
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
7/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
29 Comments
david shalom SEPTEMBER 13, 2014
i want to know how u calculate the percentage
from the frequency
thanx
Reply
Hi!
Bilal I need your help can you help me to make
codes for count down timer, temperature and
humidity in one micro-controller I tried to do that
but there is interference one not working when all
reads at the same time please you can email me
the hex file for that.
Thanks and kind regards
Ally
Reply
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
8/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
Hi!
I downloaded the code from Bilal
Project for humidity sensor but is not
working is not giving me 27%
Please can any one give me the
formula for calculating frequency in this
circuit.
and Bilal can you tell me how you get
27%?
Thanks
Ally
Reply
Hi Reeza!
Sorry I generate codes from different
projects and I build it in one micro
controller so please if you know to
separate codes help me.
I need to make Incubator to control
temperature,humidity and turning of
the eggs automatic so if you any one
can help me here the codes I will be
thankfully to him.
Regards
Ally
Reply
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
9/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
10/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
Reply
11/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
Reply
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
12/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
BILAL Malik
yes it is correct.
Connect D+ with
5 volt and D- with
ground
Reply
Leave a Reply
Comment Text*
Name*
Email*
Website
Post Comment
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
13/14
1/20/2016
Digitalhumiditysensorwithlcddisplayusingmicrocontroller
RECENT POSTS
POPULAR POSTS
http://microcontrollerslab.com/digitalhumiditysensorusingpicmicrocontroller/
SUBSCR
No Comments
PAGES
Contac
privacy
Project
Sitema
Sitemap
14/14