GreenBee Project
I want some 9 lines to be displayed.
What do i need to modify ?
Is there any time delay of 5 secs ?
Please reply ....
The above post is also not replied ..
please sir
sorry for posting in this thread
sir i also doing the project of greenbee, as you told for doing this project step by step
so i doing as such
1-sir i interface lm35 + lm324 with resistor values [Rfeedback=20k, Rin(-)=10k], so the gain of op-amp is 3.
but in the project report given by das sir in this forum, it is saying that the gain is 5.
2-if i use this value [Rfeedback=20k, Rin(-)=5k], then by calculation the gain is 5, but the ckt outputs only the gain of 4.
i attach both the ckt configuration. plz see it.
plz sir solve my problem as soon as possible.
sir sorry again for using this thread
sir answer me in this thrtead or my thead [GREENBEE(lcd not shows the msg.....)], sir i have also other problems in my thread plz see my thread & solve my problems.
thak you sir
waiting for your quick response
and one thing u have to acknowledge STAY CALM WHILE DOING UR PROJECT
u will find better results.
Check datasheets of both sensors and compare their characteristics. and find any changes needed.
and regarding this
In the Project there are 4 lines displayed on the LCD when the project is switched ON.
I want some 9 lines to be displayed.
What do i need to modify ?
Is there any time delay of 5 secs ?
Please reply ....
The above post is also not replied ..
please sirfiroz3321
I am not able to understand what exactly are you asking..
thank you for the reply,
in the mean time i managed to succeed a little with the code.
But i have a few doubts.
Original CODE consists of these functions:
line_1: ;Displaying initialisation message
MOV A, #080H ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init1 ;address of line 1 of initialisation message
repeat1:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_2
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat1
line_2:
MOV A, #0C0h ;cursor at line 2, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init2 ;address of line 2 of initialisation message
repeat2:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_3
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat2 ;jump to label repeat2
line_3: ;Displaying initialisation message
MOV A, #080H ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init3 ;address of line 1 of initialisation message
repeat3:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_4
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat3
line_4:
MOV A, #0C0h ;cursor at line 2, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init4 ;address of line 2 of initialisation message
repeat4:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ exit
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat4 ;jump to label repeat4
exit:
MOV A, #01h ;clear LCD
LCALL comnwrt
LCALL lcddelay ;give LCD some time
RET
And the correxponding lines to be displayed are:
init1: DB " Welcome to ", 0
init2: DB "Project GreenBee", 0
init3: DB "Initialising the", 0
init4: DB "Sensors...", 0
[ Edited Wed Jan 13 2010, 01:16 pm ]
I want these lines to be displayed:
init1: DB " Welcome to ", 0
init2: DB "Project GreenBee ", 0
init3: DB " A Project by ... ", 0
init4: DB "Chandra Sekhar ", 0
init5: DB "Ravi Kiran ", 0
init6: DB "Paul Raj ", 0
init7: DB "Feroze Mohamed ", 0
init8: DB " ", 0
init9: DB "Initialising the ", 0
init10: DB "Sensors... ", 0
So i modified the calling functioons as followed:
line_1: ;Displaying initialisation message
MOV A, #080H ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init1 ;address of line 1 of initialisation message
repeat1:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_2
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat1
line_2:
MOV A, #0C0h ;cursor at line 2, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init2 ;address of line 2 of initialisation message
repeat2:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_3
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat2 ;jump to label repeat2
line_3: ;Displaying initialisation message
MOV A, #080H ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init3 ;address of line 1 of initialisation message
repeat3:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_4
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat3
line_4:
MOV A, #0C0h ;cursor at line 2, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init4 ;address of line 2 of initialisation message
repeat4:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_5
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat4 ;jump to label repeat4
line_5: ;Displaying initialisation message
MOV A, #080H ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init5 ;address of line 1 of initialisation message
repeat5:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_6
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat5
line_6:
MOV A, #0C0h ;cursor at line 2, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init6 ;address of line 2 of initialisation message
repeat6:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_7
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat6 ;jump to label repeat2
line_7: ;Displaying initialisation message
MOV A, #080H ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init7 ;address of line 1 of initialisation message
repeat7:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_8
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat7
line_8:
MOV A, #0C0h ;cursor at line 2, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init8 ;address of line 2 of initialisation message
repeat8:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_9
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat8 ;jump to label repeat4
line_9:
MOV A, #080h ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init9 ;address of line 1 of initialisation message
repeat9:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ line_10
ACALL datawrt ;call data display routine
ACALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat9 ;jump to label repeat4
line_10:
MOV A, #080h ;cursor at line 1, position 0
ACALL comnwrt ;call command subroutine
ACALL lcddelay ;give LCD some time
MOV DPTR, #init10 ;address of line 1 of initialisation message
repeat10:
CLR A
MOVC A, @A+DPTR ;moving the data to accumulator
JZ exit
LCALL datawrt ;call data display routine
LCALL lcddelay ;give LCD some time
INC DPTR ;increment address
SJMP repeat10 ;jump to label repeat4
exit:
MOV A, #01h ;clear LCD
LCALL comnwrt
LCALL lcddelay ;give LCD some time
RET
Now the lines displayed on the SIMULATION (Proteus) is not as i expected.
I want the screen to be cleared every time. The lines are overlapping over the other.
and the LAST LINE "Sensors..." is not displayed in the 2nd line,instead its overlapping over the first line "Initialising the".
I'm sorry about my bad english. Hope i'm clear with my doubt.
i just copied the first 4 functions and modified them accordingly.
But the display is not good.
And sir, when i compare the data sheets of the sensors, what am i supposed to check for ?