description (hardware)
Above and below you can see the terminal.
The LCD display is represented by the connector X1. It has a HD44780 compatible LCD controller and Iām using the 4-bit interface to send data to the LCD controller.
The LEDās are multiplexed. Iāve seen the circuit somewhere in the web. It is possible to connect 12 LEDs with only 4 tristate ports with this circuit. You can address the LEDs setting 1 port high, 1 port low and 2 ports to high impedance. Iāve only used 8 LEDs because of space problemes in the aperture.
The blue points on the photo are four push buttons.
On the left side Iāve inserted an infrared remote receiver (TSOP1738) so that it is possible to telecontrol the computer.
Additionaly you can see the RS232 interface built with and max232 and the connector X3.
Connector X2 is used for incircuit prgramming.
schematic (drawn with gschem)
description (software)
The software is written in C. Iāve used the avr-gcc compiler and avrdude for programming.
If you press a pushbutton the terminal sends an āKā, the number of the button and a newline character.
For more detail: AVR terminal for serial port usingĀ TSOP1738 microcontroller