**To download the Atmega328p datasheet, click here ATmega328p-based Microcontroller boards:Īdafruit METRO 328 – Adafruit METRO 328 is quite a user-friendly microcontroller. The atmega328p datasheet contains all the information you need to get started with it. $48.99 Buy Now Atmega328p Specifications Program Memory Type Flash Program Memory Size (KB) 32 CPU Speed (MIPS/DMIPS) 20 SRAM (B) 2,048 Data EEPROM/HEF (bytes) 1024 Digital Communication Peripherals 1-UART, 2-SPI, 1-I2C Capture/Compare/PWM Peripherals 1 Input Capture, 1 CCP, 6PWM Timers 2 x 8-bit, 1 x 16-bit Number of Comparators 1 Temperature Range (☌) -40 to 85 Operating Voltage Range (V) 1.8 to 5.5 Pin Count 32 Low Power Yes ATmega328p Specs Table This pin is also used as a serial interface clock line. 28 PC5 Analog Input Analog input digital value (channel 5). This pin can also be used as a serial interface connection for data. 20 AVcc Positive Voltage Positive voltage for ADC (power) 21 AREF Analog Reference Analog Reference voltage for ADC (Analog to Digital Converter) 22 GND Ground The Ground of the system 23 PC0 Analog Input Analog input digital value (channel 0) 24 PC1 Analog Input Analog input digital value (channel 1) 25 PC2 Analog Input Analog input digital value (channel 2) 26 PC3 Analog Input Analog input digital value (channel 3) 27 PC4 Analog Input Analog input digital value (channel 4). 19 PB5 Digital Pin This pin act as a master clock output and slave clock input for SPI. 18 PB4 Digital Pin This pin act as a master clock input and slave clock output. 17 PB3 Digital Pin (PWM) This pin is used as a master data output and slave data input for the SPI interface. 16 PB2 Digital Pin (PWM) This pin acts as a slave choice i/p. 8 GND Ground The Ground of the system 9 XTAL Crystal Oscillator This pin should be connected to one pin of the crystal oscillator to provide an external clock pulse to the chip 10 XTAL Crystal Oscillator This pin should also be connected to the other pin of the crystal oscillator to provide an external clock pulse to the chip 11 PD5 Digital Pin (PWM) Pin 11 is used for external counter source Timer1 12 PD6 Digital Pin (PWM) Positive Analog Comparator i/ps 13 PD7 Digital Pin Negative Analog Comparator i/ps 14 PB0 Digital Pin Counter or Timer input source pin 15 PB1 Digital Pin (PWM) Counter or Timer compare match A. 2 PD0 Digital Pin (RX) This is the input pin for serial communication 3 PD1 Digital Pin (TX) This is the output pin for serial communication 4 PD2 Digital Pin It is used as an external interrupt 0 5 PD3 Digital Pin (PWM) It is used as an external interrupt 1 6 PD4 Digital Pin It is used for external counter source Timer0 7 Vcc Positive Voltage Positive supply of the system. Pin Name Pin Function Pin Function Description 1 PC6 Reset This pin helps to reset the microcontroller. You can un-do the cut later if needed, by connecting the two VCC pins together.ATmega328P pinout Pin No. In my low-power projects I disconnect these components by cutting a trace on the PCB as shown below. Note that the ProMini's voltage regulator and power LED draw about 1mA. It could save you messing around with modified bootloaders. 7 mA barrier? - #31 by tim7 - Microcontrollers - Arduino Forum, and I'm also going to reference Nick Gammon yet again: Gammon Forum : Electronics : Microprocessors : Power saving techniques for microprocessors. I wrote some example code which you can find here: Breaking the. The microcontroller can be put to sleep for a set period of time, during which the power draw is just a few uA. I don't remember the details of changing the binary in Nick's Atmega_Board_Programmer sketch, except that the code was very clear.īy the way, if your only goal is to reduce power consumption then take a look at the ATmega power-saving modes. Nick Gammon has (again) a suitable sketch and detailed instructions: Gammon Forum : Electronics : Microprocessors : Sketch to detect Atmega chip types I'd suggest testing ICSP communication to the ProMini first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |