Description: This simple circuit can be used to program the PIC16F84 and similar flash memory type components. It utilizes a 555 timer integrated circuit (IC) to generate the programming voltage from a +5V power supply, enabling operation from a computer's USB port. The 555 timer (IC1) is configured as a free-running oscillator with a frequency of approximately 6.5 kHz. The output of the timer drives four 100nF capacitors and 1N4148 diodes arranged in a Cockcroft-Walton voltage multiplier configuration. The output of the multiplier is connected to the MCLR/Vpp pin of the PIC during programming through a 4N28 optocoupler. Zener diodes ZD1 and D5 between the MCLR/Vpp pin and ground limit the output of the multiplier to around 13.6V, ensuring that the maximum input voltage (Vihh) of the PIC is not exceeded. A 100kΩ resistor pulls the pin down to a valid logic low level (Vil) when the optocoupler is not conducting. The circuit is compatible with the popular JDM programmer and can be used with supporting software such as ICProg.
The circuit operates by leveraging the 555 timer in astable mode, which generates a continuous square wave output. This output is essential for driving the Cockcroft-Walton voltage multiplier, which consists of capacitors and diodes arranged to step up the input voltage to the required programming level for the PIC microcontroller. The 1N4148 diodes are selected for their fast switching capabilities, allowing for efficient rectification of the AC waveform produced by the 555 timer.
The Cockcroft-Walton multiplier's design ensures that the voltage is increased effectively while maintaining stability. The arrangement of four stages (capacitors and diodes) allows the circuit to achieve the necessary output voltage, which is critical for programming operations. The output voltage is then routed through the optocoupler, which provides electrical isolation between the programming circuit and the microcontroller, enhancing safety and protecting the PIC from potential overvoltage damage.
Zener diodes ZD1 and D5 serve a crucial function by clamping the output voltage to a maximum of 13.6V, preventing the MCLR/Vpp pin from exceeding its specified limits. This is important for maintaining the integrity of the programming process and ensuring the longevity of the microcontroller. The 100kΩ resistor connected to the MCLR/Vpp pin ensures that the pin is pulled low when not in use, preventing accidental triggering of the programming mode.
Overall, this circuit provides a cost-effective and reliable solution for programming PIC16F84 microcontrollers and similar devices, making it suitable for hobbyists and professionals alike. Its compatibility with software like ICProg further enhances its utility, allowing for easy integration into various programming workflows.This simple circuit can be used to program the PIC16F84 and similar "flash memory" type parts. It uses a cheap 555 timer IC to generate the programming voltage from a +5V rail, allowing the circuit to be powered from a computer`s USB port. The 555 timer (IC1) is configured as a free-running oscillator, with a frequency of about 6. 5kHz. The output of the timer drives four 100nF capacitors and 1N4148 diodes wir-ed in a Cockroft-Walton voltage multiplier configuration. The output of the multiplier is switched through to the MCLR/Vpp pin of the PIC during programming via a 4N28 optocoupler.
The voltage rating of the 470 µF capacitor is not critical, provided it significantly exceeds the maximum power supply voltage, which is 12 volts in this circuit. It is essential to connect this capacitor correctly, observing its polarity. The circuit...
A 0.001 F coupling capacitor connects the output of the first half of a 556 timer to the input of the second half, providing an individual delay that equals the total delay. The 6-foot ground can immediately activate the first...
The door alarm is a compact device that activates an alarm when the door is opened. It is particularly useful for maintaining privacy, alerting individuals to the presence of others in a room while they are occupied elsewhere in the...
The circuit features a straightforward long timing mechanism. Activating switch AN initiates the timing process, while tone PR allows for timing adjustments. The timing range spans from 3 minutes to 220 minutes. With a capacitance value of 2200 µF, the...
A portable phone charger designed for a Siemens mobile phone has been updated to include a printed circuit board (PCB), a USB connector, and enhanced current capabilities. The new charger utilizes a step-up converter based on the TPS61032, which is...
This circuit is a touch switch circuit, similar to a touch door alarm. It utilizes a 555 timer as the core component of the touch switch circuit. The operation begins when the plate is touched, triggering the 555 timer. The...
This circuit produces the sound of a beeper like the one in pagers which produces a "beep-beep" sound. Basically the circuit consists of a 555 timer oscillator which is turned ON and OFF periodically. The first IC (left) oscillates at...
This project implements a composite USB device that supports two USB 2.0 full-speed gameport HID interfaces. The physical joystick ports are wired according to the Atari standard, allowing the connection of most Commodore 64 and Amiga joysticks, as well as...
This circuit was originally a type of power-delay control circuit, where the delay time is determined by the timing elements R1 and C1. Additionally, with the inclusion of a "watchdog" circuit, it can be utilized as a monitoring circuit for...
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