free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems
MOVA,#'S';display letter S LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'M';display letter M LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#':';display : symbol LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time
MOVA, M_BUFFER ;move sensor data from buffer to accumulator CJNEA,#67h, dry
dry: JNC optimum MOV MOIST_LEVEL,#1;Store level in a buffer (for threshold check) MOVA,#'D';display D LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'r';display r LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'y';display y LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#' ';display space LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#' ';display space LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time
SJMP moist_over
optimum:;normal condition MOVA, M_BUFFER ;move sensor data from buffer to accumulator CJNEA,#78h, disp_opt
disp_opt: JNC slurry MOV MOIST_LEVEL,#2;Store level in a buffer (for threshold check) MOVA,#'O';display O LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'p';display p LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'t';display t LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#' ';display space LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#' ';display space LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time SJMP moist_over
slurry: MOV MOIST_LEVEL,#3;Store level in a buffer (for threshold check) MOVA,#'E';display E LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'x';display x LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'c';display c LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'e';display e LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time MOVA,#'s';display s LCALL datawrt ;call display subroutine LCALL lcddelay ;give LCD some time
moist_over:RET
#67h, dry #78h, opt Beyond this its Excess
Use the same procedure to calsulate the voltage ... Its clear in the code... Did you even read the code and try to understand ?
Instead of blindly going through the present code, you can just see the voltage levels in DRY,OPT and EXCESS conditions and thus modify them...
The Light conditions wont work so exact to your conditions. So you just check the voltage levels for different light conditions and modify the code so ou dont have to worry later ... Regards, Feroze My Blog
hello there.. i just started this project. i found both of the 2 types of sensor fo humidity.. but i would like to ask you, ise there any type of moisture sensor or i have to make it??? if yes can you provide me any plans or tips??? thanks anyway acid
The Moisture sensor needs to be made by yourself, Its not any big circuit, Go to the downloads section , you can find the Complete schematics and documentation. The Moisture sensor is the eaisest part and there shouldnt be any problem. Any further doubts can be clarified here. Good Luck Regards, Feroze My Blog
8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems