Re: PIC basics, Proteus VSM, ADC & LCD
You only want to design this project digitally? or you plan to built it in hardware later?
- - - Updated - - -
However, such project should obey the following sequence:
1.initialize all ports (you define what port you set as input/output also what port as analog/digital)
2.initialize the ADC process: by moving specific values to the ADCON0 and ADCON1 registers
3.CALL the ADC process
4.move the conversed values to the working register, then move the working register to the output port of the LCD.
This is if you only intend to design in digital domain.
If you plan to make it a hardware, for example use a temperature sensor, and show the output on the LCD, you need to add the task of : calibration, which is a set of tests, you do, with 0/max inputs, and see the output, to derive a formula for the conversed value to be accurate.
I assume you know what is initializing an LCD, and you must know that the LCD has data pins, connected to the output of the MCU, and control pins: R/W RS E , which give commands to the LCD processor in order to derive a task you order.
the pins that you will to connect the probes to, must be considered as input pin, and set to analog.