The Arduino Pro Mini is one of the smallest boards in the Arduino family and can be used in off-the-shelf projects. Designed and manufactured by SparkFun Electronics. Built on the ATmega168 microcontroller, and later a board based on the ATmega328 microcontroller was released. The platform contains 14 digital inputs and outputs (6 of which can be used as PWM outputs), 6 analog inputs, a resonator, a reset button and holes for pin wiring. The six-pin block can be connected to an FTDI cable or Sparkfun converter board to provide power and USB communications. Arduino Pro Mini is an Arduino Nano without built-in FTDI FT232RL (or CH340G ) converter .
There are two versions of the Pro Mini platform. One version operates at 3.3 V and 8 MHz, the other at 5 V and 16 MHz.
The board comes without soldered connectors. This makes it possible to choose your own way of connecting the board: to solder the connectors or to make the connection by soldering the wires.
Arduino Pro Mini Specifications
Arduino Pro Mini ATmega168 3.3V / 8MHz 5V / 16MHz
Microcontroller | ATmega168PA |
Working voltage | 3.3V or 5V (depending on model) |
Supply voltage (recommended) | 3.35-12V (3.3V model) or 5-12V (5V model) |
Supply voltage (limit) | 3.35-20V |
Digital I / O | 14 (6 of which can be used as PWM outputs) |
Analog inputs | 6 |
PWM pins | 6 |
Constant current through input / output | 40 mA |
Maximum output current of output 3.3V | 50 mA |
Flash memory | 16 KB of which 2 KB used by bootloader |
SRAM | 1 Kb |
EEPROM | 512 bytes |
Clock frequency | 8 MHz (3.3V model) or 16 MHz (5V model) |
Built-in LED | thirteen |
Length | 33.0 mm |
Width | 18.0 mm |
Weight | 5 g |
Schematic diagram
Arduino Pro Mini ATmega328 3.3V / 8MHz 5V / 16MHz
Microcontroller | ATmega328P |
Working voltage | 3.3V or 5V (depending on model) |
Supply voltage (recommended) | 3.35-12V (3.3V model) or 5-12V (5V model) |
Supply voltage (limit) | 3.35-20V |
Digital I / O | 14 (6 of which can be used as PWM outputs) |
Analog inputs | 6 |
PWM pins | 6 |
Constant current through input / output | 40 mA |
Maximum output current of output 3.3V | 50 mA |
Flash memory | 32 KB of which 2 KB used by bootloader |
SRAM | 2 Kb |
EEPROM | 1 Kb |
Clock frequency | 8 MHz (3.3V model) or 16 MHz (5V model) |
Built-in LED | thirteen |
Length | 33.0 mm |
Width | 18.0 mm |
Weight | 5 g |
Schematic diagram
Arduino Pro Mini pinout
Each of the 14 digital outputs Pro, using the function pinMode()
, digitalWrite()
and digitalRead()
may be configured as input or output. The pins operate at 3.3 V. Each pin has a pull-up resistor (disabled by default) of 20-50 kOhm and can pass up to 40 mA. Some pins have special functions:
- Serial bus : 0 (RX) and 1 (TX). The pins are used to receive (RX) and transmit (TX) TTL data. These pins are connected to the TX-0 and RX-1 pins of the six-pin block.
- External interrupt : 2 and 3. These pins can be configured to trigger an interrupt on either the lowest value, or on the rising or falling edge, or when the value changes. See the function description for details
attachInterrupt()
. - PWM : 3, 5, 6, 9, 10, and 11. Any of the pins provides PWM with a resolution of 8 bits using
функцииanalogWrite()
. - SPI : 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins are used for SPI communication, which, although supported by the hardware, is not included in the Arduino language.
- LED : 13. Built-in LED connected to digital pin 13. If the pin has a high potential, the LED is on.
The Pro Mini platform has 6 analog inputs, each with a resolution of 10 bits (i.e., it can accept 1024 different values). Four of them are located at the edge of the platform, while the other two (entrances 4 and 5) are closer to the center. The measurement is relative to ground to the VCC value. Some pins have additional functions:
- I2C : A4 (SDA) and A5 (SCL). The pins provide I2C (TWI) communication using the Wire library.
There is additional output on the platform:
- Reset . A low signal level at the pin reboots the microcontroller. Usually used to connect a reset button on an expansion board, which prevents access to the button on the Arduino board itself.
Board power
The Arduino Pro Mini can be powered via an FTDI FT232RL (or CH340G) cable, or from a converter board, or from a 3.3V or 5V regulated power supply (platform dependent) via the Vcc pin, or from an unregulated source via the RAW pin.
Power pins
- RAW . For connecting unregulated voltage.
- VCC . To connect regulated 3.3V or 5V.
- GND . Grounding terminals.
Connecting Arduino Pro Mini Board
A special FTDI FT232RL (or CH340G ) cable containing a USB-USART interface converter is used to connect to a computer . The microcontroller contains a USART interface, its RX and TX signals are brought out to the end of the board. A special cable connects to these inputs of the Arduino Pro Mini, as well as the VCC and GND pins. In this case, 5 V power is supplied to the module from a personal computer. There are connectors that also have a very important DTR pin. The signal on this contact automatically generates a reset signal before updating the program in the MC. Without clearing at the right time at the start of program recording, you cannot record a new program. Consider the order in which the contacts are connected. The correct USART connection is performed according to the following scheme:
/ *
DTR <------------------> DTR
TXD <------------------> RXD
RXD <------------------> TXD
VCC <------------------> VCC
GND NOT CONNECTED CTS
GND <------------------> GND
* /
Selecting a board and port in the IDE
Open Arduino IDE. Arduino Pro or Pro Mini is selected from the Tools> Board menu . Select the microcontroller your board is based on: ATmega328P (5V, 16MHz), ATmega328P (3.3V, 8MHz), ATmega128 (5V, 16MHz), ATmega168 (3.3V, 8MHz). Select the board's serial port from the Tools> Port menu . Most likely, this is COM3 or higher (in my case, this is COM5). If you have a CH340G converter, then it is better to use the Arduino as ISP programmer .
Social Plugin