Program Arduino Mini 05 With FTDI Basic

by push_reset in Circuits > Arduino

51249 Views, 174 Favorites, 0 Comments

Program Arduino Mini 05 With FTDI Basic

hook_up_arduino.jpg

When you need a small arduino with an good amount of I/O pins, the Arduino Mini is for you. This is one of my favorite microcontrollers for wearable tech projects because of its size.

Materials

arduino.jpg
ftdi.jpg
mateirals.jpg
usb_cable.jpg

Arduino Mini

FTDI Basic

Male headers

Jumper cables or solid hook-up wire

Breadboard

Male A to Mini B USB cable

LED

Soldering Iron

Solder

Prep Arduino

solder_pins.jpg
breadboard_plug.jpg
Screen Shot 2014-12-09 at 5.24.29 PM.png

You only need to connect to four pins of the Mini in order to program it. To make it breadboard friendly solder 4 male headers to the TX, RX, 5V and ground pin. The ground pin is annotated with the schematic symbol. It looks like a little tree.

Connect

hook_up_arduino.jpg
hook_up_ftdi.jpg
plug_computer_b.jpg

The connections to make from the FTDI board and the Mini are:

GND >> GND

5V >> 5V

RX >> TX

TX >> RX

After the connections are made, take the USB cord, plug into the FTDI, then to a free port on your computer.

Upload Sketch

led_on.jpg
reset.jpg
screen1.png
Screenshot2.png
Screenshot3.png
Screenshot4.png

Open the Arduino environment, go to:

File > Examples > Basics > Blink

Ok, so here's the trick, once you press the upload button it will say "Compiling sketch..." at the bottom of the sketch window. As it says this and right after you press upload, press the reset button on the Mini.

A quick way to check if the program is loading is to glance over to those glorious TX and RX lights on the FTDI, they will be flashing very fast if all is well. Meaning that the board and your computer are talking to each other.

Pick up the LED, connect the positive side to pin 13 (default in example sketch) and the ground to a ground pin. If it blinks, that means success!

If it doesn't, try the timing of hitting reset and check all of your connections.

Test