ok..actually the number of bit is doesnt matter..because the adc value will store in the variable..then u display the variable at LCD..it have two way to use LCD connection..first is by use 4bit..second is 8bit..
just like u said, u are going to use c-language..what software u use? mikro c or MPLAB?
Hi,
That doesn't matter. That's because the ADC value is read and stored in a register ADRES[H:L] (2 registers actually - ADRESH and ADRESL). This is then sent to the PORT as required to the LCD port to tell the LCD what to show. The LCD routine will vary from compiler to compiler and most will usually have built-in LCD functions, however the basic principal in using LCD remains the same. For basic LCD commands and instructions take a look at:
LCD Commands and Instructions: LCD Tutorial for interfacing with Microcontrollers : 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes
Take a look at these excellent tutorials and simulation useful for learning LCD interfacing:
LCD Info
Introduction
HD44780 Commands
Initialization Issues
Defining Custom Characters
Creating Simple Animations
Bitmap Calculator
Final Words
LCD Simulator {/JavaScipt} - the simulator
Hope this helps.
Tahmid.
like i said before, create one variable, let the variable store the 10bit resolution data..then display the variable..
5V = 1023bit
so every 1bit is equal to 0.0049V
mean u want to display the binary value?
Ok, I'll help you. Can you pack your Proteus project with WinRAR here, so I can test it. Also if you want to display degrees on LCD, I need two diferent values for degree in volts ( in range 0 - 5 volts).
By the way, if you want to meassure the temperature, there is much simpliest way to do it with one wire sensor DS18S20 (DS18B20) and result is quite real?
Regards
I made it for 18F452. Is there any secial reason to use 18F4580. For this MCU data sheet should be studied.
Regards
It is saved with proteus 7.
regards
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?