- on Microcontrollers
- Published in issue 7/2011 on page 54
I2C User Interface
Many microcontroller-based projects use an LCD panel and buttons for their user interface. These generally swallow up a large number of the port pins on the microcontroller, making them unavailable for other uses in the application. The circuit shown here offers an HD44780-compatible LCD and a numeric keypad that are connected over an I2C bus. This bus uses just two of the microcontroller’s pins: SCL and SDA.
Issued: June 28, 2011.
In both circuiit diagrams, input labels 'SDA' and 'SCL' should be swapped.