Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

I2C LCD and keypad controller using ATTiny2313

A while back @andrewoke was bemoaning the availability of an open source HD4470 I2C LCD and keypad controller. So I wrote one – the code fits into an Attiny2313 (just). ATTiny2313 chips are available for under $2.
The AVRDude command line I use to program the ATTiny2313 with Adafruit’s USBTiny programmer is: (note the fuse change – this is to run the 2313 at 8MHz)
avrdude -p attiny2313 -c USBTiny -u -U lfuse:w:0xE4:m -U flash:w:I2C_LCD.hex -U eeprom:w:I2C_LCD.eep

Downloads:

Wire up like this:

Connections for LCD controller

Comments are closed.