14 I/O's, pull down sips and 4 resistors to drive a 3 1/2 digit, plus icons, glass with no other support chips. The PIC directly drives the LCD... there is no LCD controller. Since the LCD controller is the major cost in most LCDs, extending this code to support larger matrix type LCDs could be a VERY big deal in the PIC open source world.
Schematic, [very well] documented and functional assembler code, and a few odd files that may or may not interest you in regards to an environmental chamber setup and data collection all created with numerous pic16C74A. The code is best viewed with tab settings of 8 spaces apart.
Two handy features of the LCD code are that you can adjust, via a register value, the segment refresh rate. Also done via another register value, is the LCD data refresh rate. I have ran different LCD glass' from 25 to 80Hz pending on their persistence.
In addition, between interrupts, this unit's reads -100 to +100 Deg C (Deg C/F toggle momentary switch included) with a + - 0.2 Deg C reading accuracy across, yes, the whole range (RTD & precision Vref). I have also left some hints on how I manipulate thermister tables.
Also has my single pin communication output [my proprietary protocol (a spin-off of arcnet)] which send data external to a hand-held (pic also) unit for logging. This unit requires no calibration. I have also left some hints on this single i/o (simplex for this example) line data comm.
Micro powered and sleep mode utility are additional features.
|file: /Techref/microchip/lcdglassdrive.htm, 3KB, , updated: 2007/5/11 18:23, local time: 2019/12/6 06:18,
|©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/microchip/lcdglassdrive.htm"> 2 plane MUX LCD Glass Driver</A>
|Did you find what you needed?|
LCD Front Panel Set: $8.99!
- 2x16 LCD HD44780 controller
- 4 push buttons - 3 LEDs - 2x12 header
Welcome to techref.massmind.org!