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.

Lcd with pic

Status
Not open for further replies.

nusry

New Member
how to decide oscillator ratings?
how to decide capacitor ratings?
which are connected to pic ...
 

Attachments

  • Capture..PNG
    Capture..PNG
    45 KB · Views: 162
It is easier to use the internal oscillator of the PIC. Most run at 4MHz. This should be slow enough for the LCD.

Just put the data on the datalines, but be sure to observe the timing delays needed between instruction writes. See page 45 of the following datasheet:

https://www.electro-tech-online.com/custompdfs/2010/03/HD44780.pdf

There is no reason why you cannot wait longer than the specified wait times (eg 50ms), as well as waiting 100ms for the power supply to stabilise. I have had problems with erratic behaviour from LCD controllers, but if you observe the wait times, you can really write an LCD display routine that is bullet proof
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top