sensor-experiments

Introduction

This experiment shows how to use a thermopile array to detect heat variations and temperature differences.

Components Needed

No Ads Available.

Circuit Setup

  1. Connect the thermopile sensor's VCC to 3.3V or 5V depending on the model.
  2. Connect the output to an analog pin (e.g., A0) on the Arduino.

The sensor will measure heat variation, which will be processed by the Arduino.

Code for Heat Detection

Upload the following code to your Arduino to detect heat variations:


const int thermopilePin = A0;

void setup() {
  Serial.begin(9600);
}

void loop() {
  int sensorValue = analogRead(thermopilePin);
  Serial.println(sensorValue);
  delay(500);
}
            

Explanation

The thermopile array detects temperature differences by converting infrared radiation into an electrical signal, which is then read by the Arduino.

Troubleshooting

Contact Us

If you have any questions or inquiries, feel free to reach out to us at Microautomation.no@icloud.com .

Follow our Socials for the newest updates!