SOIC
Tutorial for Beginners - Arduino Micro and Arduino Leonardo

Kok Chen, W7AY [w7ay (at) arrl (dot) net]
Last updated: April 4, 2103



Introduction


This tutorial will assume the following:

  1. You are using an Arduino Micro or Arduino Leonardo. If you are using the Arduino UNO, please go to the Arduino UNO page, and if you are using the STK500, please go to the STK500 page.

  2. Your computer has a free USB port (since the Arduino uses the USB CDC Class, there is no need to install any USB driver).

    Preferably, the Arduino is connected to a powered USB hub. In case a built-in USB port shuts down due to over-current, reset the SMC of the Macintosh by following the instructions here to recover use of the USB port again.

  3. You have already followed the steps described in the CrossPack page and have downloaded and installed the AVR gcc tool chain (including avrdude),

  4. The Macintosh includes Apple's Developer package. If not, follow the Xcode instructions here.

  5. You have downloaded and installed AVR Tools.

Lesson 1 will show you how to upload and run firmware from a pre-compiled hex file to the Arduino. Lesson 2 will show you how to modify an existing AVR program in Xcode.