Menu

Description Previous menu Home


  DISPLAY GRAPHIC 128 x 64 BOARD  


Description


This board has a monochrome display graphics of 128 x 64 dots type EA DIP128J-6N5LA from ELECTRONIC ASSEMBLY.



The board has a PIC 18F4550 from Microchip which allows to control it through a TTL serial link (not RS232) at 115200bps, 8 bits, 1 stop bit, no parity.

Summary

Schematic

- Tha board has a CPU PIC 18F4550, a display EA DIP128J-6N5LA, a bidirectional serial link.
- The potentiometer P1 allows to adjust the constrast of the display.
- The USB connector is not used in this application.
- The board is powered by an external 12V (100mA max).



Download here the schematic in PDF format


Bill of material

The bill of material below shows only the components to be placed.

Top view
Ref Description Manufacturer / Reference
X1 Xtal 24MHz 30/30/40/12pF CMS 5x7 mm EUROQUARTZ / 1640921 or equivalent
C14 Capacitor TH pitch 3.5mm 330uF 16V 20% All brands
U3 Integrated circuit 18F4550 TQFP 44 Microchip / PIC18F4550-I/PT
U10 Regulator 7805 TO220 All brands
R7 Resistor 47R 330mW through hole All brandss
C42,C43 Capacitor 10uF 16V X5R 1210 All brands
C41 Capacitor 100nF 16V X7R 10% 0603 All brands
P1 Potentiometer 47K TE CONNECTIVITY / CB10MV473ME or equivalent/TD>
J2 Connector male 1x6 pitch 2.54mm All brands
TP72,TP73,TP74 Connector male 1x1 pitch 2.54mm All brands
J7 Terminal block 2 pts pitch 5.08mm WEIDMULLER 1760490000 or equivalent
bottom view
Ref Description Manufacturer / Reference
C7,C8 Capacitor 22pF 50V COG 0603 All brands
C9 Capacitor 470nF 16V X7R 10% 0603 All brands
C4,C5 Capacitor 100nF 16V X7R 10% 0603 All brands
C3 Capacitor 10uF 16V X7R 0805 All brands
R18,R8 Resistor 5.6KR 5% 0603 All brands
R18,R8 Resistor 5.6KR 5% 0603 All brands
R21,R22 Resistor 10KR 5% 0603 All brands
DISPLAY Display graphic 128x64 ELECTRONIC ASSEMBLY / EA DIP128J-6N5LA


PCB

- The board which has 90x50mm dimensions is a part of the PCB F00104 with 100x100mm dimensions.

- So, you need to cut it to get the PCB of the Display board.

Below the pictures of the PCB F00104

Download the manufacturer files here

Assembly

The board has components on the two faces.

WARNING : a modification has to be applied, see next section


Top view

Bottom view


Bottom view

Bottom view

Top view



Download the top view here in PDF format      Download the bottom view here in PDF format


Modification

Connect points A and B on the bottom side like the picture belows :



PIC PROGRAMMATION

Download here the zip of the file HEX V1.05 to program on the PIC      

connexion pickit2



PIC programmation

step 1 : load the HEX file

step 2 : uncheck the Enabled checkbox of the EEPROM data

step 3 : program





BOARD SERIAL COMMANDS

Below, the description of the available commands to send to the serial port, they must be followed by a carriage return (0x0D) :

VE : return the firmware version.

RS : reset the display.

CL : clear the screen, return 0x31 char "1".

sxxxyy : light ON a pixel on the screen, xxx = 0 à 127, yy = 0 à 63.

ST : initialize the internal clock : SThhmmss

HS : start the clock.

HH : stop the clock.

OF : disable the display , this action freezes the screen (Useful to load a complete image and show it with ON when the load is done)

ON : enable the display.

TEXT DISPLAY

format Tfxxxyyytttt\r avec :

- text ttttttt terminated by CR (0x0D)

- position xxx and yy

- f is the font

TAxxxyytttttt\r font ARIAL 14, chars : space to ascii 127, return 0x3A char ":" .

TBxxxyytttttt\r font ARIAL 14 bold, chars : space to ascii 127, return 0x3B char ";" .

T5xxxyytttttt\r font fixe 5x7, chars : space to ascii 127, return 0x3C char "<" .

TFxxxyytttttt\r font fixe 15x31, chars 0 1 2 3 4 5 6 7 8 9 + , - . / : , return 0x3D char "=" .

TVxxxyytttttt\r font Verdana24, charss 0 to 9 and : return 0x3E char ">" .

CZxxxyywwwhh\r clear an area with x=xxx y=yy L=www H=hh, return 0x32 char "2".

CDxxxyywwwhh\r draw a rectangle x=xxx y=yy L=www H=hh, return 0x33 char "3"

CFxxxyywwwhh\r draw a filled rectangle x=xxx y=yy L=www H=hh, return 0x34 char "4"




Download the zip of the sources V1.05 to compile with MPLAB X      

Copyright François Callanquin, March 2014

Contact : fcallbox@free.fr