I2C LCD 16x2: text and a counter on two wires
8 parts
An LCD 16x2 on two I2C wires from a Pro Mini: the simulation draws "Hello, world!" and a count that goes up each second. Set its address to 3Fh and the count stops. Its PCF8574 backpack, at 27h, sets eight pins from each byte the board sends: RS, RW, E, the backlight and four data lines, so sixteen pins become four. The probe on its supply shows the backlight: on from power-up, as the backpack's pins start high, off while the sketch starts the display, then on. The bus is modelled a byte at a time, so a probe on SDA or SCL shows only their idle level.
- U1 lcd16x2_i2c.ino.hex
- V1 5V
- U2