Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I want to build a water motor control system which will display the level of water in an LCD. When the tank is full motor will be switched OFF automatically and when the water level is below a certain level, the motor will be switched ON. Please help me to build the circuitry :?:
displaying eeprom data on lcd
I need a program code which will take analog input voltage from channel 0 of PORTA, convert it to 10 bit digital binary number, store the number in EEPROM data memory. Take another input from same channel after 15 minutes and again save it to EEPROM data memory...
16f877 eeprom write
@ Kurenai_ryu, I have already edited my post and wrote the final code. EEIF is in the PIR2 register, not in PIE2 register. I have used the WR bit in write sequece, I think u didnt see it. Any way it worked at last.
I have another problem, I have used the ADC of the...
movlw 0x55 movwf eecon2 movlw 0xaa movwf eecon2
EEIF is in PIR2 register. I have corrected it and for selecting bank I have used banksel opcode. Its not working now... What should I do?
banksel produces error when next to label
Thanks Brian.. I have made the necessary corrections that u told about the program. Still the EEPROM is not writing the data. I think its the wait4write loop, may be its becoming an infinite loop. Will anybody check and find the mistake for me plz.
bcf status,rp1
Please read the code and tell me where did I make the mistake. Or help me by writing a code for the EEPROM.
list p=16F877a
include "P16F877a.inc"
__CONFIG 0x3E79
cblock 0x20
count
count1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.