Electronic Components Datasheet Search
  English  ▼

X  

AVR4013 Datasheet(PDF) 2 Page - ATMEL Corporation

Part # AVR4013
Description  Sleep modes PRR registers Oscillator calibration USART
PDF  7 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR4013 Datasheet(HTML) 2 Page - ATMEL Corporation

  AVR4013 Datasheet HTML 1Page - ATMEL Corporation AVR4013 Datasheet HTML 2Page - ATMEL Corporation AVR4013 Datasheet HTML 3Page - ATMEL Corporation AVR4013 Datasheet HTML 4Page - ATMEL Corporation AVR4013 Datasheet HTML 5Page - ATMEL Corporation AVR4013 Datasheet HTML 6Page - ATMEL Corporation AVR4013 Datasheet HTML 7Page - ATMEL Corporation  
Zoom Inzoom in Zoom Outzoom out
 2 / 7 page
background image
2
AVR4013
8349A-AVR-11/10
2 Schematics
C1
DC
TOSC1
TOSC2
TX
9
10
3
VCC
GND
ATMega88PA
32kHz
UART
R1
0010010101110….
Figure 2-1. picoPower demonstration schematics
From Figure 2-1 we can see that the demonstration circuit is quite simple. We have a
DC source set at 5.5V, which is used to charge the capacitor when the switch is
pushed. When the switch is released, the ATmega88PA will run off the energy stored
in the capacitor, C1. The main clock source for the device is the internal RC oscillator.
Timer 2 is connected to an external crystal and will work in asynchronous mode to be
able to function in some of the sleep modes which we will make use of in the
demonstration.
3 The code
The code is meant to simulate a sensor device that transmits data once a second.
After the initialization (which will differ with each optimization method), the code will
enter an infinite loop.
This loop is separated into stages:
ADC conversion
Simulated 1000 cycles of processing
Convert number in to ASCII string
Send data over UART (More oomph to your amps, picoPower! [iteration nr])
Repeat
The loop will start by doing one ADC conversion to simulate data gathering from
some analog device. Then the device will enter a function that simulates 1000 cycles
of data processing. In many applications, converting a number to its ASCII
representation is preferred, and so we convert the iteration count of the loop to ASCII.
Finally, we send the string “More oomph to your amps, picoPower! [iteration count]”
over the UART. Then the loop repeats.



Html Pages

1 2 3 4 5 6 7


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com