|Two Line Mini-Terminal
Six Digit LED Clock Display
SPI to LCD
Software for the DS1302 Real Time Clock
Software for the DS1307 I2C Real Time Clock
USB for the MC9S12DP256
Project Board for MC9S08QG8 and MC9S08QE8
Project Board for MC9S08SH8
Project Board for MC9S08SV16
Arduino Form Factor board for MC9S08SV16
Miniboard for MC9S08QE64
Low Power Wireless Temperature Sensor now New Version
Time, Temperature and Relative Humidity Project
40 Keyswitch Membrane Keypad Interface
IIC to LCD Software
35 x7 Dot Matrix LED Display Board
The Two Line Mini-Terminal is a embedded microcontroller board designed to implement a limited but low cost terminal. The board was designed to be the same size as a 2 line by 40 character LCD such as the OPTREX DMC 40218. With mounting holes in the same pattern as the LCD the controller board can be piggy backed with the display. As an input device the terminal uses standard IBM compatible PC keyboard. In a normal full duplex mode the controller converts the keyboard scan codes to ASCII and transmits them to the RS-232 output. Input from the RS-232 is displayed on the LCD. The software does vertical and horizontal scrolling of the incoming characters.
The MC68HC711E9 on which this project was based is now a legacy device and I no longer have pc boards so this project is obsolete. I did port the keyboard software to 9S08 as a subroutine to be used with other projects. If anyone has an interest in this they can email me.
To view a PDF version of the manual click here (140 K; July 97 version).
Download the code.
Single chip AT Keyboard interfaces
It's difficult to get a good photograph of LEDs.
The display is much brighter then it appears in this photo.
|The board is driven by a Maxim MAX7219 which has a serial interface; it can be controlled by a any microcomputer with a SPI or three output lines. The board is 2.75 inches by 6.5 inches in size; mounting four .8 inch LED displays and two .56 inch displays as well as six individual LEDs, a 7805, the MAX7219, and a five pin header. The IC is rather expensive; you might consider the AS1100 or AS1106 or AS1107 if you can find them. Or search eBay
A LED display circuit is straightforward but wirewrapping one is a long tedious job; but I no longer have pc boards.
To view a PDF version of the schematic and parts placement click here (161 K; July 98 version).
I am currently running the clock with a MC68HC811E2 which is now a legacy device but if you want you can Download the source code.
|If you want to interface a LCD to your project but are short the number of I/O pins required, you could use the Motorola SPI and an inexpensive 74HC595 shift register. A printed circuit board with the IC, a SIP connector, space for a dropping resistor if the LCD has a LED backlight and an optional pot to adjust contrast is less than 1 x 2 inches in size. In the photo top left the contrast input was hardwired to GND. In the photos in the lower row trim pot as well as the power for the LED backlight is installed. The LCD is interfaced in the 4-bit mode with first four bits of the HC595 connected to DB4-7 of the LCD and RS & E connected to output bits 4 & 5. All you need it make this work is a suitable subroutine.|
Most LCD's are interfaced via a 16 position header located along the top or bottom edge. My pcb is designed to connect to such LCD's. However, some LCD's use a 8x2 position header along the side. I recently came across a board by Oleg Mazurov posted on BatchPCB for a SPI to a 8x2 type LCD. You can buy one directly from them.
If a SPI interface doesn't work for you then consider a IIC interface.
Roger's Embedded Microcontrollers Home Page
This page written by Roger Schaefer. Last updated May