### Lesson Plan: Understanding and Utilizing the Thermistor Temperature Sensor NTC MF52-103 3435 10K ohm 5% in Electronic Circuits
**Introduction**
In this lesson, we will explore the operational principles and practical applications of the Thermistor Temperature Sensor NTC MF52-103 3435 10K ohm 5%. Thermistors are temperature-sensitive resistors that change their resistance with changes in temperature, making them ideal for various temperature-sensing applications. By the end of this lesson, you will have a comprehensive understanding of its characteristics and how to incorporate it into your electronic projects.
**Learning Objectives**
Upon completing this lesson, you will be able to:
1. Identify the physical characteristics of the NTC MF52-103 Thermistor.
2. Explain the function of a thermistor and its role in electronic circuits.
3. Implement the thermistor in various circuit configurations to measure temperature.
**Materials Needed**
– Thermistor NTC MF52-103 3435 10K ohm 5%
– Breadboard
– Jumper wires
– Raspberry Pi Pico WH
– 10k-ohm resistor (for voltage divider)
– LED
– 330-ohm resistor
– Multimeter (optional)
– Thermometer (for calibration)
**Background Information**
The NTC (Negative Temperature Coefficient) MF52-103 thermistor is a temperature-sensitive resistor that decreases its resistance as the temperature increases. The “103” indicates a nominal resistance of 10k ohms at 25°C, and “3435” is the Beta value, a constant that describes the relationship between resistance and temperature for the thermistor.
**Thermistor Characteristics**
The NTC MF52-103 thermistor has two terminals:
– **Resistance Change**: The resistance varies inversely with temperature.
– **Sensitivity**: High sensitivity to temperature changes, making it suitable for precise temperature measurements.
**Principles of Operation**
Thermistors operate based on the temperature dependence of the resistance in semiconductor materials:
– **Temperature Sensing**: The resistance of the thermistor decreases as the temperature increases, which can be measured and converted into a temperature reading.
– **Voltage Divider**: The thermistor is typically used in a voltage divider circuit to produce a variable voltage output corresponding to the temperature.
**Circuit Diagram and Setup**
**Step-by-Step Instructions**
1. **Identify the Thermistor Terminals**:
– Note that thermistors are non-polarized, so they can be connected in any direction.
2. **Set Up the Breadboard Circuit**:
– Place the NTC MF52-103 thermistor on the breadboard.
– Connect one terminal of the thermistor to the 3.3V pin on the Raspberry Pi Pico WH.
– Connect the other terminal of the thermistor to one end of a 10k-ohm resistor.
– Connect the other end of the 10k-ohm resistor to the ground (GND) pin on the Raspberry Pi Pico WH.
– Connect the junction between the thermistor and the resistor to an ADC pin (e.g., GP26) on the Raspberry Pi Pico WH.
– Place an LED and a 330-ohm resistor in series on the breadboard to observe the effect of temperature changes.
– Connect the anode of the LED to a GPIO pin (e.g., GP15) on the Pico through the 330-ohm resistor.
– Connect the cathode of the LED to the ground.
3. **Write the Control Code**:
– Open your MicroPython IDE and write the following code to read the thermistor value and control the LED:
“`python
from machine import Pin, ADC
from time import sleep
import math
# Constants
BETA = 3435 # Beta value
T0 = 298.15 # Reference temperature in Kelvin (25°C)
R0 = 10000 # Resistance at T0 (10k ohm)
R_SERIES = 10000 # Series resistor value (10k ohm)
# Initialize the ADC and LED pin
adc = ADC(26)
led = Pin(15, Pin.OUT)
def read_temperature():
# Read the ADC value
adc_value = adc.read_u16()
# Calculate the thermistor resistance
thermistor_resistance = R_SERIES / ((65535 / adc_value) – 1)
# Calculate the temperature in Kelvin
temperature_k = 1 / (1/T0 + math.log(thermistor_resistance / R0) / BETA)
# Convert Kelvin to Celsius
temperature_c = temperature_k – 273.15
return temperature_c
while True:
temperature = read_temperature()
print(“Temperature:”, temperature, “°C”)
if temperature > 30: # Adjust the threshold as needed
led.on()
else:
led.off()
sleep(1)
“`
4. **Upload and Test the Code**:
– Connect your Raspberry Pi Pico WH to your computer using a Micro USB cable.
– Upload the code to the Raspberry Pi Pico WH.
– Observe the LED turning on and off based on the temperature measured by the thermistor. You can use a heat source or cold source to change the temperature and see the response.
5. **Optional: Measure Resistance and Temperature**:
– Use a multimeter to measure the resistance of the thermistor at different temperatures and compare it with the temperature readings from a calibrated thermometer.
**Applications and Extensions**
1. **Temperature Monitoring**:
– Use the thermistor to monitor temperature in various environments, such as room temperature, outdoor conditions, or within electronic devices.
– Implement temperature alarms to alert when temperatures exceed or drop below set thresholds.
2. **Thermostat Systems**:
– Integrate the thermistor into a thermostat system to control heating or cooling devices based on temperature readings.
– Experiment with different temperature setpoints and hysteresis to achieve stable temperature control.
3. **Data Logging**:
– Create a data logging system to record temperature readings over time, using an SD card or cloud-based storage.
– Analyze the recorded data to understand temperature patterns and trends.
**Summary and Review**
This lesson has provided a detailed exploration of the Thermistor Temperature Sensor NTC MF52-103 3435 10K ohm 5%, covering its identification, operational principles, and practical applications in electronic circuits. By understanding and utilizing thermistors, you can accurately measure and control temperature, enhancing the functionality and safety of your electronic projects.