シリアル/ISPブレッドボードアダプタ


シリアル/ISPブレッドボードアダプタ

Usage Instructions

 

Step 1

First, plug in the ATMega328P to your breadboard like so:

Step 2

Plug the Serial and ISP Breadboard Adapter in on top of the processor:

Step 3

Plug your FTDI serial adapter into the serial port header, and attach the USB port to your computer. You should see the power LED light up.

The pictured FTDI adapter is the Akafugu FTDI Adapter, however any serial adapter with a 6-pin header can be used (Typically marked with DTR,TXD,RXI,VCC,GND,GND or DTR,TXD,RXI,VCC,CST,GND)

If you have an ISP programmer, you can use the ISP header instead. Attach the ISP cable as shown:

Download the binary using avrdude. Instructions for setting up avr-gcc are here

Step 3A (16MHz version only)

If you have the 8MHz version, skip this step.

First, locate the pins marked X1 and X2. Place the 16MHz crystal with one leg in X1 and one in X2 (orientation does not matter). Place the crystal on the column closest to the Serial ISP Adapter (usually marked 'c' on the breadboard). You should have two more columns free on the breadboard, usually marked 'a' and 'b'.

The pin left of X1 is marked GND. Place one 22pF capacitor between X1 and the GND pin in the column closest to the crystal (usually marked 'b'). The second 22pF capacitor goes between X2 and the GND pin in the outer column (usually marked 'a').

Step 4 - Programming with Arduino

To program using the Arduino IDE, attach a USB mini-b cable to the FTDI adapter and to your computer.

NOTE: If you are using the FTDI adapter for the first time, have a look at the FTDI Instructions here. The instructions are meant for the Akafugu FTDI adapter, but should be usuable if you have another type of FTDI adapter as well.

NOTE: If you do not yet have the Arduino IDE installed, or need instructions, have a look at ourArduino installation and usage guide:

If you are using the 8MHz version, select "Akafugu Serial Adapter (8MHz)" in the Tools -> Board menu.

If you are using the 16MHz version, select "Akafugu Serial Adapter (16MHz)" in the Tools -> Board menu. Alternatively, you can also select "Arduino UNO"

In the Tools -> Serial Port menu, be sure to select the correct serial port that matches the FTDI adapter plugged in.

File -> Examples -> Basics -> Blink is a good example to get started with. When running it the user LED on the adapter should blink on and off.

Step 4a - Programming with an ISP programmer

To program using an ISP programmer, plug the ISP cable attached to your programmer into the ISP header, then refer to the instructions of your compiler or IDE for how to download your code to the chip.

If you are using (or want to use) the avr-gcc compiler toolchain, have a look at this guide:avr-gcc Installation Guide