Homemade AVR MCU Unlocker

Publisher:美丽花朵Latest update time:2012-05-14 Keywords:AVR Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

A rectangular wave generator can be made by using the 2MHz passive quartz crystal of the AVR microcontroller and the 6-phase inverter 74HC04, plus a few 1/4W color ring resistors. The following figure shows the pin distribution of 74HC04.

As shown in the figure above and below, the 14th pin of 74HC04 is the power pin, connected to the positive 5V DC power supply, and the 7th pin is connected to the negative pole of the 5V DC power supply. In this design, the first three inverters of 74HC04 are used to form a rectangular wave generator.

The figure below is the schematic diagram of the unlocker circuit.

In the figure below, the first inverter input and output of the 74HC04 labeled U1A is connected in parallel with a 1MQ 1/4W resistor and a 2M 2-pin quartz crystal. Two 22pF ceramic capacitors C1 and C2 are used to fine-tune the frequency of the quartz crystal. U1C is the output inverter. In order to ensure that the waveform is relatively complete, a 2K ohm pull-up resistor is connected to the output.

If the AVR microcontroller is locked by itself, just connect the circuit to a 5V DC power supply, and then connect the other end of the wire from J1 to the XTAL1 pin of the AVR microcontroller, and directly re-download the program through the ISP port of the AVR microcontroller, and re-write the correct fuse position to unlock the AVR microcontroller.

Depending on the different types of AVR chips allowed, the clock range can be selected from 1MHz to 16MHz.

Keywords:AVR Reference address:Homemade AVR MCU Unlocker

Previous article:Microcontroller entry design: a simple and fun heart rate meter
Next article:Typical case development of single chip microcomputer (II)

Recommended ReadingLatest update time:2024-11-16 19:44

MCU C language tutorial: Building your first KeilC51 project
With the continuous development of single-chip microcomputer technology, high-level languages ​​with single-chip microcomputer C language as the mainstream are also constantly loved by more single-chip microcomputer enthusiasts and engineers. When using C51, you must use a compiler to compile the written C program i
[Microcontroller]
MCU C language tutorial: Building your first KeilC51 project
Using BootLoader to Upgrade Online in PIC18 Microcontroller
Introduction The BootLoader of PIC microcontroller is the kind that needs to be written by yourself. You can write BootLoader programs with various functions according to your needs. At present, the more common BootLoader programs are Microchip's C18 version and the PICC18 version of the famous PICC compile
[Microcontroller]
Using BootLoader to Upgrade Online in PIC18 Microcontroller
MSP430 MCU controls IO port operation - LED flashes
//******************************************************************************* // D13x Demo - Change the system clock based on the previous section and observe the blinking frequency of the LED light // // Description: Change the blinking frequency by changing the system clock; invert P1.5 through P1 XOR; software
[Microcontroller]
Xinchi Technology E3 high-performance MCU is officially mass-produced and shipped
Recently, Xinchi Technology's first batch of high-performance MCU "Control Core" E3 was officially delivered to customers, which means that Xinchi Technology MCU has entered the era of mass production and can provide the industry with a series of high-performance, high-functional safety automotive-grade MCU chip produ
[Automotive Electronics]
Xinchi Technology E3 high-performance MCU is officially mass-produced and shipped
The "Soul" of the Microcontroller - The Use of Data Memory
  We can say that the program memory stores the soul of the microcontroller, which is the working program. The smallest one may be only 1KB (it can only hold 1024 8-bit data at most, because there are many 2-byte and 3-byte instructions in the actual instructions, so it cannot hold 1024 instructions) and the largest o
[Microcontroller]
Single chip campus bell system source program
Main frequency     12M Function: 1. Use DS1302 to obtain clock signal and set time.  2. Can set 10 groups of bell time and has temporary bell function. The bell duration is 5S. 3. 1602 LCD screen displays data. The simulation schematic diagram is as follows . Usage: Press "÷" to adjust the time, press the adjustmen
[Microcontroller]
Single chip campus bell system source program
Monitoring system of cleaning test bench based on single chip microcomputer control
In recent years, with the continuous development of my country's economy and the continuous improvement of people's living standards, people have higher and higher requirements for the quality of life. Therefore, the requirements for the working performance of grain cleaning machinery in grain cleaning operations
[Microcontroller]
Monitoring system of cleaning test bench based on single chip microcomputer control
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号