30
3.1.2.5 Microcontroller ATMega32
There are numerous choices for microcontrollers. In this project,
microcontrollers ATMega32 series made by Atmel were chosen. The Atmel chips can be
easily programmed. User can write code in the higher level C, instead of assembly
language. The ATMega32 series have more Pulse-width modulation (PWM) channels,
memory, Analog Digital Converters (ADC) channels, and Input-Output (I/O) lines than
most other chips. The ATMega32 has 16 Million Instruction per second (MIPS) of
processing power and 32 KB of flash. It has 4 PWM channels sufficient for us since user
only needed one for the main motor controller.
Besides that, ATMega32 including in AVR family. AVR family has a GCC
based IDE that is free for the whole range of their processors. From smallest to biggest,
one code to rule them all. AVR is an 8-bit CPU and on the same clock it is 4 times faster
than 8-bit PIC and 12 times faster than 8051. ARM is 32-bit, more powerful and much
more power hungry. It will eat battery quickly while AVR will run for weeks or months.
They are not in the same range, and not used for the same tasks. It would be like
comparing 4GHz quad core biennium PC to small ARM that runs your mobile phone
[6].
Kommentare zu diesen Handbüchern