Sunday 14 August 2016

Arduino Pro Micro

Introduction

The Pro Micro is similar to the Pro Mini except with an ATmega32U4 on board.Like Pro mini,the Pro micro also comes in two different models i.e, 3.3v and 5v.The Pro micro 3.3v model has 8MHz crystal oscillator in its board whereas the Pro micro 5v model has 16MHz oscillator which differentiate them.
Arduino Pro Micro
Also notice the backside of board in which the model number is marked either 5v or 3.3v.If both of this signs are failed,check the jumper(J1) at the top left corner of the board which is closed for 5V and open for 3.3V.

Technical Specifications

  1. Microcontroller - ATmega32U4
  2. Operating Voltage - 3.3V or 5V (depending on model)
  3. Input Voltage - 3.35 -12 V (3.3V model) or 5 - 12 V (5V model)
  4. Digital I/O Pins - 20 (of which 7 provide PWM output)
  5. Analog Input Pins - 12
  6. Flash Memory - 32 kB
  7. SRAM - 2.5 kB
  8. EEPROM - 1 kB
  9. Clock Speed - 8 MHz (3.3V model) or 16 MHz (5V model)

Arduino Pro Micro Pinouts

MICROPIN.jpg
  • There are no digital input pins 11,12,13 and 17 available on the controller board.
  • Digital pin 2 is SDA and Digital pin 3 is SCL which supports I2C communication.
  • Digital pin 16 is MOSI,15 is MISO and 14 is SCLK (or SCK) supports SPI communication.
  • The AREF input does not exist on the board.
  • The Analog pins(A0,A1,A2,A3) can also be configured as digital pins(D18,D19,D20,D21).
  • The Tilt sign(~) represents the PWM pin.

How to program Pro Micro?

Hardware and Software Required

  • Arduino Pro Micro(5v model used here)
  • Arduino IDE 1.0.6V

Program for Arduino Pro Micro

Like other Arduino,the Pro micro has no on board led.So we need to connect a led externally to the Pro micro board.Before uploading code to the board,select the board under tools menu as Arduino Micro.
void setup() 
{
pinMode(2, OUTPUT);// initialize digital pin 2 as an output.
}
void loop()// the loop function runs over and over again forever
{
digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(2, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

No comments:

Post a Comment