getting your arduino to work: macintosh
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 PresentationTRANSCRIPT
![Page 1: Getting your Arduino to Work: Macintosh](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/1.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/3.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/5.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/8.jpg)
living with the lab
8
The first window to open is a blank “sketch”
![Page 9: Getting your Arduino to Work: Macintosh](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/9.jpg)
living with the lab
9
Select “Arduino Uno” from the list of Boards
![Page 10: Getting your Arduino to Work: Macintosh](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/10.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/11.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/12.jpg)
living with the lab
12
clicking “upload” icon sends program to your Arduino
![Page 13: Getting your Arduino to Work: Macintosh](https://reader035.vdocuments.mx/reader035/viewer/2022062410/56815d76550346895dcb83ed/html5/thumbnails/13.jpg)
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