Online Experiment 2 Temperature Sensors: Procedure: 1. Create An Account In: 2. Create This Circuit
Online Experiment 2 Temperature Sensors: Procedure: 1. Create An Account In: 2. Create This Circuit
Procedure:
1. Create an account in: https://www.tinkercad.com/circuits
2. Create this circuit:
Note:
a. The sensor is a temperature sensor
b. Set the resistor’s value to 220Ω.
ECE132L MALAYAN COLLEGES LAGUNA
INSTRUMENTATION AND CONTROLS (LAB) ENGINEER DONOVAN PAUL U. DOROIN
int celsius = 0;
int fahrenheit = 0;
void setup()
pinMode(A0, INPUT);
Serial.begin(9600);
pinMode(13, OUTPUT);
pinMode(11, OUTPUT);
pinMode(9, OUTPUT);
void loop()
baselineTemp = 40;
// convert to Fahrenheit
Serial.print(celsius);
Serial.print(" C, ");
Serial.print(fahrenheit);
Serial.println(" F");
digitalWrite(13, LOW);
digitalWrite(11, LOW);
digitalWrite(9, LOW);
digitalWrite(13, HIGH);
digitalWrite(11, LOW);
digitalWrite(9, LOW);
digitalWrite(13, HIGH);
digitalWrite(11, HIGH);
digitalWrite(9, LOW);
digitalWrite(13, HIGH);
digitalWrite(11, HIGH);
digitalWrite(9, HIGH);
digitalWrite(13, HIGH);
digitalWrite(11, HIGH);
digitalWrite(9, HIGH);
}
ECE132L MALAYAN COLLEGES LAGUNA
INSTRUMENTATION AND CONTROLS (LAB) ENGINEER DONOVAN PAUL U. DOROIN
4. Simulate the circuit. Slide the temperature on the sensor left and right.
5. Explain the operation of the circuit. Don’t forget to mention the purpose of the sensor.
6. Identify an application of this circuit that is relevant in your program.
Instructions:
Please submit this word file with your answers on or before May 23 (Sat).
Only 1 member per group will be required to submit in BBL. Please indicate names of all
groupmates in alphabetical order
Please do not meet up with your groupmates. You may communicate online
Laboratory report will now be done individually. Please submit yours through BBL.
o Filename: Course_Section_Lastname_Firstname_Exp#