PIC32 PCB – OLED, 1.44″ TFT, Nokia 5110

This is a entry level OLED PCB with PIC32.

Please scroll to the bottom for datasheets/firmware downloads (adding them soon).

Current I am awaiting delivery of components.

The OLED is a UG-2864HLBEG01, 128×64 monochrome, 0.96″

The PIC is a PIC32MX120F032D. All I/O pins will be labelled on the PCB.

More information soon on this page (including datasheets).

Update 5th March 2014.

I have connected a 1.44″ color TFT display, 128×128 pixels. Adapted the initialization C code from 8051 C to PIC32. Right now, bitbang serial IO is used, will change later to hardware serial port.

So far, the display is initialized, and graphics can be drawn successfully.

PIC32 TFT prototype

Here you can see the prototype circuit. Later, support for Nokia 5110 84 pixels monochrome, and OLED display will be added. However, the OLED displays have not yet arrived.

Supply voltage is 3.3 volts. I had to change the PIC to a PIC32MX120D32 (32K FLASH), since after adding FAT32/SD card support, all the memory was used up!

Today I have removed some unused components, and wired the SD card slot. The PCB will have SD card support since it is convenient for transfering images (there is also a serial FLASH chip), and it is easier than to use USB stack, and develope a Windows software. Also I have added a HMC5883L Triple Axis Compass Magnetometer.

PIC32 TFT prototype

These have serial I2C port, and also work with 3.3 volts. The PIC with 44 pins (TQFP) which is used is available with upto 128KB FLASH, and also USB, however, the pinout is slightly different for ICSP (does not matter), and the non-USB PICs have IO available for other purposes. Maybe I will even try a small 8bit PIC for USB support (the stack requires a lot of 32bit FLASH).

I have so far adapted the picofs from elmchan to PIC32, and it compiles successfully. Next step is to see if the SD card actually works…wired it in parallel with the TFT, they both have chip select lines. Also the pins have coincidence with the hardware seria port, can chage later (but even bitbang is very fast on PIC32). Have to wire the serial FLASH and the compass sensor later (first make the SD card working). Files then can be transfered to the serial FLASH and the SD card removed again (SD cards need more power than serial FLASH IC).

Leave a Reply

Your email address will not be published.

*