Reference no: EM131748982
Microprocessor Systems Engineering Assignment: Setting Up the Arduino
Lab 1a:
Procedure:
• Watch the youtube video: Tutorial 01 for Arduino: Getting Acquainted with the Arduino.
• Download and install the Arduino IDE.
• Create a new Sketch and give it the name Lab1a_Blink_G000xxxxxx where you have included your Grantham ID into the file name.
• Type in the code provided in Chapter 1 for the Blink program and upload to the Arduino. Note that if the program is working correctly that the onboard LED will blink indefinitely.
• Capture a screenshot of your completed sketch.
Lab 1b:
Procedure:
• Adjust the Blink program such that the onboard LED stays on at all times.
• Connect a jumper wire to pin 13 of the Arduino and another jumper wire to the Ground pin.
• Upload your new program to the Arduino.
• With a Digital Multimeter, measure the exact voltage between pin 13 and ground.
• Take a picture of the Arduino board in run mode and include the voltage display of the DMM.
• Redesign your program to meet the following specifications:
o Over a 10 second period of time the onboard LED and pin 13 must exhibit a duty cycle of 40%
• Include a screenshot of your redesigned code and pictures of measurements of the DMM display to confirm the voltages during each portion of the cycle.
Analysis/Discussion:
• Explain the process you used in this lab to arrive at the final design of both the hardware portion and the software portion to achieve the design objectives.
• Review the following youtube short video on a product that features a similar (not the same) microcontroller as found on the Arduino.
• Discuss the following
o Based upon the knowledge and experience you have gained in the first lab, what features of this device and its "embedded" system could you already write software to control with the Arduino? Describe the features and provide a description of how you would go about achieving this functionality with the Arduino.
o What are some other products and features of those products for which the Arduino would be a possible candidate as that product's microcontroller? Describe the products, features and how you would envision the Arduino enabling each feature/functionality.