When using microcontrollers in designs, a common challenge is displaying user-required data. Solutions such as multiple LEDs, 7-segment displays, or LCD modules can be employed, but displaying a large amount of information simultaneously can pose difficulties. Large LCD modules are often expensive, and graphic modules require complex control. An alternative solution is to utilize a PC by sending data via a serial line to the computer and displaying it on the computer's screen. However, the computer may be occupied by another user or needed for different tasks. A practical solution is to use an older television set, which many families discard due to the transition to digital broadcasting or modern flat-screen displays. These older TV sets can be acquired inexpensively and repurposed for this task. The display unit can operate in text mode with a semi-graphic mode being sufficient. A single integrated circuit, a microcontroller, can manage all functions of the unit. A keyboard is necessary for data input; however, constructing a keyboard from individual buttons can be complicated, and specialized keyboards are often expensive or difficult to obtain. Therefore, a standard IBM PC keyboard is an ideal choice, providing both design simplicity and character variability. The size of the PC keyboard is a minor drawback when used alongside a TV set. Two versions of the TV terminal have been developed: a built-in version designed for integration into a device, and a standalone version powered externally. The terminal is easy to use; it connects the video output to the video (AV) input on the TV set, sets the communication speed via J1 jumpers, and optionally connects a PC keyboard. Once powered on, the display will show the current parameters, with full operation achieved three seconds later. The schematic wiring is similar for both versions, with differences primarily in the power supply and serial line interface. The standalone version includes a voltage regulator and a simple RS232 to TTL converter, utilizing only two transistors for the logic voltage conversion. The wiring diagram is straightforward, with most functions centralized in the microcontroller U1. A minimum of 1 kB of RAM is required for a 40x25 character screen, and the ATmega8 microcontroller has been selected for its availability. Ensuring independence for each of the three processes was a significant challenge, as the video signal must be generated accurately. The program was developed in assembler, with the compiled code provided. The microcontroller operates at a maximum frequency of 20 MHz, although 22 MHz would yield better results. However, for reproducibility, the decision was made to use 20 MHz, resulting in slight variations in pixel width. The standalone version includes both a power supply voltage regulator and a logic level converter, designed for simplicity. Short serial lines pose no issues, but longer wires with higher capacitance may introduce communication errors at elevated speeds. Care should be taken with the keyboard used, as some models draw more than 100 mA, which can cause overheating of the U2 voltage regulator. The 7805 voltage regulator in the TO220 package is recommended, or the power supply voltage should be reduced if necessary. Constructing either version of the TV terminal is straightforward, involving mounting and soldering components to a PC board, followed by testing the completed device. The final step involves downloading the program into the microcontroller and setting the fuses: RESET=ON, BROWN-OUT LEVEL 4.0V, and OSCILLATOR=EXT. CRYSTAL HIGH FREQ.
The proposed circuit utilizes a microcontroller, specifically the ATmega8, as the central processing unit to manage data input and output. The microcontroller's architecture allows for efficient handling of the required data display, supported by a minimum of 1 kB of RAM to facilitate the rendering of a 40x25 character display. The communication between the microcontroller and the TV set is established through a video output that connects to the TV's AV input, ensuring compatibility with standard television equipment.
The power supply circuit is designed to accommodate both the built-in and standalone versions of the terminal. The standalone version features a voltage regulator to maintain a stable 5V output, essential for the microcontroller's operation. The RS232 to TTL converter, implemented with two transistors, serves to translate the communication signals from the microcontroller to a format compatible with the television and keyboard inputs. This design choice minimizes component count while ensuring reliable signal conversion.
For user interaction, the standard IBM PC keyboard provides an accessible and cost-effective solution. The keyboard interface allows for easy data input, leveraging the existing layout of characters without the need for custom mechanical designs. This approach not only simplifies the assembly process but also enhances the overall user experience by providing a familiar interface.
The assembly process involves careful soldering of components onto a printed circuit board (PCB), followed by thorough testing to ensure functionality. The program must be loaded into the microcontroller, with specific fuse settings configured to optimize performance. The circuit is designed to be robust, allowing for easy troubleshooting and modifications as necessary, making it suitable for hobbyists and engineers alike.When you use microcontrollers in your designs, sometime you face a problem how to show user required data. Several LEDs, 7 segment display or LCD module can be solution. But if you must show a lot of information simultaneously, it can be difficulty. Large LCD modules are expensive and graphic modules require complicated control. You can solve it with a help of PC. Just send data via serial line to the computer and display everything on computer`s display. But another user usually occupies computer or you need it for another job. :-) I have had to solve the same problem some time ago. I have chosen normal small TV set for that. A lot of families change TV in this time because of digital broadcasting or modern flat and slim LCD and plasma displays. So they put older TV set away and it is dormant somewhere. Or you can buy older TV very cheap. The display unit must be maximum easy. For data displaying is text mode with semigraphic mode sufficient. Just only 1 integrated circuit - microcontroller - must guarantee every function of the unit. A keyboard will be useful for data input. "Button by button" assembling of keyboard is complicated and mechanical design is a weak point in hobby construction.
Special keyboards are usually inaccessible or expensive. That`s why I have chosen standard IBM PC keyboard. PC keyboard solves as design as character variability - there are all characters on keyboard. Economic view is very advantageous and accessibility is almost unbeatable. The size is disadvantage of PC keyboard but beside TV set it doesn`t matter. I have developed 2 versions of TV terminal. "Built-in" version is designed for utilization in device. The second version is standalone device with external power source. TV terminal utilization is very easy. Connect video output to video (AV) input on TV set. Set communication speed on J1 jumpers. You can connect PC keyboard but it isn`t necessary. Turn terminal ON and display will show current parameters. The terminal is in full operation 3 seconds later. Schematic wiring is similar for both versions. You can find differences in the power supply part and in the serial line interface. Standalone version has got voltage regulator and simple RS232 to TTL converter. I have used only 2 transistors for logic voltage converter. Integrated circuit takes much more space. As you can see wiring diagram is very easy. Most of the functions are centred in the microcontroller U1. There must be minimally 1 kB RWM for 40x25 character screen. I have selected well-known and available type - ATmega8. Independency for every of these 3 processes was the most complicated task. Video signal must be generated utterly on the dot. Program was created in assembler and compiled code is here. Microcontroller clock is on maximum frequency - 20 MHz. Frequency 22 MHz would be better, but for reproducibility I accepted 20 MHz. This backtracking brings slight differences in the horizontal width of pixels. Forgive me - it is only hobby design (or maybe you will notice this never :-). The power supply voltage regulator and logic level converter are included in the standalone version. To keep circuit easy I selected (inspired by biprog) simple converter with 2 transistors. There is no problem with short serial line. But if you connect long wires with bigger capacity then communication can produce errors in higher speeds. Be careful with used keyboard. Consumption most of them is reasonable low, but there are types with consumption above 100 mA. High current causes overheating of U2 voltage regulator. Use voltage regulator 7805 in the TO220 case or reduce power supply voltage in this event. It is very easy to make both versions of TV terminal. Mount and solder every component to PC board. Check up complete device. The last operation is downloading program into microcontroller. Set fuses: RESET=ON, BROWN-OUT LEVEL 4. 0V, OSCILLATOR=EXT. CRYSTAL HIGH FREQ. Connect bui 🔗 External reference
This circuit utilizes a 14-segment display to represent characters. The 14-segment display consists of 22 pins, which facilitate the display of various characters. Eight pins labeled A, B, C, D, E, F, K, and M are connected to the...
The Atmega8 microcontroller from Atmel features numerous digital and analog input/output lines, making it an ideal choice for developing various measurement equipment. It is essential to have the GCC AVR programming environment installed, as outlined in the article "Programming...
If an application utilizes a MOSFET to switch a load, it is straightforward to incorporate short-circuit or overload protection. This can be achieved by leveraging the internal resistance RDS(ON), which generates a voltage drop proportional to the current flowing...
Microchip has announced the availability of new PIC16F1512 and PIC16F151213 XLP microcontrollers. These new XLP (EXtreme Low Power) microcontrollers feature enhanced power management capabilities, making them suitable for battery-operated applications.
The PIC16F1512 and PIC16F151213 microcontrollers are designed to operate with...
Relays are devices which allow low power circuits to switch a relatively high Current/Voltage ON/OFF. For a relay to operate a suitable pull-in & holding current should be passed through its coil. Generally relay coils are designed to operate...
A soft power switch for a microcontroller is designed such that a momentary switch can activate the circuit, including the microcontroller. When the switch is pressed a second time, the microcontroller is capable of shutting itself down after executing...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more