Description: A light computer has been developed that simulates the scanning effect seen in the KITT car from the TV series Knight Rider. The design utilizes a microcontroller, specifically the PIC16F84A, instead of the commonly used CD4017 counter IC. This choice enhances flexibility despite increasing complexity. The compact circuit operates on a DC voltage range of 7 to 12 V, with a 7805 voltage regulator providing a stable 5 VDC output. For a more compact design, a zener diode could be employed for voltage stabilization. The microcontroller's operation is controlled by an external RC oscillator, although omitting the capacitor can reduce frequency stability; a 10k resistor is used in this configuration. The LEDs remain active for approximately 0.14 seconds, and the speed of the effect can be adjusted by varying the resistor value (R1). An optional capacitor can be added between OSC1 and ground. The basic version of the software, written in assembler language, executes the Knight Rider light effect with two output states: ON or OFF. An extended version in C language incorporates a trailing effect with lower LED intensity through pulse width modulation (PWM). While a 555 timer and 4017 counter IC could achieve a similar effect at a lower cost, the microcontroller offers significant advantages in flexibility, allowing for modifications to the light effect without altering the circuit. Additionally, a second hardware version utilizing the PIC12F629 microcontroller has been designed, which is compact and requires minimal external components, limited to LEDs and resistors.
The circuit design employs a microcontroller-based architecture to create a versatile light effect reminiscent of the iconic KITT scanner. The PIC16F84A microcontroller serves as the central processing unit, programmed to manage the LED activation sequence. The choice of a microcontroller over discrete components such as the CD4017 counter provides the opportunity for software updates and modifications to the light pattern without physical changes to the circuit.
The power supply design includes a 7805 voltage regulator, ensuring that the microcontroller operates within its specified voltage range. This regulator takes an input voltage from 7 to 12 V and outputs a stable 5 VDC, which is essential for reliable microcontroller operation. For applications where space is at a premium, a zener diode could replace the voltage regulator, though this may introduce variability in voltage stability.
The external RC oscillator configuration is a crucial aspect of the microcontroller's timing mechanism. The use of a 10k resistor in conjunction with the capacitor (if included) sets the frequency of operation. The omission of the capacitor, while simplifying the circuit, necessitates careful consideration of the impact on frequency stability. The LED activation period of 0.14 seconds is adjustable by changing the resistor value, allowing for customization of the light effect speed.
The software design is bifurcated into two versions. The basic assembler version provides a straightforward implementation of the light effect with binary states. In contrast, the extended C version introduces PWM to create a gradient effect in the trailing LEDs, enhancing the visual appeal of the light pattern. This PWM capability allows for finer control over LED intensity, contributing to a more sophisticated light display.
The design philosophy emphasizes flexibility, with the microcontroller enabling the possibility of future enhancements and variations in the light effect without necessitating hardware changes. The introduction of a secondary circuit using the PIC12F629 microcontroller further illustrates the commitment to compact design and efficiency, accommodating a minimal number of external components while maintaining functionality. Overall, this light computer design exemplifies the advantages of microcontroller-based systems in creating dynamic and adaptable electronic displays.I have created a light computer that generates an effect like the scanner of the car KITT in the TV series Knight Rider. You can see a visualization of the effect in the image below: Many circuits on the Internet are built with a CD4017 counter IC.
I myself chose to use a microcontroller for this job: the PIC16F84A. A microcontroller increases the complexity but it allows you to build a very flexible light computer. The circuit can be kept very small, this was a requirement for this circuit. The circuit can be powered by a DC voltage between 7. 12 V. I used a 7805 regulator to create a stable 5 VDC voltage. It you want to keep the circuit very small you could use a zenerdiode for the stabilization. The microcontroller is oscillated by an external RC oscillator. The capacitor was left away. This can be done but it decreases the stability of the frequency. The resistor has a value of 10k. I did some measurements on the circuit and the LEDs are active for a period of 0. 14 seconds. To change the speed you can simply change the value of resistor R1. You could also add a capacitor between OSC1 and the GND. A basic version in the assembler language. It runs the knight-rider light effect with only two possible output states: ON or OFF. Download the assembler source code. An extended version in the C Language. This software generates a little trail before and after the active LEDs. The intensity of the LEDs in the trail is lower. This is done by implementing some sort of PWM (pulse width modulation). Download the High-TECH C source code. A question you might ask yourself is why this circuit should be made with a PIC microcontroller. You get a 555 and a 4017 counter IC for less money. With them the same effect can be achieved. I have to admit the microcontroller is overkill for this kind of application. But one big advantage about microcontrollers is they are very flexible: the complete light effect can be changed without having to change the electronic circuit. To demonstrate this I have written the extended version of the software (see previous topic - extended version with PWM control).
I also designed a second hardware version of this circuit, with the PIC12F629. This is a DIL-8 microcontroller that uses very little place. You don`t need any external parts other than LEDs and resistors.
This circuit has been designed to provide a clearly visible light, formed by 13 high-efficiency flashing LEDs arranged in a pseudo-rotating order. Due to low voltage, low drain battery operation, and small size, the device is suitable for mounting on...
This is a one-transistor LED flasher circuit designed to flash a super bright LED. The circuit employs a single transistor as a driver, which receives the flash rate from LED 2, a self-flashing LED. The flash rate can be adjusted...
The digital lock utilizes four common logic integrated circuits (ICs) to manage a relay activation by inputting a four-digit code via a keypad. The initial four outputs from the CD4017 decade counter (pins 3, 2, 4, and 7) are combined...
IC4, C1, R1 and R2 are used for the clock pulse which is fed to both the counters IC2 and IC3 Pin 14. IC1 is a Flip Flop and is used as a switch to enable either IC2 or IC3...
The IC1 is a 555 timer IC connected for astable operation. The clock pulses are fed to the IC2 via the 10K resistor. The IC2 is a 10-stage counter; output 6 (pin 5) is connected to RESET (pin 15), thus...
The talking Yoda head consists of a Yoda mask and a microcontroller system to achieve the desired operation/effect. The basic operation of the project was specified as follows: The head was to be placed inside a closed box. Upon opening...
The article explains a straightforward method for creating an incremental LED bar graph using the IC 4017, which has specifications that may not fully align with current requirements. It discusses how to modify the IC for these operations. The method...
The KA2284 is a monolithic integrated circuit designed for 5-dot LED level meter drives with a built-in rectifying amplifier. It is suitable for both AC and DC level meters, such as VU meters or signal meters.
The KA2284 integrated circuit is...
Building a computer-controlled LED lamp with an ATMEL microcontroller.
The project involves designing a computer-controlled LED lamp utilizing an ATMEL microcontroller as the central processing unit. The core components of this circuit include the ATMEL microcontroller, a power supply, various LEDs,...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more