living with the lab David Hall Louisiana Tech University [email protected] Getting your Arduino to Work: Microsoft Windows 1.

Download Report

Transcript living with the lab David Hall Louisiana Tech University [email protected] Getting your Arduino to Work: Microsoft Windows 1.

living with the lab

David Hall

Louisiana Tech University [email protected]

Getting your Arduino to Work: Microsoft Windows 1. Install Arduino programming environment 2. Install Arduino Uno driver 3. 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 2

living with the lab

• • • find the file that you downloaded on your computer copy this file to the hard drive location where you want to install the Arduino software double click on Compressed file to view Arduino-related files 3

living with the lab

• • navigate to this folder double click on the arduino application • • • click on “Extract all” this will take a few minutes when finished, plug in your Arduino with the USB cable 4

living with the lab

2. install driver

click on “Hardware and Sound” 5

living with the lab

click on “Device Manager” 6

living with the lab

• • computer is not recognizing your Arduino double click on the “Unknown device” 7

living with the lab

click on “Update Driver” 8

living with the lab

click on “Browse my computer for driver software” 9

living with the lab

browse for the folder where you extracted the Arduino software

NOTE:

If you are using Windows 8 and have a problem after clicking “Next,” then go to slide 21 10

living with the lab

select folder where Arduino software was extracted . . . Windows will automatically search subdirectories 11

living with the lab

you will need to “Install this driver software anyway” if you want to install Arduino 12

living with the lab

you should get a message like this one if everything goes OK 13

living with the lab

notice that your Arduino is now recognized 14

living with the lab

3. make sure everything works

• • double click this icon to run the Arduino software right click and pin to your taskbar for a convenient shortcut 15

living with the lab

• click Tools > Board (Arduino Uno should be highlighted) 16

living with the lab

• • • • click Tools > Serial Port click in the box beside the COM port if a checkmark is not present (this will make a checkmark appear if one was not there already) the checkmark means that your computer sees your Arduino if no checkmark appears, go back to Device Manager to see what’s up 17

living with the lab

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

living with the lab

• clicking “upload” icon sends program to your Arduino 19

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 20

living with the lab

windows 8 issue: when installing the drivers, you may experience the error below

A solution to this problem is available at http://arduino.cc/forum/index.php?topic=94651.15

21

living with the lab

complete the procedure below: http://arduino.cc/forum/index.php?topic=94651.15

1. Windows Key + R 2. Enter shutdown.exe /r /o /f /t 00 3. Click the "OK" button 4. System will restart to a "Choose an option" screen 5. Select "Troubleshoot" from "Choose an option" screen 6. Select "Advanced options" from "Troubleshoot" screen 7. Select "Startup Settings" from "Advanced options" screen 8. Click "Restart" button 9. System will restart to "Advanced Boot Options" screen 10. Select "Disable Driver Signature Enforcement" 11. Once the system starts, install the Arduino drivers as you would on Windows 7 after your computer restarts, return to slide 5 and continue the installation

Another method is presented in this YouTube video:

http://www.youtube.com/watch?v=CdE72XUYC7k 22