Sunday, February 24, 2019

How it works: The PFC8574T I2C 8 Bit Adapter with the Vishay 20x4 LCD

Using the I2C 4 line LCD

https://www.rhydolabz.com/wiki/?p=16424
There is a section on the I2C LCD Backpack.
The PFC8574T I2C to 8 bit IO adapter backpack onto Vishay LCD-020N004L
PFD8574  ------------------->    20x4 LCD Header Strip  
(4)  D0                          4  Rs   H/L Register Select
(5)  D1                          5  R/W  H/L Read/write 
(6)  D2                          6  E    H/L Enable     
(7)  D3                                    --NC--       
(9)  D4                          11 DB4  data bus 0x10  
(10) D5                          12 DB5  data bus 0x20  
(11) D6                          13 DB6  data bus 0x40  
(12) D7                          14 DB7  data bus 0x80  
only the upper 4 bits are used to write a character into the LCD, the lower 3 bits are control bits.

PFC8574 DataSheet

https://www.nxp.com/docs/en/data-sheet/PCF8574_PCF8574A.pdf


http://raspberry-at-home.com/lcd-for-raspberry-pi-hd44780-via-pcf8574-i2c-openelec/

pi@raspberrypi:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi:~ $

20x4 LCD Commands
https://mil.ufl.edu/3744/docs/lcdmanual/commands.html

Buy One
https://www.aliexpress.com/item/Character-LCD-Display-Module-20x4-LCD2004-IIC-I2C-TWI-2004-Display-PCF8574-for-Arduino-Uno-r3/32961369887.html?spm=a2g0s.9042311.0.0.52774c4dWuk3kg

Coming Soon - Our Own LCD Application written in Ansi C

https://github.com/biffmartin/lcd-i2c-pfc8574

Brought to You By

This Tech Tidbit was brought to you by your IoT Experts at Eleven Dimensions Computer Technologies. See the new 11D website at:

See Our Partner Websites:

Bare Wire Networks:     http://www.barewirenetworks.com
CTI Solutions:   http://www.cti-solutions.com

Many Thanks to Our Partner companies



No comments:

Post a Comment