Main.ArduinoBoardProMini History

Hide minor edits - Show changes to markup

June 05, 2010, at 04:23 PM by Equipo Traduccion -
Changed lines 93-94 from:

También se puede prescindir del gestor de arranque y cargar los sketches en el ATmega168 con un programador externo, para ello ver estas instrucciones para más detalles.

to:

También se puede prescindir del gestor de arranque y cargar los sketches en el ATmega168 con un programador externo, para ello ver estas instrucciones más detalladas.

June 05, 2010, at 04:19 PM by Equipo Traduccion -
Changed lines 99-102 from:

Esta configuración tiene otras implicaciones. Cuando una Mini Pro se conecta a un ordenador por el que corre un MAC OS X o un Linux, esta se resetea cada vez que se establece la conexión por USB. Durante el siguiente medio segundo el gestor de arranque se ejecuta en la Pro.

  While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened.  If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.
to:

Esta configuración tiene otras implicaciones. Cuando una Mini Pro se conecta a un ordenador por el que corre un MAC OS X o un Linux, esta se resetea cada vez que se establece la conexión por USB. Durante el siguiente medio segundo el gestor de arranque se ejecuta en la Pro, mientras que ha sido programado para ignorar datos nulos (por ejemplo cualquier cosa durante la carga de un nuevo sketch). Este interceptará los primeros bytes de datos enviados a la placa después de que la conexión sea establecida. Si un sketch que se está ejecutando en la placa recibe una configuración de arranque u otros datos cuando se ejecuta por primera vez, asegúrate de que el software con el que se comunica espera un segundo después de abrir la conexión y antes de enviar estos datos.

June 05, 2010, at 04:11 PM by Equipo Traduccion -
Changed lines 93-103 from:

You can also bypass the bootloader and program the ATmega168 with an external programmer; see these instructions for details.

Automatic (Software) Reset

Rather then requiring a physical press of the reset button before an upload, the Arduino Pro Mini is designed in a way that allows it to be reset by software running on a connected computer. One of the pins on the six-pin header is connected to the reset line of the ATmega168 via a 100 nanofarad capacitor. This pin connects to one of the hardware flow control lines of the USB-to-serial convertor connected to the header: RTS when using an FTDI cable, DTR when using the Sparkfun breakout board. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of the reset line can be well-coordinated with the start of the upload.

This setup has other implications. When the Pro Mini is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Pro. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.

Physical Characteristics

The dimensions of the Pro Mini PCB are approximately 0.7" x 1.3".

to:

También se puede prescindir del gestor de arranque y cargar los sketches en el ATmega168 con un programador externo, para ello ver estas instrucciones para más detalles.

Reseteo automático por Software.

En lugar de utilizar el pulsador de reseteo antes de cargar un nuevo sketch la Arduino Mini Pro ha sido diseñada de modo que permite el reseteo automático por el software instalado en nuestro ordenador. Uno de los pines en el conector de 6 pines está conectado con la linea de reseteo del ATmega168 mediante un condensador de 100 nanofaradios. Este pin se conecta a una de las líneas de control de flujo por hardware del convertidor de USB a serie al conector RTS cuando se utiliza un cable FTDI o al conector DTR cuando se usa una placa convertidora de Sparkfun. Cuando esta línea se pone en estado LOW el chip se reinicia. El software de Arduino tiene la capacidad de cargar código en la placa simplemente presionando el botón de "upload" en el Arduino IDE. Esto significa que el gestor de arranque tarda menos tiempo en ejecutarse, pues la linea de reseteo está perfectamente coordinada con el inicio de la descarga.

Esta configuración tiene otras implicaciones. Cuando una Mini Pro se conecta a un ordenador por el que corre un MAC OS X o un Linux, esta se resetea cada vez que se establece la conexión por USB. Durante el siguiente medio segundo el gestor de arranque se ejecuta en la Pro.

  While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened.  If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.

Características físicas.

Las dimensiones de una Mini Pro son aproximadamente 0.18cm por 0.3cm.

June 05, 2010, at 03:41 PM by Equipo Traduccion -
Changed lines 58-89 from:
  • Interrupciones Externas: 2 y 3. Estos pines pueden ser configurados para actuar como disparadores de interrupciones en caso de que cambien a estado bajo, un pico de subida o bajada o simplemente en un cambio de estado. Verla la función attachInterrupt() para más detalles.

  • PWM: 3, 5, 6, 9, 10 y 11. Generan Provide 8-bit PWM output with the analogWrite() function.

  • SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication, which, although provided by the underlying hardware, is not currently included in the Arduino language.

  • LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.

The Pro Mini has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). Four of them are on the headers on the edge of the board; two (inputs 4 and 5) on holes in the interior of the board. The analog inputs measure from ground to VCC. Additionally, some pins have specialized functionality:

  • I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library.

There is another pin on the board:

  • Reset. Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board.

See also the mapping between Arduino pins and ATmega168 ports.

Communication

The Arduino Pro Mini has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega168 provides UART TTL serial communication, which is available on digital pins 0 (RX) and 1 (TX). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board via a USB connection.

A SoftwareSerial library allows for serial communication on any of the Pro Mini's digital pins.

The ATmega168 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the reference for details. To use the SPI communication, please see the ATmega168 datasheet.

Programming

The Arduino Pro Mini can be programmed with the Arduino software (download). For details, see the reference and tutorials.

The ATmega168 on the Arduino Pro Mini comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).

to:
  • Interrupciones Externas: 2 y 3. Estos pines pueden ser configurados para actuar como disparadores de interrupciones en caso de que cambien a estado bajo, un pico de subida o bajada o simplemente en un cambio de estado. Ver la función attachInterrupt() para más detalles.

  • PWM: 3, 5, 6, 9, 10 y 11. Generan una señal PWM de salida con la función analogWrite().

  • SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). Estos pines soportan comunicación SPI, la cual no está, de momento, incluida en el lenguaje de programación de Arduino.

  • LED: 13. Hay un LED integrado en la placa conectado al pin 13. Cuando este pin se pone en estado HIGH el LED se enciende, cuando el pin cambia a estado LOW el LED se apaga.

La Mini Pro tiene 6 entradas anaógigas, cada una tiene una resolución de 10 bits (esto son 1024 valores). Cuatro de ellas estás en el conector lateral de la placa, otras dos ( la 4 y la 5) en agujeros en el interior de la placa. La medida de los valores analógicos se hace entre VCC y GND. Adicionalmente algunos de los pines de entrada analógicos tienen una función especializada:

  • I2C: 4 (SDA) y 5 (SCL). Forman un bus I2C (TWI) para comunicación con otros dispositivos utilizando la librería Wire.

Hay otro pin en la placa:

  • Reset. Cuando este pin se pone en estado LOW resetea el microcontrolador. Normalmente se utiliza cuando el botón de reseteo se hace inaccesible por que el uso de un shield lo oculta.

Puedes ver también la correspondencia de pines entre ATmega168/328 y Arduino.

Comunicación.

La Arduino Mini Pro puede comunicarse con tu ordenador, con otra Arduino o con otros microcontroladores. El ATmega168 tiene implementada comunicación serie UART TTL en sus pines 0 (RX) y 1 (TX). El shoftware de Arduino incluye un monitor serie que permite que datos sencillos puedan ser enviados y recibidos desde la placa por medio de la conexión USB.

La librería SoftwareSerial permite la comunicación Serie en cualquiera de los pines digitales de la Mini Pro.

El ATmega168 también soporta comunicación I2C (TWI) y SPI. El programa Arduino incluye la librería Wire para simplificar el uso del bus I2C, vea la referencia para más detalles. Si se desea utilizar la comunicación SPI hay que echar un vistazo a la hoja de características (datasheet) del ATmega168.

Cargando sketches.

La Arduino Mini Pro puede ser programada con el software Arduino (descarga). Para más detalles ver la página de referencia y los tutoriales.

El ATmega168 en la Arduino Mini Pro viene precargado con un gestor de arranque que nos permite la carga de nuevo código sin el uso de un programador externo. Este se comunica usando el protocolo STKT500 original (referencia, archivos de cabecera en C).

June 05, 2010, at 12:41 PM by Equipo Traduccion -
Changed lines 38-39 from:

La Arduino Mini Pro puede ser alimentada por el cable FTDI o por la placa adaptadora que se conecta esos mismos 6 pines. También se puede alimentar mediante una fuente de alimentanción regulada de 3.3v ó 5v (dependiendo del modelo) por el pin Vcc o por una fuente no redulada conectada al pin RAW.

to:

La Arduino Mini Pro puede ser alimentada por el cable FTDI o por la placa adaptadora que se conecta esos mismos 6 pines. También se puede alimentar mediante una fuente de alimentación regulada de 3.3v ó 5v (dependiendo del modelo) por el pin Vcc o por una fuente no regulada conectada al pin RAW.

Changed lines 50-61 from:

El ATmega168 tiene 16KB de memoria para el almacenamiento de sketches (de los cuales 2KB están reserbados para el gestor de arranque). También tiene 1KB de SRAM y 512 bytes de EEPROM en los cuales se puede leer y escribir mediante la librería EEPROM).

Input and Output

Each of the 14 digital pins on the Pro Mini can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 3.3 or 5 volts (depending on the model). Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

  • Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the TX-0 and RX-1 pins of the six pin header.

  • External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.

  • PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
to:

El ATmega168 tiene 16KB de memoria para el almacenamiento de sketches (de los cuales 2KB están reservados para el gestor de arranque). También tiene 1KB de SRAM y 512 bytes de EEPROM en los cuales se puede leer y escribir mediante la librería EEPROM).

Entradas y Salidas.

Cada uno de los 14 pines de digitales puede ser configurado tanto como entrada o como salida usando las funciones pinMode(), digitalWrite() y digitalRead(). Estos pines operan a 3.3v o 5v dependiendo del modelo. Cada pin puede suministrar o recibir una corriente máxima de 40mA y tienen resistencias pull-up internas (desconectadas por defecto) de 20 a 50 KOhms. Además algunos de los pines tienen funciones especiales:

  • Serie: 0 (RX) y 1 (TX). Usados para recibir (RX) y transmitir (TX) datos serie TTL. Estos pines están conectados con los pines TX-0 y RX-1 del conector de 6 pines.

  • Interrupciones Externas: 2 y 3. Estos pines pueden ser configurados para actuar como disparadores de interrupciones en caso de que cambien a estado bajo, un pico de subida o bajada o simplemente en un cambio de estado. Verla la función attachInterrupt() para más detalles.

  • PWM: 3, 5, 6, 9, 10 y 11. Generan Provide 8-bit PWM output with the analogWrite() function.
June 05, 2010, at 12:29 PM by Equipo Traduccion -
Changed lines 17-22 from:
to:

Archivos EAGLE: arduino-pro-mini-reference-design.zip.

Esquema: Arduino-Pro-Mini-schematic.pdf.

Características.

Changed lines 36-51 from:

Power

The Arduino Pro Mini can be powered with an FTDI cable or breakout board connected to its six pin header, or with a regulated 3.3V or 5V supply (depending on the model) on the Vcc pin or an unregulated supply on the RAW pin.

The power pins are as follows:

  • RAW. For supplying a raw (unregulated) voltage to the board.

  • VCC. The regulated 3.3 or 5 volt supply.

  • GND. Ground pins.

Memory

The ATmega168 has 16 KB of flash memory for storing code (of which 2 KB is used for the bootloader). It has 1 KB of SRAM and 512 bytes of EEPROM (which can be read and written with the EEPROM library).

to:

Alimentación.

La Arduino Mini Pro puede ser alimentada por el cable FTDI o por la placa adaptadora que se conecta esos mismos 6 pines. También se puede alimentar mediante una fuente de alimentanción regulada de 3.3v ó 5v (dependiendo del modelo) por el pin Vcc o por una fuente no redulada conectada al pin RAW.

Los pines de alimentación son los siguientes:

  • RAW. Para alimentación en "bruto" (no regulada) a la placa.

  • VCC. Suministro regulado de 3.3 o 5 voltios.

  • GND. Pines de tierra o negativos.

Memoria.

El ATmega168 tiene 16KB de memoria para el almacenamiento de sketches (de los cuales 2KB están reserbados para el gestor de arranque). También tiene 1KB de SRAM y 512 bytes de EEPROM en los cuales se puede leer y escribir mediante la librería EEPROM).

June 05, 2010, at 12:14 PM by Equipo Traduccion -
Changed lines 21-22 from:

Summary

to:

Caracteristics

Changed lines 24-31 from:
MicrocontrollerATmega168
Operating Voltage3.3V or 5V (depending on model)
Input Voltage3.35 -12 V (3.3V model) or 5 - 12 V (5V model)
Digital I/O Pins14 (of which 6 provide PWM output)
Analog Input Pins6
DC Current per I/O Pin40 mA
Flash Memory16 KB (of which 2 KB used by bootloader)
SRAM1 KB
to:
MicrocontroladorATmega168
Voltaje de funcionamiento3.3v o 5v (dependiento del modelo)
Voltaje de entrada3.35 -12v (en el modelo de 3.3v) o 5 - 12v (en el modelo de 5v)
Pines digitales de E/S14 (6 de los cuales tienen salida PWM)
Pines de entrada analógica6
Intensidad máxima por E/S40 mA
Memoria Flash16KB (de los cuales 2KB están reservados por el gestor de arranque)
SRAM1KB
Changed lines 33-35 from:
Clock Speed8 MHz (3.3V model) or 16 MHz (5V model)

to:
Velocidad de Reloj8 MHz (modelo de 3.3v) o 16 MHz (modelo de 5v)

June 05, 2010, at 12:03 PM by Equipo Traduccion -
Changed lines 1-2 from:

Arduino Pro Mini

to:

Arduino Mini Pro

Changed lines 5-20 from:

Overview

The Arduino Pro Mini is a microcontroller board based on the ATmega168 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an on-board resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or Sparkfun breakout board to provide USB power and communication to the board.

The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini.

There are two version of the Pro Mini. One runs at 3.3V and 8 MHz, the other at 5V and 16 MHz.

The Arduino Pro Mini was designed and manufactured by SparkFun Electronics.

Schematic & Reference Design

EAGLE files: arduino-pro-mini-reference-design.zip

Schematic: Arduino-Pro-Mini-schematic.pdf

to:

Información principal.

La Arduino Mini pro es una placa con un microcontrolador ATmega168 (datasheet). Tiene 14 E/S digitales (6 de las cuales se puedes utilizar como salidas PWM), 6 entradas analógicas, un resonador interno, botón de reseteo y agujeros para el montaje de tiras de pines. Se le puede montar una tira de 6 pines para la conexión a un cable FTDI o a una placa adaptadora de la casa Sparkfun para dotarla de comunicación USB y alimentación.

La Arduino Mini Pro esta destinada a instalaciones semi-permanentes en objetos o demostraciones. La placa viene sin conectores montados, permitiendo el uso de varios tipos de conectores o soldado directo de cables según las necesidades de cada proyecto en particular. La distribución de los pines es compatible con la Arduino Mini.

Existen dos versiones de la Mini Pro, una que funciona a 3.3v y 8Mhz y otra de 5v y 16MHz.

La Arduino Mini Pro a sido diseñada y construida por SparkFun Electronics.

Esquema y referencias de diseño.

Archivos EAGLE: arduino-pro-mini-reference-design.zip

Esquema: Arduino-Pro-Mini-schematic.pdf

January 26, 2009, at 07:16 PM by David A. Mellis -
Changed line 26 from:
Input Voltage3.35 -12 V
to:
Input Voltage3.35 -12 V (3.3V model) or 5 - 12 V (5V model)
January 25, 2009, at 03:09 PM by David A. Mellis -
Changed lines 33-35 from:
Clock Speed8 MHz or 16 MHz (depending on the model)

to:
Clock Speed8 MHz (3.3V model) or 16 MHz (5V model)

January 25, 2009, at 03:07 PM by David A. Mellis -
Changed lines 7-10 from:

The Arduino Pro Mini is a microcontroller board based on the ATmega168 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an 8 MHz resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or Sparkfun breakout board to provide USB power and communication to the board.

The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini. The board can be powered with a battery, and runs at 3.3V.

to:

The Arduino Pro Mini is a microcontroller board based on the ATmega168 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an on-board resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or Sparkfun breakout board to provide USB power and communication to the board.

The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini.

There are two version of the Pro Mini. One runs at 3.3V and 8 MHz, the other at 5V and 16 MHz.

Changed line 25 from:
Operating Voltage3.3V
to:
Operating Voltage3.3V or 5V (depending on model)
Changed lines 33-35 from:
Clock Speed8 MHz

to:
Clock Speed8 MHz or 16 MHz (depending on the model)

Changed lines 38-39 from:

The Arduino Pro Mini can be powered with an FTDI cable or breakout board connected to its six pin header, or with a regulated 3.3V supply on the 3.3V pin or an unregulated supply on the RAW pin.

to:

The Arduino Pro Mini can be powered with an FTDI cable or breakout board connected to its six pin header, or with a regulated 3.3V or 5V supply (depending on the model) on the Vcc pin or an unregulated supply on the RAW pin.

Changed lines 44-45 from:
  • VCC. The regulated 3.3 volt supply.
to:
  • VCC. The regulated 3.3 or 5 volt supply.
Changed lines 54-55 from:

Each of the 14 digital pins on the Pro Mini can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 3.3 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

to:

Each of the 14 digital pins on the Pro Mini can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 3.3 or 5 volts (depending on the model). Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

August 29, 2008, at 06:51 PM by David A. Mellis -
Changed line 98 from:

The maximum length and width of the Pro Mini PCB are XXX and XXX inches respectively.

to:

The dimensions of the Pro Mini PCB are approximately 0.7" x 1.3".

August 23, 2008, at 07:45 PM by David A. Mellis -
Changed lines 88-89 from:

You can also bypass the bootloader and program the ATmega168 through the ICSP (In-Circuit Serial Programming) header; see these instructions for details.

to:

You can also bypass the bootloader and program the ATmega168 with an external programmer; see these instructions for details.

August 23, 2008, at 03:10 AM by David A. Mellis -
Changed lines 66-67 from:
  • I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library (documentation on the Wiring website).
to:
  • I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library.
Changed lines 80-81 from:

The ATmega168 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the documentation on the Wiring website for details. To use the SPI communication, please see the ATmega168 datasheet.

to:

The ATmega168 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the reference for details. To use the SPI communication, please see the ATmega168 datasheet.

August 23, 2008, at 01:29 AM by David A. Mellis -
Changed lines 36-37 from:

The Arduino Pro Mini can be powered via the USB header, with a battery, or with an external power supply. The battery power jack is a JST header. A power jack for an external supply can be soldered to the board.

to:

The Arduino Pro Mini can be powered with an FTDI cable or breakout board connected to its six pin header, or with a regulated 3.3V supply on the 3.3V pin or an unregulated supply on the RAW pin.

Changed lines 40-45 from:
  • Batt. The voltage supplied to the board from the battery connector. You can supply voltage through this pin, or, if supplying voltage via a battery access it through this pin.

  • VCC. The raw (unregulated) voltage being supplied from either the battery or the external power supply.

  • 3V3. The regulated 3.3 volt supply.
to:
  • RAW. For supplying a raw (unregulated) voltage to the board.

  • VCC. The regulated 3.3 volt supply.
Changed lines 52-53 from:

Each of the 14 digital pins on the Pro can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

to:

Each of the 14 digital pins on the Pro Mini can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 3.3 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

Changed lines 64-65 from:

The Pro has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to VCC, though is it possible to change the upper end of their range using the AREF pin and some low-level code. Additionally, some pins have specialized functionality:

to:

The Pro Mini has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). Four of them are on the headers on the edge of the board; two (inputs 4 and 5) on holes in the interior of the board. The analog inputs measure from ground to VCC. Additionally, some pins have specialized functionality:

Changed lines 68-71 from:

There are a couple of other pins on the board:

  • AREF. Reference voltage for the analog inputs. Used with analogReference().
to:

There is another pin on the board:

Changed lines 76-79 from:

The Arduino Pro has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega168 provides UART TTL serial communication, which is available on digital pins 0 (RX) and 1 (TX). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board via a USB connection.

A SoftwareSerial library allows for serial communication on any of the Pro's digital pins.

to:

The Arduino Pro Mini has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega168 provides UART TTL serial communication, which is available on digital pins 0 (RX) and 1 (TX). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board via a USB connection.

A SoftwareSerial library allows for serial communication on any of the Pro Mini's digital pins.

Changed lines 84-87 from:

The Arduino Pro can be programmed with the Arduino software (download). For details, see the reference and tutorials.

The ATmega168 on the Arduino Pro comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).

to:

The Arduino Pro Mini can be programmed with the Arduino software (download). For details, see the reference and tutorials.

The ATmega168 on the Arduino Pro Mini comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).

Changed lines 92-95 from:

Rather then requiring a physical press of the reset button before an upload, the Arduino Pro is designed in a way that allows it to be reset by software running on a connected computer. One of the pins on the six-pin header is connected to the reset line of the ATmega168 via a 100 nanofarad capacitor. This pin connects to one of the hardware flow control lines of the USB-to-serial convertor connected to the header: RTS when using an FTDI cable, DTR when using the Sparkfun breakout board. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of the reset line can be well-coordinated with the start of the upload.

This setup has other implications. When the Pro is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Pro. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.

to:

Rather then requiring a physical press of the reset button before an upload, the Arduino Pro Mini is designed in a way that allows it to be reset by software running on a connected computer. One of the pins on the six-pin header is connected to the reset line of the ATmega168 via a 100 nanofarad capacitor. This pin connects to one of the hardware flow control lines of the USB-to-serial convertor connected to the header: RTS when using an FTDI cable, DTR when using the Sparkfun breakout board. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of the reset line can be well-coordinated with the start of the upload.

This setup has other implications. When the Pro Mini is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Pro. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.

Changed line 98 from:

The maximum length and width of the Pro PCB are 2.05 and 2.10 inches respectively, with the six pin header and power switch extending slightly beyond the edges. Four screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.

to:

The maximum length and width of the Pro Mini PCB are XXX and XXX inches respectively.

August 23, 2008, at 01:21 AM by David A. Mellis -
Added lines 1-102:

Arduino Pro Mini

Overview

The Arduino Pro Mini is a microcontroller board based on the ATmega168 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an 8 MHz resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or Sparkfun breakout board to provide USB power and communication to the board.

The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini. The board can be powered with a battery, and runs at 3.3V.

The Arduino Pro Mini was designed and manufactured by SparkFun Electronics.

Schematic & Reference Design

EAGLE files: arduino-pro-mini-reference-design.zip

Schematic: Arduino-Pro-Mini-schematic.pdf

Summary

MicrocontrollerATmega168
Operating Voltage3.3V
Input Voltage3.35 -12 V
Digital I/O Pins14 (of which 6 provide PWM output)
Analog Input Pins6
DC Current per I/O Pin40 mA
Flash Memory16 KB (of which 2 KB used by bootloader)
SRAM1 KB
EEPROM512 bytes
Clock Speed8 MHz

Power

The Arduino Pro Mini can be powered via the USB header, with a battery, or with an external power supply. The battery power jack is a JST header. A power jack for an external supply can be soldered to the board.

The power pins are as follows:

  • Batt. The voltage supplied to the board from the battery connector. You can supply voltage through this pin, or, if supplying voltage via a battery access it through this pin.

  • VCC. The raw (unregulated) voltage being supplied from either the battery or the external power supply.

  • 3V3. The regulated 3.3 volt supply.

  • GND. Ground pins.

Memory

The ATmega168 has 16 KB of flash memory for storing code (of which 2 KB is used for the bootloader). It has 1 KB of SRAM and 512 bytes of EEPROM (which can be read and written with the EEPROM library).

Input and Output

Each of the 14 digital pins on the Pro can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

  • Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the TX-0 and RX-1 pins of the six pin header.

  • External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.

  • PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.

  • SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication, which, although provided by the underlying hardware, is not currently included in the Arduino language.

  • LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.

The Pro has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to VCC, though is it possible to change the upper end of their range using the AREF pin and some low-level code. Additionally, some pins have specialized functionality:

  • I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library (documentation on the Wiring website).

There are a couple of other pins on the board:

  • AREF. Reference voltage for the analog inputs. Used with analogReference().

  • Reset. Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board.

See also the mapping between Arduino pins and ATmega168 ports.

Communication

The Arduino Pro has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega168 provides UART TTL serial communication, which is available on digital pins 0 (RX) and 1 (TX). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board via a USB connection.

A SoftwareSerial library allows for serial communication on any of the Pro's digital pins.

The ATmega168 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the documentation on the Wiring website for details. To use the SPI communication, please see the ATmega168 datasheet.

Programming

The Arduino Pro can be programmed with the Arduino software (download). For details, see the reference and tutorials.

The ATmega168 on the Arduino Pro comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).

You can also bypass the bootloader and program the ATmega168 through the ICSP (In-Circuit Serial Programming) header; see these instructions for details.

Automatic (Software) Reset

Rather then requiring a physical press of the reset button before an upload, the Arduino Pro is designed in a way that allows it to be reset by software running on a connected computer. One of the pins on the six-pin header is connected to the reset line of the ATmega168 via a 100 nanofarad capacitor. This pin connects to one of the hardware flow control lines of the USB-to-serial convertor connected to the header: RTS when using an FTDI cable, DTR when using the Sparkfun breakout board. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of the reset line can be well-coordinated with the start of the upload.

This setup has other implications. When the Pro is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Pro. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.

Physical Characteristics

The maximum length and width of the Pro PCB are 2.05 and 2.10 inches respectively, with the six pin header and power switch extending slightly beyond the edges. Four screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.

Share