Breadboard Arduinos and Sparkfun’s FTDI Basic Breakout
I recently purchased one of these breakout boards from Sparkfun. I bought the 5V version because I want to power an ATmega328 over the USB connection on the board.
This is the procedure I use to connect and upload sketches to a breadboard Arduino from the Arduino IDE in Linux:
First of all, the ATmega328 chips that I’m using are already bootloaded using the Duemilanove bootloader. (Duemilanove w/ ATmega328 in the boards menu).
The ATmega needs to be hooked up with VCC & GND connectors (will be powered from FTDI board), an external 16MHz Crystal and a 0.1uF capacitor on pin 1 for auto-reset. A pull-up resistor on pin 1 is recommended.
Now add the breakout board to the breadbord and hock it up like this:
- Connect the DTR pin to pin 1 on the ATmega through the 0.1uF capacitor.
- Connect the RX pin to pin 3 on the ATmega (TX)
- Connect the TX pin to pin 2 on the ATmega (RX)
- Connect the 5V pin to the 5V rail of the board to supply the board with power from the USB interface.
- Connect the GND pin to the GND rail of the board
Connect the USB cable and fire up the IDE.
There should now be a serial port called ttyUSBx. Select it.
From the boards menu, select Arduino Duemilanove or Nano w/ ATmega328
It should now be possible to upload sketches.