PLEASE FOLLOW ALL DIRECTIONS!
If your computer already has ArduinoUploader please skip to “Flashing the Arduino”
The first step in this lab is to download the software required. The necessary files can be found on the ESE 205 website under the Arduino link. You will need the compiled firmware file (main.hex), the Arduino Uploader folder (ArduinoUploader), and the folder containing the MATLAB functions (synthscope-lab).
1.
Save both the firmware file and the Arduino Uploader folder to the C drive (C:\users).
a.
NOTE: RCA computers only need main.hex if not present in C:\users.
2.
Cut or copy main.hex and place it in the ArduinoUploader folder.
a.
NOTE: Not required on RCA computers
3.
Save the MATLAB functions to your S drive (remember this location).
a.
NOTE: MATLAB Functions are found on 205 website, not BlackBoard.
-Flashing the Arduino- (Windows XP/Vista)
1.
Connecting Arduino to computer
a.
Right-click on “My Computer” on the desktop
b.
Click “Properties”
c.
Change the tab to “Hardware”
d.
Click “Device Manager”
e.
Click “OK” when error message opens
f.
Open up “Ports (COM & LPT)” by clicking the “+” sign
g.
Knowing which ports are currently displayed, plug USB cable into Arduino and then a free USB socket on computer
h.
The new COM port number is the Arduino board
i.
If this new COM number is greater than 9 (ie, contains 2 digits)
Example, COM10, COM 24, etc
i.
Right-click on the port
ii.
Select “Properties”
iii.
Click the “Port Settings” tab
iv.
Click “Advanced”
v.
Change “COM Port Number” to a lower, single digit port that is open (not present In the list)
Example: if COM12, change to COM5
vi.
Click “OK”
vii.
Click “OK”
viii.
After this, even though the port number did not change in the list the Arduino will be assigned this new number
j.
Make a note of this number
2.
Opening command prompt
a.
Click “Start” button
b.
Click “Run”
c.
Type “cmd” for the command prompt
d.
Type in (if not already in C:\users) :
chdir C:\users\
i.
If installed on home computer, use directory where Arduino Uploader is located
e.
In the command prompt, type the following with a single space in between:
avrdude (the program to flash the board)