13
Getting your Arduino to Work: Macintosh 1.Install Arduino programming environment 2.Connect the Uno board to your Macintosh with a USB cable. No driver installation is necessary 3.Make sure you can download a program (a “sketch”) from your living with the lab Gerald Recktenwald Portland State Universi [email protected]

Getting your Arduino to Work: Macintosh

  • Upload
    jarvis

  • View
    27

  • Download
    0

Embed Size (px)

DESCRIPTION

Gerald Recktenwald Portland State University [email protected]. living with the lab. Getting your Arduino to Work: Macintosh. Install Arduino programming environment Connect the Uno board to your Macintosh with a USB cable. No driver installation is necessary - PowerPoint PPT Presentation

Citation preview

Page 1: Getting your Arduino to Work:  Macintosh

Getting your Arduino to Work: Macintosh1. Install Arduino programming environment

2. Connect the Uno board to your Macintosh with a USB cable. No driver installation is necessary

3. Make sure you can download a program (a “sketch”) from your computer to your Arduino

living with the lab Gerald RecktenwaldPortland State [email protected]

Page 2: Getting your Arduino to Work:  Macintosh

2

living with the lab

• download the installation file from the following website:

arduino.cc/en/Main/Software

• save the downloaded file to a folder on your computer

1. install Arduino IDEIDE = Integrated Development Environment

Page 3: Getting your Arduino to Work:  Macintosh

3

living with the lab

• navigate to the folder with the zip archive• double click on the arduino-1.0.1-macosx.zip file

Page 4: Getting your Arduino to Work:  Macintosh

4

living with the lab

• Drag the Arduino.app to the Applications Folder• Note that the “.app” extension may not be visible

Page 5: Getting your Arduino to Work:  Macintosh

2. Connect the Uno board to your Macintosh

living with the lab

Your computer will think you have connected a USB ModemIgnore this message – click Cancel

Page 6: Getting your Arduino to Work:  Macintosh

living with the lab

6

• double click this icon to run the Arduino software• right click the icon in your dock and select “Keep in Dock” for convenience

3. make sure everything works

Page 7: Getting your Arduino to Work:  Macintosh

living with the lab

7

The first time you launch the Arduino app, the operating system will ask if you really want to do this. Click Open

Page 8: Getting your Arduino to Work:  Macintosh

living with the lab

8

The first window to open is a blank “sketch”

Page 9: Getting your Arduino to Work:  Macintosh

living with the lab

9

Select “Arduino Uno” from the list of Boards

Page 10: Getting your Arduino to Work:  Macintosh

living with the lab

10

Select the serial port

• Select /dev/tty.usbmodemXXXXXX where XXXXXX will change when you connect a new board

• After connecting an Arduino to your Mac with a USB cable, always verify that a serial port is selected

Page 11: Getting your Arduino to Work:  Macintosh

living with the lab

11

• click File > Examples > 01.Basics > Blink• this will bring up a simple program on your computer screen

Test your setup with the built-in Blink sketch

Page 12: Getting your Arduino to Work:  Macintosh

living with the lab

12

clicking “upload” icon sends program to your Arduino

Page 13: Getting your Arduino to Work:  Macintosh

living with the lab

13

• the “TX” and “RX” LEDs will flash as the program is downloaded to the Arduino

• you will see the LED labeled “L” start blinking• this means that it works!!!

• also watch your computer screen to see the status

• if there’s a problem, it will show up here