Phone

    00852-6915 1330

ATMEGA1284 Microcontroller: Arduino, Pinout, Datasheet [Video&FAQ]

  • Contents

Product Overview

The Atmel® ATmega1284 is a low-power CMOS 8-bit microcontroller based on the AVR® enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega1284 achieves throughputs close to 1MIPS per MHz. This empowers system designer to optimize the device for power consumption versus processing speed.

 

This blog will introduce ATmega1284 systematically from its features, pinout to its specifications, applications, also including ATMEGA1284 VS ATmega1284P and so much more.

 

Catalog

Product Overview

Programming ATMEGA1284 Using Arduino Libraries

ATMEGA1284 Pinout

ATMEGA1284 Features

ATMEGA1284 Block Diagram

ATMEGA1284 Specification

ATMEGA1284 VS ATmega1284P

ATMEGA1284 Manufacturer

ATMEGA1284 Datasheet

Using Warnings

ATMEGA1284 FAQ

 

Programming ATMEGA1284 Using Arduino Libraries

 

Programming ATMEGA644 or 1284 using arduino libraries in Atmel Studio 7

 

ATMEGA1284 Pinout

The following figure is the diagram of ATmega1284 pinout.

 

ATmega1284 Pinout

ATmega1284 Pinout

 

ATMEGA1284 Features

High Performance, Low Power Atmel®AVR® 8-Bit Microcontroller Family

  • Advanced RISC Architecture

– 131 Powerful Instructions

– Most Single Clock Cycle Execution

– 32 x 8 General Purpose Working Registers

– Fully Static Operation

– Up to 20 MIPS Throughput at 20MHz

– On-chip 2-cycle Multiplier

  • High Endurance Non-volatile Memory Segments

– 128KBytes of In-System Self-Programmable Flash Program

Memory

– 4KBytes EEPROM

– 16KBytes Internal SRAM

– Write/Erase Cycles: 10,000 Flash/100,000 EEPROM

– Data Retention: 20 Years at 85°C/100 Years at 25°C(1)

– Optional Boot Code Section with Independent Lock Bits

  • In-System Programming by On-chip Boot Program
  • True Read-While-Write Operation

– Programming Lock for Software Security

  • Atmel QTouch® Library Support

– Capacitive Touch Buttons, Sliders and Wheels

– QTouch and QMatrix acquisition

– Up to 64 Sense Channels

  • JTAG (IEEE std. 1149.1 Compliant) Interface

– Boundary-scan Capabilities According to the JTAG Standard

– Extensive On-chip Debug Support

– Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG Interface

  • Peripheral Features

– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode

– Two 16-bit Timer/Counters with Separate Prescaler, Compare Mode, and Capture Mode

– Real Time Counter with Separate Oscillator

– Eight PWM Channels

– 8-channel 10-bit ADC

  • Differential Mode with Selectable Gain at 1×, 10× or 200×

– One Byte-oriented 2-wire Serial Interface (Philips I2C compatible)

– Two Programmable Serial USART

– One Master/Slave SPI Serial Interface

– Programmable Watchdog Timer with Separate On-chip Oscillator

– On-chip Analog Comparator

– Interrupt and Wake-up on Pin Change

  • Special Microcontroller Features

– Power-on Reset and Programmable Brown-out Detection

– Internal Calibrated RC Oscillator

– External and Internal Interrupt Sources

– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby, and

Extended Standby

  • I/O and Packages

– 32 Programmable I/O Lines

– 40-pin PDIP

– 44-lead TQFP

– 44-pad VQFN/QFN

  • Operating Voltage:

– 1.8 - 5.5V

  • Speed Grades

– 0 - 4MHz @ 1.8V - 5.5V

– 0 - 10MHz @ 2.7V - 5.5V

– 0 - 20MHz @ 4.5 - 5.5V

  • Power Consumption at 1MHz, 1.8V, 25°C

– Active Mode: 0.4mA

– Power-down Mode: 0.1μA

– Power-save Mode: 0.6μA (Including 32kHz RTC)

 

ATMEGA1284 Block Diagram

The following figure shows the block diagram of ATMEGA1284

 

ATMEGA1284 Block Diagram

ATMEGA1284 Block Diagram

 

ATMEGA1284 Specification

Max ADC Resolution (bits) 10
Program Memory Size (KB) 128
Capture/Compare/PWM (CCP) 1
Number of Comparators 1
CPU Speed (MIPS/DMIPS) 20
Data EEPROM (bytes) 4096
DigitalTimerQty_16bit 2
Max 8 Bit Digital Timers 2
Ethernet None
I2C 1
Program Memory Type Flash
mtrlcntrlinputcapture 1
ADC Channels 8
Low Power No
Operating Voltage 1.8 - 5.5
outputcomparatorPWM 6
Pin Count 44
SPI 3
Temp Range (°C) -125
USART 2

 

ATMEGA1284 VS ATmega1284P

  ATMEGA1284 ATmega1284P
DigitalTimerQty_16bit 2 2
Max 8 Bit Digital Timers 2 2
Ethernet None None
I2C 1 1
Program Memory Type Flash Flash
mtrlcntrlinputcapture 1 1
ADC Channels 8 8
Low Power No Yes
Operating Voltage 1.8 - 5.5 1.8 - 5.5
outputcomparatorPWM 6 6
Pin Count 44 44
SPI 3 3
Temp Range (°C) -125 -125
USART 10 2

 

ATMEGA1284 Manufacturer

Microchip Technology Incorporated is a leading provider of smart, connected and secure embedded control solutions. Its easy-to-use development tools and comprehensive product portfolio enable customers to create optimal designs, which reduce risk while lowering total system cost and time to market. The company's solutions serve more than 120,000 customers across the industrial, automotive, consumer, aerospace and defense, communications and computing markets. Microchip offers outstanding technical support along with dependable delivery and quality.

 

ATMEGA1284 Datasheet

You can download this datasheet for ATMEGA1284–Datasheet from the link given below:

ATMEGA1284 Datasheet

 

Using Warnings

Note: Please check their parameters and pin configuration before replacing them in your circuit.

 

ATMEGA1284 FAQ

What kind of microcontroller is ATMEGA1284P based on?

The ATmega1284P is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega1284P achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.

 

How does noise reduction mode work in ATmega128?

The ADC Noise Reduction mode plays a vital role in minimizing the switching noise and freezes entire module except asynchronous ADC and Timers. In the Power-save mode, the entire device is sleeping except asynchronous timer which continues to run.

 

Which is better ATmega2560 or atmega1284?

The ATmega1284 is a desirable chip to work with: it provides a generous 128 Kbytes of flash memory, 4 Kbytes of EEPROM, and 16 Kbytes RAM, twice as much RAM as the ATmega2560. It also has the advantage that it's available in a DIP package, so it fits on a prototyping board and is easy to wire up, and is nearly half the price of the ATmega2560.

 

How to upload a program on an atmega1284?

Select the ATmega1284 @ 1 MHz (internal oscillator; BOD disabled) option on the Boards menu which is the default fuse setting on new ATmega1284s. Then upload the program using the Tiny AVR Programmer Board (see ATtiny-Based Beginner's Kit ): Connecting the Tiny AVR Programmer Board to an ATmega1284 for ISP programming.

 

Which is the default fuse setting on atmega1284?

Here's a Blink program for use with the empty core, using an LED connected via a 220Ω resistor to digital I/O pin PD5 (pin 19): Select the ATmega1284 @ 1 MHz (internal oscillator; BOD disabled) option on the Boards menu which is the default fuse setting on new ATmega1284s.

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Join our mailing list!

Be the first to know about new products, special offers, and more.

Leave a Reply

We'd love to hear from you! Feel free to share your thoughts and comments below. Rest assured, your email address will remain private.

Name *
Email *
Captcha *
Rating:

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication