(2) Why choose AVR microcontroller? High speed (50ns), low power consumption! The hardware uses Harward structure and has the function of prefetching instructions, so that instructions can be executed within one clock cycle. PIC needs 4 clock cycles to execute an instruction. MSC-51 needs 12 clock cycles to execute an instruction.
(3) Why choose AVR microcontroller? Ultra-functional reduced instruction set! It has 32 general working registers (equivalent to 32 accumulators in 8051, overcoming the bottleneck phenomenon caused by single accumulator data processing), 128B~4KB SRAM, and can flexibly use instruction operations.
(4) Why choose AVR microcontroller? Industrial-grade product! It has a large current (sink current) of 10~20mA or 40mA (single output), which can directly drive SSR or relay; it has a watchdog timer (WDT) for safety protection, prevents program errors, and improves the product's anti-interference ability.
(5) Why choose AVR microcontroller? Program writing can be done in parallel (using a universal programmer) or by serial online ISP erasing. In other words, there is no need to remove the IC and burn it on a universal programmer. Instead, program modification and burning can be done directly on the circuit board, making it convenient for product on-site upgrades. It has ISP, JTAG and self-editing functions, which is the future development direction of microcontroller programming.
(6) Why choose AVR microcontroller? AVR's I/O port is a real I/O port that can correctly reflect the actual situation of the I/O port. The I/O port has input/output, tri-state high-impedance input, and can also set the internal pull-up resistor as the input terminal, which is convenient for various application characteristics (multi-function I/O port)
(7) Why choose AVR microcontroller? Highly confidential (LOCK)!
– Unbreakable Lock bit technology
– Unlike Mask ROM which can be cracked by electron microscope – Flash unit is hidden deep inside the chip – Flash can be burned multiple times and has multiple password protection lock (LOCK) functions, so product commercialization can be completed quickly, and the program can be changed multiple times (product upgrade) without wasting IC or circuit board, greatly improving product quality and competitiveness.
(8) Why choose AVR microcontroller? AVR has a built-in analog comparator, and its I/O port can be used for A/D conversion, so it can form a cheap A/D converter.
(9) Why choose AVR microcontroller? It can be reset. The AVR series has an internal power switch to start the counter, and the low-level reset (/RESET) can be directly connected to the Vcc terminal. When the power is turned on, the MCU can delay the start of the program execution due to the use of the internal RC watchdog timer. This delay allows the I/O port to stabilize before executing the program, thereby improving the reliability of the microcontroller. Some also have an internal reset voltage detection
circuit BOD, and the detection voltage is adjustable.
(10) Why choose AVR microcontroller? It has power saving function (POWER DOWN) and low power consumption function (IDLE). The general power consumption is 1-2.5mA, and the typical power consumption is 100nA when WDT is turned off.
(11) Why choose AVR microcontroller? Like 8051, it has multiple fixed interrupt vector entry addresses and can respond to interrupts quickly. However, PIC has only one interrupt entry and needs to query before responding to interrupts, which loses the best response time.
(12) Why choose AVR microcontrollers? Some AVR devices such as AT90S1200/2343/ATtiny15 have an internal RC oscillator with an operating frequency of -1MHz, which allows this type of microcontroller to work without any external components. It is just a single chip, which is simple and convenient, and is even better for use as an encryption device.
(13) Why choose AVR microcontroller? Counter/timer, C/T has 8-bit and 16-bit, which can be used as comparator; counter external interrupt and PWM (can also be used as D/A) are used to control output, and some have 3-4 PWM, which is an ideal device for stepless speed regulation of motor.
(14) Why choose AVR microcontroller? It has a serial asynchronous communication UART interface, does not occupy the timer and SPI transmission function, and can work at a general standard integer frequency due to its high speed, and the baud rate can reach 576K.
(15) Why choose AVR microcontroller? AT90S4414/AT90S8515 has expandable external data memory up to 64KB. Their pin arrangement and functions are similar to 8051, and they can replace the application system of 8051 series microcontroller (8751 or 8752). The only difference is the reset level, which only requires swapping the reset resistor and capacitor position. Many new functions are also added, such as WDT, A/D, PWM, etc.
(16) Why choose AVR microcontroller? The operating voltage range is wide (2.7~6.0V) and the power supply has strong anti-interference ability. AT90LXX is a low voltage device (2.7~6.0V), AT90SXX voltage is (4.0~6.0V), and the lowest device ATtiny12 has a voltage range of 1.8V~5.5V.
(17) Why choose AVR microcontroller? AT90S4434/8535 has 8-channel 10-bit A/D; AT90S2333/4433 has 6-channel 10-bit A/D; the more powerful ATmega103/128 has 128KB Flash, 4KB EEPROM, 4KB RAM, 48 I/O ports, 16 interrupt sources, 8 external interrupts, SPI, UART, 8-channel 10-bit A/D, ISP.
(18) Why choose AVR microcontroller? It has a large capacity EEPROM that can be erased and written 100,000 times, which makes it convenient to save data after power failure. After power is restored, it can remember the working state when power is off. EEPROM (64B~4KB).
(19) Why choose AVR microcontroller? The new high-end AVR ATmega16/32/64/128 also has JTAG boundary scan, simulation, and programming functions, which will not cause the previous phenomenon of passing simulation but failing offline.
(20) Why choose AVR microcontroller? AVR microprocessor---can program itself. ATmega161 is designed for ease of use
– No external devices are required to write new code
– Small sectors: 128 bytes
– Boot area is variable
– Read-While-Write technology
– Reduce programming time
– Hardware-controlled programming method
– Opens the door to a new world
– Programming through any interface (parallel programmer, ISP, JTGA, UART, self-programming) – No external devices are required for repeated programming
– 100% secure remote encrypted update method
(21) Why choose AVR microcontroller? From the high-level language C code, look at the performance comparison of various microcontrollers: Take a small C function as an example:
/* Return the maximum value of a table of 16 integers */
; Return the maximum value of a table of 16 integers
int max(int *array); array *array
{
char a;
int maximum=-32768; maximum=-32768
for (a=0;a<16;a++)
if (array[a]>maximum)
maximum=array[a];
return (maximum); return
}
Performance comparison:
AT90S8515 8 MHz
80C51 24 MHz
68HC11A8 12 MHz
PIC16C74 20 MHz
Compilation results Conclusion:
8 MHz AVR ——224 MHz 80C51
HC11: High code efficiency, but the processing power is only 1/10 of AVR, and the power consumption is 2.5 times higher
PIC is faster, but the performance of AVR is 3.5 times higher at the same power consumption
(22) Why choose AVR microcontroller? AVR uses many powerful high-level languages.
● IAR AVR C compiler is designed synchronously with AVR, supports C and EC++, and the Demo version only generates debug files.
● ICC AVR C compiler supports devices without SRAM; adds group software modules; Icc Demo version is the full version for 30 days, and after 30 days it will be converted to a limited 2KB version.
● Code Vision AVR C compiler has a group software module, and the Demo version is limited to 2KB version.
● GNU C compiler is a free version of the User Alliance, and the upgrade is slow
. ● BASCOM-AVR Demo version is limited to 2KB version.
(23) Why choose AVR microcontroller? AVR has various grades of development tools
Evaluation tools
– AVR Studio
– STK500
– GNU GCC compiler High performance development tools
– AVR Studio
– STK500
– ICE10 / ICE30/ICE200
– IAR C
Low cost development tools –
AVR Studio –
ICE200 / JTAGICE
– Imagecraft C
- This site develops AVR mega16/32 learning development board
(24) Why choose AVR microcontroller? With the AVR foundation, we learn FPSLIC (=AVR+FPGA+SRAM), which enables my country's microcontroller development to enter chip-level development.
Previous article:Design of electronic station sign system based on power line carrier and RFID
Next article:Development of three-phase thyristor trigger circuit based on AVR microcontroller
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Understanding Electromagnetic Radiation
- [Me and Yatli] + When a door closes outside, a new door opens here!
- Technological innovation promotes outdoor diagnosis and treatment
- We see that body fat detection, high-frequency radio frequency circuits, or ultrasonic detection all use sine waves instead of triangle waves,...
- MY-R16-EK166 FAQ Reference Manual
- 【XMC4800 Relax EtherCAT Kit Review】+Detailed tutorial for new DAVE projects
- WiFi 6 and “CHIP” will promote the popularization of the Internet of Things
- Ask a question about impedance testing
- Solution to the failure of IAR programming MSP430
- [Evaluation of EC-01F-Kit, the NB-IoT development board of Essence] 03. Discussion: Frequent disconnection after the device is connected to the network