130 likes | 239 Views
Gerald Recktenwald Portland State University gerry@me.pdx.edu. 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
E N D
Gerald RecktenwaldPortland State Universitygerry@me.pdx.edu 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 Make sure you can download a program (a “sketch”) from your computer to your Arduino
living with the lab 1. install Arduino IDE IDE = Integrated Development Environment • download the installation file from the following website: • arduino.cc/en/Main/Software • save the downloaded file to a folder on your computer
living with the lab • navigate to the folder with the zip archive • double click on the arduino-1.0.1-macosx.zip file
living with the lab • Drag the Arduino.app to the Applications Folder • Note that the “.app” extension may not be visible
living with the lab 2. Connect the Uno board to your Macintosh Your computer will think you have connected a USB Modem Ignore this message – click Cancel
living with the lab 3. make sure everything works • double click this icon to run the Arduino software • right click the icon in your dock and select “Keep in Dock” for convenience
living with the lab The first time you launch the Arduino app, the operating system will ask if you really want to do this. Click Open
living with the lab The first window to open is a blank “sketch”
living with the lab Select “Arduino Uno” from the list of Boards
living with the lab 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
living with the lab Test your setup with the built-in Blink sketch • click File > Examples > 01.Basics > Blink • this will bring up a simple program on your computer screen
living with the lab clicking “upload” icon sends program to your Arduino
living with the lab • 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