PIC18F4580 – Interfacing LCD

Here PIC18F4580 Mini Development Board is interfaced with a LCD module (2×16) operating at 5V. The voltage at the third pin of the LCD used to adjusting contrast. Control lines (RS, R/W ,E) are connected to port pins (RS)RC0, (E)RC1  and data lines (D0-D7) to port pins RD0-RD7 where R/W is GND. For reliable Performance, LCD has to be initialized. On powering microcontroller send initialization commands to LCD for better working.  The sample code below gives LCD display output ” RhydoLABZ ” in line 1 and  “Mini Dev Board” in line 2 .

Note: In default we may work out LCD in 8bit mode (jumpers are shorted from RD0 to RD3), where as if the jumpers are left open then LCD can be operated in 4 bit mode.

Schematic

Sample Code

Topics related to PIC18F4580 Mini Development Board

  1. PIC18F4580 Mini Development Board – Overview
  2. PIC18F4580 Mini Development Board – Interfacing LED
  3. PIC18F4580 Mini Development Board – Interfacing LCD
  4. PIC18F4580 Mini Development Board – Serial communication(USART)
  5. PIC18F4580 Mini Development Board – Interfacing Switch
  6. PIC18F4580 Mini Development Board – Interfacing Buzzer
  7. PIC 18F4580 Mini Development Board – Interfacing POT(ADC)
  8. PIC18F4580 Mini Development Board – Interfacing Temperature sensor
  9. PIC18F4580 Mini Development Board – Interfacing Servo Motor
  10. PIC18F4580 Mini Development Board – Interfacing  μRFID
  11. PIC18F4580 Mini Development Board – Interfacing  CAN

Resources

How to buy?

SupportPlease share your ideas with us, visit our forum for discussion

Leave a Reply to PIC18F4580 – Interfacing CAN Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">