Reference no: EM131172695
1. Using Sensors with an Arduino
Lab 3a:
Procedure:
• Watch the videos:
o Tutorial 03 for Arduino: Electrical Engineering Basics(https://www.youtube.com/watch?v=abWCy_aOSwY)
o Tutorial 04 for Arduino: Analog Inputs (https://www.youtube.com/watch?v=js4TK0U848I)
o TechBits 13 - Analog and Digital Signals (https://www.youtube.com/watch?v=Z3rsO912e3I)
Construct the breadboard circuit and implement the program presented in the video to create an adaptable night light and detailed in Chapter
2 (pp.35-39) of your textbook.
Lab 3b:
Procedure:
This week's lab will simulate the coffee maker heater functionality we saw in Week 1. The difference in our program and the actual coffee maker is that instead of turning on a heating element, our program will blink an LED.
Design a circuit and Arduino program that expands the concepts explained in Chapter 3 ( pp. 52- 59) of your textbook and accomplishes the following:
o Blinks an LED when the temperature of a temperature sensor is at or below room temperature for more than 5 seconds
o If the temperature exceeds room temperature for more than 5 seconds, the LED will turn off.
Include a video of your circuit in operation and any computer screenshots during its operation. Please include your Grantham ID number in the video to show your work.
Send your code file (.ino) of the lab completed and operational as well for credit.
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.
Investigate how a temperature sensor such as the TMP36 used in this lab works. In other words, describe the relationship between the values read from this device and how it correlates to temperature.
Why is this device also referred to as a "transducer"? What are some other common types of transducers that you are familiar with?
Measure the output voltage of the TMP36 at the point at which the program turns the LED off with a digital multi-meter. Take a picture of the digital multi-meter to verify that proper measurement has been made.
How does the previous measurement compare to the information found in the following plot of output voltage versus temperature?
![1875_Output Voltage vs Temperature.jpg](https://secure.expertsmind.com/CMSImages/1875_Output%20Voltage%20vs%20Temperature.jpg)
Answer these questions and submit with code and screenshots of your circuit and program.