ATMEGA1284P-XPLD Atmel, ATMEGA1284P-XPLD Datasheet - Page 10

no-image

ATMEGA1284P-XPLD

Manufacturer Part Number
ATMEGA1284P-XPLD
Description
Development Boards & Kits - AVR MEGA-1284P Xplained Evaluation kit
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA1284P-XPLD

Rohs
yes
Product
Evaluation Kits
Tool Is For Evaluation Of
ATmega1284P, AT32UC3B1256
Core
AVR32
Interface Type
USB
Operating Supply Voltage
5 V
Data Bus Width
32 bit
Factory Pack Quantity
1
6 Miscellaneous I/O
6.1 Mechanical buttons
6.2 LEDs
6.3 Analog I/O
6.4 Touch
10
AVR364
The board is equipped with three mechanical buttons. The buttons (SW0:2) are
shared with LED0, LED2, and LED3. Onboard protection circuitry is added to avoid a
short when driving the port high at the same time as pushing the button, which will
short it to the ground. To be able to use both button and LED, time multiplexing has to
be used.
To be able to detect a button press, the firmware has to periodically set the I/O pin to
input with pull-up and check if it is low. When doing this fast enough, the human eye
will not see any change in the LED.
The Atmel MEGA-1284P Xplained has four standard yellow LEDs mounted onboard,
which are connected to the
LED0, LED2, and LED3 are shared with the three mechanical buttons (SW0:2). When
turning an LED on, set the I/O pin to output low. When turning an LED off, set the I/O
pin as input with pull-up. The protection circuitry added to the button will make the
LED shine brighter when the button is pressed and the LED is turned on. When the
LED is off, any button press will light up the LED.
The Atmel MEGA-1284P Xplained also has one dual LED mounted near the USB
connector. This is the power and status LED, which is connected to the board
controller. This LED will be green when power is applied, and will toggle between
green and orange when communication over USB is ongoing.
An RC filter, a light sensor, and an NTC are connected to ADC5, ADC6, and ADC7,
respectively. These analog sources can be used as input to the ADC. All of the
analog signals can be disconnected by cutting the cut-straps on the bottom side of
the board.
The RC filter (first-order low-pass) has an approximate 3dB cut-off frequency of
159Hz. The input to the RC filter is GPIO5 (PD5) on the ATmega1284P, which can be
configured to output a PWM signal to the RC filter. This can be used to generate a
DC voltage on the output of the RC filter, which can be measured on the ADC5 pin.
As this is a first-order filter, the ripple on the DC voltage is inversely proportional to
the input frequency. A higher input frequency will result in lower ripple on the output.
The MEGA-1284P XPLAINED kit has one Atmel QTouch button, QTB0.
Table 6-1. MEGA-1284P Xplained touch connections.
Touch sensor onboard
reference
QTB0
QTB0
Atmel
QTouch method pin name
SNSK0
SNS0
ATmega1284P. The four LEDs are active low.
ATmega1284P pin
PD7
PD6
8377B-AVR-11/11

Related parts for ATMEGA1284P-XPLD