The project Indicator Head-Up Display (HUD) is based on Motorola HC11 controller. This system is built to display the status of the direction indicator lamps of vehicles. When a direction indicator switch is operated for either left- or right-turn signaling the direction will be displayed on the LCD. To simulate this circuit, initially activate Mixed Mode simulator from the Schematic Editor window. Simulation can be performed by selecting Transient analysis from Simulation menu.
This project includes M68HC11A8 microcontroller, LCD unit (controller and display) and
The HC11 controller has an eight channel, successive approximation ADC module as a peripheral. An arrangement of variable resistor (potentiometer) and a voltage source is used instead of direction indicator switch. This arrangement gives analog voltage in the range of 0 to 5V. The analog voltage value from the potentiometer is given to the ADC module through PORT E, pin 0. The ADC is configured for single channel continuous conversion. After conversion, the result is stored in ADC result register 1 (ADR1). The value stored is compared with a range of values and the corresponding direction is indicated in the LCD. HD44780U is an LCD controller, which converts ASCII codes to corresponding segment display information.
The source code written in C language and can be viewed from the
code editor window. It can be compiled after making any modifications (editing) and also debugged during simulation.