How To Use The Arduino Pro Mini In Your Projects

ArduinoProMiniLittle bigger than a postage stamp, and not a great deal thicker, the Pro Mini is a great solution for finished projects, since it runs like other Arduinos, but is stripped of unnecessary extras. One of those ‘extras’ is the USB port for uploading sketches, and so you need to know how to connect it to an external USB interface, called a USB to TTL converter. These devices convert USB signals into the logic levels the Arduino understands, and are readily available on eBay – just search on ‘USB TTL’.

(Note you can get most of the benefits of a Pro Mini plus the USB port if you use an Arduino Nano instead. However, if you want to dip your toes into low-power solutions, using a separate USB device just for programming will save you power and cost. Plus it’s cooler).

Pro Minis can be shipped without any connections, so first you have to solder on pin headers. Of course, for a permanent project you can solder wires directly to the circuit board, but at a minimum, you’ll want to solder a six-pin header to the end opposite the reset switch. I prefer to solder onto the board an angled male pin header facing inwards, so as to keep the device’s footprint small. Once soldered, this header is connected to the USB converter.

SERIAL INTERFACEAt its simplest, you connect the four pins of the converter to the corresponding ones on the Pro (5V to VCC, TXO to TXO, RXO to RXI, GND to GND), and work with that. Since this doesn’t provide a reset, you’ll need to get in the habit of holding down the reset button, running your compile, and then releasing the reset button as soon as ‘Uploading’ appears on your Arduino IDE. That will get old really fast, so I recommend you look for a USB converter with an exposed reset line (called DTR), visible on the side of newer converters. Adding a connector between it and the Pro Mini’s GRN line will give you the familiar automatic sketch uploading.

Most connection problems I’ve found using this setup involve nonstandard Pro Minis (ATmega328 instead of a Atmega168, the wrong clock speed, or different voltages), or swapped TX/RX lines. Watching the loading led flash, and looking for the “stk500_getsync(): not in sync” error message during uploads will help you troubleshoot these issues.

The benefit of this extra initial setup? All the power of an Arduino on an incredibly small device, including reduced power consumption, since there’s no USB converter constantly running. Using it, I now can prototype a project using the Arduino Uno or similar, confident I can offer it in a smaller, less power-hungry, and lower-cost version when I’m ready. You can, too.

FTDI FT232RL USB to Serial adapt module USB TO TTL RS232 Arduino Cable 6PinBLNH
End Date: Saturday Mar-24-2018 16:55:03 PDT
Buy It Now for only: $9.99
Buy It Now | Add to watch list
CP2102 MICRO USB To UART TTL Module 6Pin Serial Converter STC Replace FT232 AT
$0.93 (6 Bids)
End Date: Friday Feb-23-2018 10:38:06 PST
Bid now | Add to watch list
USB 2.0 to TTL UART 6PIN LS2102 Module Serial Converter LS A3F5
End Date: Wednesday Mar-14-2018 5:23:51 PDT
Buy It Now for only: $2.26
Buy It Now | Add to watch list

2 thoughts on “How To Use The Arduino Pro Mini In Your Projects

  1. Thanks for saving me a *ton* of hair-pulling with the RESET button tip. Uploading code from the Arduino IDE to the Pro Minis via the OSEPP TTL UART module is painless, because the module has a RESET pin. The cheaper modules (that only have GRD, TX, RX, and 5V/3V3)…not so much. I’d love to send your book to my nephew as an early graduation present; are there any options that don’t involve Amazon?

Leave a Reply to David Pankhurst Cancel reply

Your email address will not be published. Required fields are marked *