Real Time Embedded Systems Lab – Prepared by Dr Liam Noonan & Elaine Tynan Lab 7 – Arduino Uno 1. In this lab you will check the Arduino Uno hardware settings to confirm what port it uses, look at...

Real Time Embedded Systems Lab – Prepared by Dr Liam Noonan & Elaine Tynan
Lab 7 – Arduino Uno
1. In this lab you will check the Arduino Uno hardware settings to confirm what port it uses,
look at sketch code and then use Atmel Studio.
2. Plug the usb cable into the arduino and plug the other end in to the pc.
3. Use Device manager (under Ports) to verify if the Arduino is recognised. If it is not it will
appear as an unknown device. If it appears as unknown device select the option to update
the driver and browse to C:\arduino-1.0.3-windows\arduino-1.0.3\drivers and click next
4. Confirm the port that the Arduino uses in Device Manager, this is available in the Ports
section of Device Manager e.g. COM3. NOTE: you may need to change this port throughout
this lab as your Arduino could install on a different port.
5. Insert a LED into pin 13 & GND (long connection in pin 13)
6. Download and install the Arduino IDE application from
https://www.arduino.cc/en/Main/Software
7. Change the serial port in the Tools section to match the port number in step 3 (Tools -> Port
-> COM3)
8. Open the example program File – Examples – Basics Blink (File -> Examples -> 01. Basics ->
Blink)
9. Click the upload icon and note the sketch size and verify its size, note the behaviour of the
Arduino (Sketch -> Upload)
10. Change the blink time to 5 seconds (5 seconds on & 5 seconds off) save it as your student
number & upload again
11. Browse to C:\arduino-1.0.3-windows\arduino XXXXXXXXXXOr download from moodle if not on
your pc)
12. Right click prog_m328.bat and select edit
13. Change the com port option to match device settings in step 3
14. Document program_blink.bat file
a. Double click program_blink file and note the output of the program and record
entries that start with avrdude in the output (Take note of what changes with your
Arduino)
Complete the quiz captioned Lab 07 Quiz.
You must demo the Arduino running the blink program from the Arduino IDE and Atmel studio to
receive any marks for this lab.
https://www.arduino.cc/en/Main/Software
May 03, 2021

Submit New Assignment

Copy and Paste Your Assignment Here