Skip to content

Running the JHD12864E 128x64 Graphics LCD (GLCD) with a PIC18F4550

Notifications You must be signed in to change notification settings

plastygrove/PIC-Graphics-LCD

Repository files navigation

Running a 128x64 JHD12864E Graphics LCD with a PIC18F4550 microcontroller. This code is written completely from scratch and doesn't use any of the earlier code written in the repo AVR-Graphics-LCD

Current Features

  1. Print a string of characters to the screen in different fonts
  2. Take a 128x64 1-bit image and display it to the screen
  3. Display the time from a DS1307 display
  4. Output is multiplexed using a 74HC595 shift register
  5. Working pong clock (needs a little bit of improvements, but works pretty darned well :))
  6. Ability to adjust time by long press of a button

Here is a quick video: https://www.youtube.com/watch?v=VhGNs9608oI

Components Included

  1. PIC18F4550 - Using this microcontroller because it has 40 Pins and I had a few lying around
  2. DS1307 Realtime Clock (RTC) - The clock chip for keeping the time
  3. 74HC595 Shift register - Using this for the data bus to the LCD. Instead of 8 pins for the data bus, I just need 3 now (data, clock and latch)
  4. 20/24 MHz crystal - Oscillator for the microcontroller
  5. 32.768 KHz crystal - Oscillator for the DS1307
  6. CR2032 battery - For keeping the clock powered
  7. 10K Trimpot - To adjust the LCD contrast
  8. Resistors and capacitors - 1K, 10K resistors and 1uF capacitors for use with hardware debounced switches

See circuit_pic.jpg for a quick photo of the circuit

About

Running the JHD12864E 128x64 Graphics LCD (GLCD) with a PIC18F4550

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published