blueroomelectronics
Well-Known Member
Well I just got a 2.5digit 7 Segment LCD display running with a 16F917. It was a little tricky at first as I could find few examples on the net for a Static type display & the PIC16F917 LCD driver.
But finally got the hang of it. Easy as 123 once you understand it. Nice high contrast reflective super low power LCD; teriffic for a thermostat as it creates almost no heat and super low current draw.
The 16F917 does all the work driving the display, it even can run it during sleep. Here's the code to display "188" on the display. I'll post the schematic soon.
It's a Lumex LCD-S2X1C50TR less than $2 each. 3V to 5V operating.
https://www.lumex.com/product.aspx?id=462
**broken link removed**
But finally got the hang of it. Easy as 123 once you understand it. Nice high contrast reflective super low power LCD; teriffic for a thermostat as it creates almost no heat and super low current draw.
The 16F917 does all the work driving the display, it even can run it during sleep. Here's the code to display "188" on the display. I'll post the schematic soon.
It's a Lumex LCD-S2X1C50TR less than $2 each. 3V to 5V operating.
https://www.lumex.com/product.aspx?id=462
**broken link removed**
Code:
; *** Enable LCD 16F917
banksel LCDCON
movlw .7 -1 ; 1:7 postscale 31Hz refresh
movwf LCDPS ; static bias COM0 (RB4)
movlw b'11011000' ; LCD & VLCD (RC2) on
movwf LCDCON ; clock INTRC/32
movlw b'11111111'
movwf LCDSE0
movwf LCDDATA0
movlw b'11111110'
movwf LCDSE2
movwf LCDDATA2