24 reasons why you should choose AVR microcontroller

Publisher:stampieLatest update time:2013-12-13 Source: eefocusKeywords:AVR Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
  (1) Why choose AVR microcontroller? Flash program memory can be erased and written more than 1,000 times, and no scrapped products are produced. Some PICs are OTP and can only be burned once. AVR program memory data is organized as 16 bits, and can also be understood as 8 bits. PIC is a 12/14-bit program memory, which brings inconvenience to register transfer and arithmetic and logical operations.

  (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.

Keywords:AVR Reference address:24 reasons why you should choose AVR microcontroller

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

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号