Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

program ADC and LCD

Status
Not open for further replies.

danjoro

New Member
hi, i have some problem about ADC and LCD.. I am trying to display voltage on ADC on LCD display in degree . and how about if i have 10bit and the lcd port only 8bit. I have not found any examples on how to do this. I'm hoping someone can point me somewhere so I can try to understand this. but the way, i use pic18f4580 and c-language..
Thanks for any help,
 
hi, i have some problem about ADC and LCD.. I am trying to display voltage on ADC on LCD display in degree . and how about if i have 10bit and the lcd port only 8bit. I have not found any examples on how to do this. I'm hoping someone can point me somewhere so I can try to understand this. but the way, i use pic18f4580 and c-language..
Thanks for any help,

hi,
Look at Nigel's tutorials, the link is near my signature on the post.

I know that the tutorials are written in assembler, but they should give you an idea how to write the routines in C.

Also look at this pdf for LCD basics.
 

Attachments

  • how2lcd1.pdf
    240.7 KB · Views: 312
Last edited:
hi, i have some problem about ADC and LCD.. I am trying to display voltage on ADC on LCD display in degree . and how about if i have 10bit and the lcd port only 8bit. I have not found any examples on how to do this. I'm hoping someone can point me somewhere so I can try to understand this. but the way, i use pic18f4580 and c-language..
Thanks for any help,

8 bit means that you send 8 bits over the dataports to the LCD to display the character, if you have 4 bits you"ll need to send 2 times the data to visualize the character.

What LCD-display are you using , you can use the library's from C18 or MikroC.
 
Status
Not open for further replies.

Latest threads

Back
Top