Archive for the 'AVR' Category

ATMega328

ATMega328 – 28 Pin 20MHz 32K 6A/D

Atmel’s ATMega328 8-Bit Processor in 28 pin DIP package. It’s like the ATmega168, with double the flash space. 32K of program space. 23 I/O lines, 6 of which are channels for the 10-bit ADC. Runs up to 20MHz with external crystal. Package can be programmed in circuit. 1.8V to 5V operating voltage!

ATmega328p

ATtiny2313

ATtiny2313 – 20 Pin 20MHz 2K

Atmel’s ATtiny2313 8-Bit Processor. 2K of program space and 15 I/O lines. UART compatible pins. Runs up to 20MHz with external crystal. Package can be programmed in circuit.

ATtiny2313

ATtiny13

ATtiny13 – 8 Pin 10MHz 2K 4A/D

Atmel’s itty-bitty ATtiny13 8-Bit Processor. 1K of program space, 6 I/O lines, and 4-channel 10 bit ADC. Runs up to 20MHz with external crystal. Package can be programmed in circuit.
2.7v – 5.5v

ATtiny13

AVR Overview

Comparison

Chip Flash EEPROM SRAM Vcc Default Speed IO Pins ADC UART SPI Avg
Price
tiny13 1K 64 64 2.7 – 5.5 9.6Mhz/8 6 4 No No 1.40
tiny25
2K 128 128 2.7 – 5.5 8Mhz/8 6 4 No USI 1.66
tiny45
4K 256 256 2.7 – 5.5 8Mhz/8 6 4 No USI 2.13
tiny85
8K 512 512 2.7 – 5.5 8Mhz/8 6 4 No USI 2.84
tiny2313 2K 128 128 2.7 – 5.5 8Mhz/8 18 0 Yes USI 2.26
mega8 8K 512 1K 4.5 – 5.5 1Mhz 23 6 Yes Yes 3.66
mega48p 4K 256 512 2.7 – 5.5 8Mhz/8 23 6 Yes Yes 2.58
mega88p
8K 512 1K 2.7 – 5.5 8Mhz/8 23 6 Yes Yes 3.87
mega168p
16K 512 1K 2.7 – 5.5 8Mhz/8 23 6 Yes Yes 4.11
mega328p 32K 1K 2K 1.8 – 5.5 8Mhz/8 23 6 Yes Yes 4.30
mega644 64K 2K 4K 2.7 – 5.5 8Mhz/8 32 8 Yes Yes 7.87

AVRs are generally classified into four broad groups:

  • tinyAVR — the ATtiny series
    • 1–8 kB program memory
    • 8–32-pin package
    • Limited peripheral set
  • megaAVR — the ATmega series
    • 4–256 kB program memory
    • 28–100-pin package
    • Extended instruction set (Multiply instructions and instructions for handling larger program memories)
    • Extensive peripheral set
  • XMEGA — the ATxmega series
    • 16–384 kB program memory
    • 44–64–100-pin package (A4, A3, A1)
    • Extended performance features, such as DMA, “Event System”, and cryptography support.
    • Extensive peripheral set with DACs
  • Application specific AVR
    • megaAVRs with special features not found on the other members of the AVR family, such as LCD controller, USB controller, advanced PWM, CAN etc.
    • FPSLIC (Field Programmable System Level Integrated Circuit), an AVR core on-die with an FPGA. The FPSLIC uses SRAM for the AVR program code, unlike all other AVRs. Partly due to the relative speed difference between SRAM and flash, the AVR core in the FPSLIC can run at up to 50MHz.

Programmers

Target boards : Minimalist target boards

430 mix
360 50% tin


Links

AVR datasheets from AVRfreaks.net
AVR datasheets from Atmel.com (Tiny/Mega)
Purchase link from SparkFun.com
AVR Fuse Calculator
http://cm-wiki.stanford.edu/wiki/AVR_Programming
Instructables – Microcontrollers Projects