AVR terminal for serial port using TSOP1738 microcontroller

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.
avr terminal front
avr terminal back
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

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top