Guide.MacOSX History

Hide minor edits - Show changes to output

May 23, 2012, at 03:05 PM by David A. Mellis -
Changed lines 36-37 from:
Double-click the Arduino application.
to:
Double-click the Arduino application. (Note: if the Arduino software loads in the wrong language, you can change it in the preferences dialog. See [[Guide/Environment#languages | the environment page]] for details.)
March 05, 2012, at 12:44 AM by Scott Fitzgerald -
Deleted lines 16-17:
Attach:ArduinoDiskImage.png
March 05, 2012, at 12:44 AM by Scott Fitzgerald - added download to FTDI drivers, updated the download arduino section
Changed lines 15-16 from:
The disk image (.dmg) should mount automatically. If it doesn't, double-click it. It should look like the following image.
to:
When the download is finished, double click the .zip fle. This will expand the Arduino application.
Changed lines 28-29 from:
you will need to install the drivers for the FTDI chip on the board. Double-click the '''FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg''' icon and follow the instructions in the installer. You'll need to restart your computer after installing the drivers. (The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
to:
you will need to install the drivers for the FTDI chip on the board. You need to download the latest version of the drivers from the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]]. One downloaded, double click the package, and follow the instructions in the installer. You'll need to restart your computer after installing the drivers.
Changed line 61 from:
(:include HowtoUpload:)
to:
(:include HowtoUpload:)
October 26, 2010, at 05:47 PM by David A. Mellis -
Changed lines 50-51 from:
Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbmodem''' (for the Uno) or '''/dev/tty.usbmodem''' (for older boards) in it.
to:
Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbmodem''' (for the Uno or Mega 2560) or '''/dev/tty.usbserial''' (for older boards) in it.
October 16, 2010, at 09:03 PM by David A. Mellis -
Added lines 34-35:
If you're using the Arduino Uno or Arduino Mega 2560, a dialog box will appear telling you that a new network interface has been detected. Click "Network Preferences...", and when it opens, simply click "Apply". The Uno or Mega 2560 will show up as "Not Configured", but it's working properly. Quit System Preferences.
September 29, 2010, at 09:09 PM by Tom Igoe -
Changed lines 48-49 from:
Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.
to:
Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbmodem''' (for the Uno) or '''/dev/tty.usbmodem''' (for older boards) in it.

Attach:SelectingUno.png
[-selecting an Uno, Mega2560, or newer board-]

Attach:SelectingFTDIArduino.png
[-selecting an older FTDI-based board-]

September 29, 2010, at 08:57 PM by Tom Igoe -
Changed lines 26-27 from:
Attach: FTDIChip.png
to:
Attach:FTDIChip.png
September 29, 2010, at 08:56 PM by Tom Igoe -
Changed lines 19-20 from:
!!!3 | Install the Application and USB drivers
to:
!!!3 | Install the Software
Changed lines 22-24 from:

If this is your first time using an Arduino with your computer, you will need to install the drivers for the FTDI chip on the board. Double-click the '''FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg''' icon and follow the instructions in the installer. You'll need to restart your computer after installing the drivers. (The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
to:
If you're using an Arduino Uno or Mga 2560, you don't have any drivers to install. Skip ahead to the next step.

If you're using an older board (Duemilanove, Diecimila, or any board with an FTDI driver chip that looks like this:

Attach: FTDIChip.png

you will need to install the drivers for the FTDI chip on the board. Double-click the '''FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg''' icon and follow the instructions in the installer. You'll need to restart your computer after installing the drivers. (The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
February 06, 2010, at 12:52 AM by David A. Mellis -
Changed lines 5-14 from:
# Get an Arduino board and USB cable
# Download the Arduino environment
# Install the USB drivers
# Connect the board
# Launch the Arduino application
# Open the blink example
# Select your board
# Select the serial port
# Upload the program
to:
(:*toc :)
February 06, 2010, at 12:49 AM by David A. Mellis -
February 06, 2010, at 12:48 AM by David A. Mellis -
Added lines 15-16:
!!!1 | Get an Arduino board and USB cable
February 06, 2010, at 12:42 AM by David A. Mellis -
Changed lines 9-11 from:
# Run the Arduino environment
# Upload a program
to:
# Launch the Arduino application
# Open the blink example
# Select your board
# Select the serial port
# Upload the program
Changed lines 34-35 from:
!!!5 | Launch Arduino and open an example
to:
!!!5 | Launch the Arduino application
Added lines 38-39:
!!!6 | Open the blink example
Changed lines 42-45 from:
!!!6 | Upload a program

Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.
to:
!!!7 | Select your board
Added lines 46-51:
!!!8 | Select your serial port

Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.

!!!9 | Upload the program
February 06, 2010, at 12:40 AM by David A. Mellis -
Added lines 41-42:
(:include HowtoBoard:)
February 06, 2010, at 12:37 AM by David A. Mellis -
Changed lines 11-13 from:
# Look for the blinking LED
# Learn to use Arduino
to:
February 06, 2010, at 12:34 AM by David A. Mellis -
Added lines 39-40:
!!!6 | Upload a program
February 06, 2010, at 12:34 AM by David A. Mellis -
Added lines 33-36:
!!!5 | Launch Arduino and open an example

Double-click the Arduino application.
February 06, 2010, at 12:33 AM by David A. Mellis -
Changed lines 5-6 from:
(:include HowtoSteps:)
to:
# Get an Arduino board and USB cable
# Download the Arduino environment
# Install the USB drivers
# Connect the board
# Run the Arduino environment
# Upload a program
# Look for the blinking LED
# Learn to use Arduino
Added lines 29-30:
!!!4 | Connect the board
February 06, 2010, at 12:01 AM by David A. Mellis -
Changed lines 1-2 from:
!!How To Get Arduino Running on Mac OS X (10.3.9 or later)
to:
!!Getting Started w/ Arduino on Mac OS X
February 06, 2010, at 12:00 AM by David A. Mellis -
Changed lines 13-14 from:
The disk image (.dmg) should mount automatically. If it doesn't, double-click it. It should like the following image.
to:
The disk image (.dmg) should mount automatically. If it doesn't, double-click it. It should look like the following image.
Changed lines 20-21 from:
If this is your first time using an Arduino board on this computer, you will need to install the drivers for the FTDI chip on the board. Double-click the '''FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg''' icon and follow the instructions in the installer. You'll need to restart your computer after installing the drivers. (The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
to:
If this is your first time using an Arduino with your computer, you will need to install the drivers for the FTDI chip on the board. Double-click the '''FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg''' icon and follow the instructions in the installer. You'll need to restart your computer after installing the drivers. (The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
February 05, 2010, at 11:58 PM by David A. Mellis -
Changed lines 13-14 from:
The disk image (.dmg) should mount automatically. If it doesn't, double-click it.
to:
The disk image (.dmg) should mount automatically. If it doesn't, double-click it. It should like the following image.
Changed lines 17-25 from:
!!!3 | Install the USB drivers
If you are using a USB Arduino, you will need to install the drivers for the FTDI chip on the board. These can be found in the '''drivers''' directory of the Arduino distribution.

You'll need to select the correct drivers for your computer. Use:
* '''FTDIUSBSerialDriver_v2_1_9.dmg''' for older (PPC) Macs like the Powerbook, iBook, G4 or G5
* '''FTDIUSBSerialDriver_v2_2_9_Intel.dmg''' for newer (Intel) Macs like the MacBook, MacBook Pro, or Mac Pro

(The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
to:
!!!3 | Install the Application and USB drivers
Copy the Arduino application into the Applications folder (or elsewhere on your computer).

If this is your first time using an Arduino board on this computer, you will need to install the drivers for the FTDI chip on the board. Double-click the '''FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg''' icon and follow the instructions in the installer. You'll need to restart your computer after installing the drivers. (The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
February 05, 2010, at 11:53 PM by David A. Mellis -
Changed lines 9-10 from:
(:include HowtoDownload:)
to:
!!!2 | Download the Arduino environment

Get the latest version from the [[Main/Software | download page]].

The disk image (.dmg) should mount automatically. If it doesn't, double-click it.

Attach:ArduinoDiskImage.png
May 21, 2009, at 02:51 PM by David A. Mellis -
Changed lines 24-25 from:
Select the serial device of the Arduino board from the '''Tools | Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.
to:
Select the serial device of the Arduino board from the '''Tools > Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.
May 21, 2009, at 02:50 PM by David A. Mellis -
Changed lines 24-27 from:
Select the serial device of the Arduino board from the Tools | Serial Port menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.

Attach:SerialPortSelection.png
to:
Select the serial device of the Arduino board from the '''Tools | Serial Port''' menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.
May 21, 2009, at 02:47 PM by David A. Mellis -
Changed lines 24-25 from:
Select the serial device of the Arduino board from the Tools | Serial Port menu. On the Mac, this should be something with @@/dev/tty.usbserial@@ in it.
to:
Select the serial device of the Arduino board from the Tools | Serial Port menu. On the Mac, this should be something with '''/dev/tty.usbserial''' in it.
May 21, 2009, at 02:44 PM by David A. Mellis -
Deleted lines 21-22:
(:include HowtoLED:)
May 21, 2009, at 02:36 PM by David A. Mellis -
Changed lines 15-17 from:
* the PPC drivers '''FTDIUSBSerialDriver_v2_1_9.dmg''' for older Macs like the Powerbook, iBook, G4 or G5
* the Intel drivers '''FTDIUSBSerialDriver_v2_2_9_Intel.dmg''' for newer Macs like the MacBook, MacBook Pro, or Mac Pro
to:
* '''FTDIUSBSerialDriver_v2_1_9.dmg''' for older (PPC) Macs like the Powerbook, iBook, G4 or G5
* '''FTDIUSBSerialDriver_v2_2_9_Intel.dmg''' for newer (Intel) Macs like the MacBook, MacBook Pro, or Mac Pro
May 21, 2009, at 02:36 PM by David A. Mellis -
Changed lines 14-17 from:
If you have an older Mac like a Powerbook, iBook, G4 or G5, you should use the the PPC drivers: @@FTDIUSBSerialDriver_v2_1_9.dmg@@. If you have a newer Mac like an MacBook, MacBook Pro, or Mac Pro, you need the Intel drivers: @@FTDIUSBSerialDriver_v2_2_9_Intel.dmg@@. Double-click to mount the disk image and run the included @@FTDIUSBSerialDriver.pkg@@.

Attach:USBDriversMac.png
to:
You'll need to select the correct drivers for your computer. Use:
* the PPC drivers '''FTDIUSBSerialDriver_v2_1_9.dmg''' for older Macs like the Powerbook, iBook, G4 or G5
* the Intel drivers '''FTDIUSBSerialDriver_v2_2_9_Intel.dmg''' for newer Macs like the MacBook, MacBook Pro, or Mac Pro
June 02, 2008, at 01:28 AM by David A. Mellis -
Added lines 3-4:
(:include HowtoIntro:)
June 02, 2008, at 01:18 AM by David A. Mellis -
Changed lines 7-13 from:
!!!2 | Download the Arduino environment
To program the Arduino board you need the Arduino environment.

'''Download''': the latest version of the software from the [[Main/Software | download page]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder with the Arduino software in side. Double-click the folder to open it.
to:
(:include HowtoDownload:)
June 02, 2008, at 01:14 AM by David A. Mellis -
Changed lines 8-13 from:
To program the Arduino board you need the Arduino environment. If you have an older Mac like a Powerbook, iBook, G4 or G5, you need the Arduino for PPC. If you have a newer Mac like an MacBook, MacBook Pro, or Mac Pro, you need the Intel version.

'''Download''': [[http://www.arduino.cc/files/arduino-0011-mac.zip | Arduino 0011]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0011'''. Double-click the folder to open it.
to:
To program the Arduino board you need the Arduino environment.

'''Download''': the latest version of the software from the [[Main/Software | download page]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder with the Arduino software in side. Double-click the folder to open it.
Changed lines 17-18 from:
On the Mac, mount the @@FTDIUSBSerialDriver_v2_1_9.dmg@@ (on PPC machines) or the @@FTDIUSBSerialDriver_v2_2_9_Intel.dmg@@ (on Intel machines) disk image and run the included @@FTDIUSBSerialDriver.pkg@@.
to:
If you have an older Mac like a Powerbook, iBook, G4 or G5, you should use the the PPC drivers: @@FTDIUSBSerialDriver_v2_1_9.dmg@@. If you have a newer Mac like an MacBook, MacBook Pro, or Mac Pro, you need the Intel drivers: @@FTDIUSBSerialDriver_v2_2_9_Intel.dmg@@. Double-click to mount the disk image and run the included @@FTDIUSBSerialDriver.pkg@@.
March 28, 2008, at 11:54 PM by David A. Mellis -
Changed lines 10-13 from:
'''Download''': [[http://www.arduino.cc/files/arduino-0010-mac.zip | Arduino 0010]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0009'''. Double-click the folder to open it.
to:
'''Download''': [[http://www.arduino.cc/files/arduino-0011-mac.zip | Arduino 0011]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0011'''. Double-click the folder to open it.
Changed lines 17-18 from:
On the Mac, mount the @@FTDIUSBSerialDriver_v2_1_6.dmg@@ (on PPC machines) or the @@FTDIUSBSerialDriver_v2_2_6_Intel.dmg@@ (on Intel machines) disk image and run the included @@FTDIUSBSerialDriver.pkg@@.
to:
On the Mac, mount the @@FTDIUSBSerialDriver_v2_1_9.dmg@@ (on PPC machines) or the @@FTDIUSBSerialDriver_v2_2_9_Intel.dmg@@ (on Intel machines) disk image and run the included @@FTDIUSBSerialDriver.pkg@@.
March 27, 2008, at 11:38 PM by David A. Mellis -
Changed lines 10-11 from:
'''Download''': [[http://www.arduino.cc/files/arduino-0009-mac-ppc.zip | Arduino 0009 for PPC]] or [[http://www.arduino.cc/files/arduino-0009-mac-intel.zip | Arduino 0009 for Intel]]
to:
'''Download''': [[http://www.arduino.cc/files/arduino-0010-mac.zip | Arduino 0010]]
August 07, 2007, at 03:45 AM by David A. Mellis -
Changed lines 12-13 from:
When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0008'''. Double-click the folder to open it.
to:
When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0009'''. Double-click the folder to open it.
August 07, 2007, at 03:45 AM by David A. Mellis - updating software version to 0009.
Changed lines 10-11 from:
'''Download''': [[http://www.arduino.cc/files/arduino-0008-mac-ppc.zip | Arduino 0008 for PPC]] or [[http://www.arduino.cc/files/arduino-0008-mac-intel.zip | Arduino 0008 for Intel]]
to:
'''Download''': [[http://www.arduino.cc/files/arduino-0009-mac-ppc.zip | Arduino 0009 for PPC]] or [[http://www.arduino.cc/files/arduino-0009-mac-intel.zip | Arduino 0009 for Intel]]
June 10, 2007, at 01:55 AM by David A. Mellis -
Changed lines 12-13 from:
When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0007'''. Double-click the folder to open it.
to:
When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0008'''. Double-click the folder to open it.
June 10, 2007, at 01:54 AM by David A. Mellis -
Changed lines 10-11 from:
'''Download''': [[http://www.arduino.cc/files/arduino-0007-mac-ppc.zip | Arduino 0007 for PPC]] or [[http://www.arduino.cc/files/arduino-0007-mac-intel.zip | Arduino 0007 for Intel]]
to:
'''Download''': [[http://www.arduino.cc/files/arduino-0008-mac-ppc.zip | Arduino 0008 for PPC]] or [[http://www.arduino.cc/files/arduino-0008-mac-intel.zip | Arduino 0008 for Intel]]
March 03, 2007, at 09:11 PM by David A. Mellis -
Added lines 25-26:
(:include HowtoLED:)
December 26, 2006, at 01:28 AM by David A. Mellis - removing reference to macosx_setup.command and updating links to point to 0007.
Changed lines 10-17 from:
'''Download''': [[http://www.arduino.cc/files/arduino-0006-mac-ppc.zip | Arduino 0006 for PPC]] or [[http://www.arduino.cc/files/arduino-0006-mac-intel.zip | Arduino 0006 for Intel]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0006'''. Double-click the folder to open it.

Then, double-click '''macosx_setup.command'''. This will open a Terminal and ask you if you want to continue. Type '''y''' and press return. When prompted, type your password and press return.

Attach:MacSetupCommand.png
to:
'''Download''': [[http://www.arduino.cc/files/arduino-0007-mac-ppc.zip | Arduino 0007 for PPC]] or [[http://www.arduino.cc/files/arduino-0007-mac-intel.zip | Arduino 0007 for Intel]]

When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0007'''. Double-click the folder to open it.
December 04, 2006, at 11:35 PM by David A. Mellis -
Changed lines 12-13 from:
After downloading the IDE, run the @@macosx_setup.command@@. It corrects permission on a few files for use with the serial port and will prompt you for your password. You may need to reboot after running this script.
to:
When the download finishes, unzip the downloaded file by double-clicking it. This should create a folder called '''arduino-0006'''. Double-click the folder to open it.

Then, double-click '''macosx_setup.command'''. This will open a Terminal and ask you if you want to continue. Type '''y''' and press return. When prompted, type your password and press return.
Changed lines 19-20 from:
If you are using a USB Arduino, you will need to install the drivers for the FTDI chip on the board. These can be found in the @@drivers@@ directory of the Arduino distribution.
to:
If you are using a USB Arduino, you will need to install the drivers for the FTDI chip on the board. These can be found in the '''drivers''' directory of the Arduino distribution.
Changed lines 25-26 from:
The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].
to:
(The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].)
December 04, 2006, at 11:31 PM by David A. Mellis - linking directly to the Arduino downloads.
Changed lines 7-8 from:
(:include HowtoDownload:)
to:
!!!2 | Download the Arduino environment
To program the Arduino board you need the Arduino environment. If you have an older Mac like a Powerbook, iBook, G4 or G5, you need the Arduino for PPC. If you have a newer Mac like an MacBook, MacBook Pro, or Mac Pro, you need the Intel version.

'''Download''': [[http://www.arduino.cc/files/arduino-0006-mac-ppc.zip | Arduino 0006 for PPC]] or [[http://www.arduino.cc/files/arduino-0006-mac-intel.zip | Arduino 0006 for Intel]]
November 16, 2006, at 11:48 PM by David A. Mellis -
Added lines 24-29:
(:include HowtoExample:)

Select the serial device of the Arduino board from the Tools | Serial Port menu. On the Mac, this should be something with @@/dev/tty.usbserial@@ in it.

Attach:SerialPortSelection.png
November 04, 2006, at 02:01 PM by David A. Mellis -
Deleted lines 24-25:

(:include HowtoReferences:)
November 04, 2006, at 01:53 PM by David A. Mellis -
Changed lines 1-31 from:
!!Arduino Howto

These are the steps you need to follow in order to be up and running:

# Get an Arduino board
# Download the Arduino environment
# Install the USB drivers
# Connect the board
# Upload a program

!!!1 | Get an Arduino board
The Arduino i/o board is a simple circuit featuring the ATmega8 processor from Atmel. The board is composed of a printed circuit board (PCB) and electronic parts.

Attach:ArduinoNG.jpg

There are a few ways to get an Arduino board:

* '''buy a ready made board'''. See how you can [[Main/Buy| buy]] a board or just the PCB.
** [[http://pcb-europe.net/catalog/index.php?cPath=29 | European distributor]]
** [[http://www.sparkfun.com/commerce/product_info.php?products_id=666 | US distributor]]
* '''build your own board'''. If you want you can build your own PCB just by downloading the CAD files from the [[Main/Hardware]] page. Extract the .brd file and send it to a PCB manufacturer. Be aware that manufacturing a single pcb will be very expensive. It's better to get together with other people and make 20 or 30 at a time. Since you get the full CAD files you can make your own customised version of Arduino. if you make modifications or fix bugs please send us your changes!
** '''purchase parts'''. purchase the parts from any electronics store. The Serial version in particular has been designed to use the most basic parts that can be found anywhere in the world. The USB version on the other hand requires some advanced soldering skills because of the FTDI chip that is an smd part. Here is a [[PartsSerial | list]] of parts for the serial board.
** '''assemble the board'''. We put together a step by step [[Main/BuildSerial | guide]] on how to build an arduino board. ''Newbies: never soldered before? afraid of trashing thousands of boards before getting one properly soldered? fear not :) learn to master the art of [[http://www.potemkin.org/cms/Pid/Soldering | soldering]].''
** '''program the bootloader'''. In order for the development environment to be able to program the chip, this has to be programmed with a piece of code called ''bootloader''. See the [[Main/bootloader]] page on how to program it on your chip.

!!!2 | Download the Arduino environment
To program the Arduino board you need the Arduino environment.

'''Download Arduino''':
From the [[Main/Software | software page]].
to:
!!How To Get Arduino Running on Mac OS X (10.3.9 or later)

(:include HowtoSteps:)

(:include HowtoGet:)

(:include HowtoDownload:)
Deleted lines 12-13:
For more information, see the [[Environment | guide to the Arduino environment]].
Changed lines 22-66 from:
!!!4 | Connect the board

If you're using a serial board, power the board with an external power supply (6 to 25 volts DC, with the core of the connector positive). Connect the board to a serial port on your computer.

On the USB boards, the power source is selected by the jumper between the USB and power plugs. To power the board from the USB port (good for controlling low power devices like LEDs), place the jumper on the two pins closest to the USB plug. To power the board from an external power supply (needed for motors and other high current devices), place the jumper on the two pins closest to the power plug. Either way, connect the board to a USB port on your computer.

The power LED should go on.

Attach:PluggedIn.jpg

!!!5 | Upload a program

Open the LED blink example sketch: File > Sketchbook > Examples > led_blink.

Attach:LedBlinkExample.png

Here's what the code for the LED blink example looks like.

Attach:ArduinoEnvironment.png

Select the serial device of the Arduino board from the Tools | Serial Port menu. On the Mac, this should be something like @@/dev/cu.usbserial-1B1@@ for a USB board, or something like @@/dev/cu.USA19QW1b1P1.1@@ if using a Keyspan adapter with a serial board (other USB-to-serial adapters use different names).

Attach:SerialPortSelection.png

Push the reset button on the board then click the ''Upload'' button in the IDE. Wait a few seconds. If successful, the message "Done uploading." will appear in the status bar.

Attach:ResetBoard.jpg

Attach:UploadToBoard.png

If the Arduino board doesn't show up in the Tools | Serial Port menu, or you get an error while uploading, please see the [[Troubleshooting | troubleshooting suggestions]].

A few seconds after the upload finishes, you should see the amber (yellow) LED on the board start to blink.

!!!Learn More

* Read about the [[Environment | Arduino Environment]]
* Learn about the parts of the [[Board | Arduino board]]
* See the [[Tutorial/HomePage | tutorials]] for some example programs. (There are also some examples available in the @@examples@@ directory inside the arduino directory.)
* Look up specific Arduino functions and syntax in the [[Reference/HomePage | reference]]
* The Arduino programming language is compatible with the [[http://www.wiring.org.co | Wiring]] language allowing porting applications from the Wiring board to Arduino. Please note the [[Main/ComparisonProcessing | differences between the Wiring and Processing languages]].
* If you're having problems, check the [[Main/FAQ]].
* If you don't find a solution there, try posting in the [[http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl | forums]].

to:
(:include HowtoConnect:)

(:include HowtoUpload:)

(:include HowtoReferences:)
November 04, 2006, at 01:42 PM by David A. Mellis -
Added lines 1-91:
!!Arduino Howto

These are the steps you need to follow in order to be up and running:

# Get an Arduino board
# Download the Arduino environment
# Install the USB drivers
# Connect the board
# Upload a program

!!!1 | Get an Arduino board
The Arduino i/o board is a simple circuit featuring the ATmega8 processor from Atmel. The board is composed of a printed circuit board (PCB) and electronic parts.

Attach:ArduinoNG.jpg

There are a few ways to get an Arduino board:

* '''buy a ready made board'''. See how you can [[Main/Buy| buy]] a board or just the PCB.
** [[http://pcb-europe.net/catalog/index.php?cPath=29 | European distributor]]
** [[http://www.sparkfun.com/commerce/product_info.php?products_id=666 | US distributor]]
* '''build your own board'''. If you want you can build your own PCB just by downloading the CAD files from the [[Main/Hardware]] page. Extract the .brd file and send it to a PCB manufacturer. Be aware that manufacturing a single pcb will be very expensive. It's better to get together with other people and make 20 or 30 at a time. Since you get the full CAD files you can make your own customised version of Arduino. if you make modifications or fix bugs please send us your changes!
** '''purchase parts'''. purchase the parts from any electronics store. The Serial version in particular has been designed to use the most basic parts that can be found anywhere in the world. The USB version on the other hand requires some advanced soldering skills because of the FTDI chip that is an smd part. Here is a [[PartsSerial | list]] of parts for the serial board.
** '''assemble the board'''. We put together a step by step [[Main/BuildSerial | guide]] on how to build an arduino board. ''Newbies: never soldered before? afraid of trashing thousands of boards before getting one properly soldered? fear not :) learn to master the art of [[http://www.potemkin.org/cms/Pid/Soldering | soldering]].''
** '''program the bootloader'''. In order for the development environment to be able to program the chip, this has to be programmed with a piece of code called ''bootloader''. See the [[Main/bootloader]] page on how to program it on your chip.

!!!2 | Download the Arduino environment
To program the Arduino board you need the Arduino environment.

'''Download Arduino''':
From the [[Main/Software | software page]].

After downloading the IDE, run the @@macosx_setup.command@@. It corrects permission on a few files for use with the serial port and will prompt you for your password. You may need to reboot after running this script.

Attach:MacSetupCommand.png

For more information, see the [[Environment | guide to the Arduino environment]].

!!!3 | Install the USB drivers
If you are using a USB Arduino, you will need to install the drivers for the FTDI chip on the board. These can be found in the @@drivers@@ directory of the Arduino distribution.

On the Mac, mount the @@FTDIUSBSerialDriver_v2_1_6.dmg@@ (on PPC machines) or the @@FTDIUSBSerialDriver_v2_2_6_Intel.dmg@@ (on Intel machines) disk image and run the included @@FTDIUSBSerialDriver.pkg@@.

Attach:USBDriversMac.png

The latest version of the drivers can be found on the [[http://www.ftdichip.com/Drivers/VCP.htm | FTDI website]].

!!!4 | Connect the board

If you're using a serial board, power the board with an external power supply (6 to 25 volts DC, with the core of the connector positive). Connect the board to a serial port on your computer.

On the USB boards, the power source is selected by the jumper between the USB and power plugs. To power the board from the USB port (good for controlling low power devices like LEDs), place the jumper on the two pins closest to the USB plug. To power the board from an external power supply (needed for motors and other high current devices), place the jumper on the two pins closest to the power plug. Either way, connect the board to a USB port on your computer.

The power LED should go on.

Attach:PluggedIn.jpg

!!!5 | Upload a program

Open the LED blink example sketch: File > Sketchbook > Examples > led_blink.

Attach:LedBlinkExample.png

Here's what the code for the LED blink example looks like.

Attach:ArduinoEnvironment.png

Select the serial device of the Arduino board from the Tools | Serial Port menu. On the Mac, this should be something like @@/dev/cu.usbserial-1B1@@ for a USB board, or something like @@/dev/cu.USA19QW1b1P1.1@@ if using a Keyspan adapter with a serial board (other USB-to-serial adapters use different names).

Attach:SerialPortSelection.png

Push the reset button on the board then click the ''Upload'' button in the IDE. Wait a few seconds. If successful, the message "Done uploading." will appear in the status bar.

Attach:ResetBoard.jpg

Attach:UploadToBoard.png

If the Arduino board doesn't show up in the Tools | Serial Port menu, or you get an error while uploading, please see the [[Troubleshooting | troubleshooting suggestions]].

A few seconds after the upload finishes, you should see the amber (yellow) LED on the board start to blink.

!!!Learn More

* Read about the [[Environment | Arduino Environment]]
* Learn about the parts of the [[Board | Arduino board]]
* See the [[Tutorial/HomePage | tutorials]] for some example programs. (There are also some examples available in the @@examples@@ directory inside the arduino directory.)
* Look up specific Arduino functions and syntax in the [[Reference/HomePage | reference]]
* The Arduino programming language is compatible with the [[http://www.wiring.org.co | Wiring]] language allowing porting applications from the Wiring board to Arduino. Please note the [[Main/ComparisonProcessing | differences between the Wiring and Processing languages]].
* If you're having problems, check the [[Main/FAQ]].
* If you don't find a solution there, try posting in the [[http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl | forums]].

Share