Continue to Site

Welcome to EDAboard.com

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.

[PIC] PIC basics, Proteus VSM, ADC & LCD

Status
Not open for further replies.

FyrewurXedge

Newbie level 5
Newbie level 5
Joined
Dec 6, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
78
Hi there!

I am basically a newbie in microcontrollers and Proteus VSM. I am not sure if i posted this on the right category.

I want to create a project in Proteus VSM using a microcontroller and I don't know which PIC16 IC will I use. I can't understand assembly but I have used Arduino for about six months now. I have read about writing in C can also be used for PIC.

Can I ask suggestions for ADC using PIC and displaying it on a 2x16 LCD screen and use it in VSM and in actual work. I need to know which IC will I use and I don't the syntax and codes that are used in PIC.

I will use 2 probes and i want to ADC them and display results on the LCD.

Please help me with this project.
 

Which Compiler are you using to write the code for the PIC device you are going to use?
 

Due to my searches, I plan to use MikroC but Proteus does not some sort of incorporation with MikroC, so either I'll use Hi-Tech C for PIC or use MikroC.
 

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.
 

How can i do the calibration part? Im done on VSM and i plan to work on the hardware.
 

Choose what type of sensor you intend to use.
Each has a specific output formulae and some of are linear as well as others have a non linear output.
Search about thermocouple sensors and tell which one you want to configure
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top