ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Sun Mar 25, 2012 9:56 am |
|
|
Hi,
The most important thing is that the pin connections on the Keypad and LCD match the corresponding pin connections on the PIC. If you do that, the CCS provided software will work with these items.
The way the physical connections are made is not really important, but I prefer everything to be neat and orderly. Ideally you would have a pair of "header" type connectors on the PIC board to interface to the Keypad and the LCD. The Keypad connector would be a 1X8 connector, and the LCD connector would be a 2X7 connector. These would be wired so as to directly connect the Keypad and LCD pins to the appropriate PIC pins.
The only undefined connection on the "schematic" (that's not really a schematic!) is the LCD "contrast" connection. This is an input to the LCD to control the contrast of the LCD. You can make a simple contrast circuit with a 10K multi-turn potentiometer. Connect one end to +5V, one end to GND, and the wiper connects to the contrast pin on the LCD. Adjust the pot for the desired LCD contrast.
John |
|