DIY Thermal Imaging Camera: How to build a Less-Expensive One

Posted by

Understanding Thermal Imaging

Before diving into the construction process, let’s briefly discuss what thermal imaging is and how it works. Thermal imaging cameras detect infrared radiation emitted by objects based on their temperature. Unlike regular cameras that capture visible light, thermal cameras create images using the heat signatures of objects. This allows you to see temperature variations, even in complete darkness or through obstacles like smoke or fog.

Infrared Radiation and Temperature

Every object with a temperature above absolute zero emits infrared radiation. The amount of radiation emitted depends on the object’s temperature and its emissivity, which is a measure of how effectively an object emits infrared radiation. The higher the temperature and emissivity, the more infrared radiation an object emits.

Thermal Camera Components

A thermal camera consists of several key components that work together to create a thermal image:

  1. Infrared Sensor: The heart of a thermal camera is the infrared sensor, which detects the infrared radiation emitted by objects in its field of view. The most common types of infrared sensors used in DIY Thermal Cameras are microbolometer arrays, which are uncooled and relatively affordable.

  2. Optics: The optics of a thermal camera, typically a germanium lens, focuses the infrared radiation onto the sensor. Germanium is used because it is transparent to infrared radiation, unlike regular glass.

  3. Image Processing: The raw data from the infrared sensor needs to be processed to create a visible thermal image. This is done using image processing algorithms that convert the temperature data into color or grayscale values.

  4. Display: Finally, the processed thermal image is displayed on a screen or saved to a storage device for later analysis.

Gathering the Components

To build your DIY thermal camera, you will need the following components:

  1. Infrared Sensor: We recommend using the AMG8833 IR thermal sensor array, which is an 8×8 pixel resolution sensor with an I2C interface. It is affordable and easy to use.

  2. Microcontroller: A microcontroller is needed to read the data from the infrared sensor and process it. We will be using an Arduino Nano, which is compact and has sufficient processing power for this project.

  3. Display: To visualize the thermal image, we will use a 1.8″ TFT LCD display with an SPI interface. This display has a resolution of 128×160 pixels, which is sufficient for our purpose.

  4. Optics: For the optics, we will use a germanium lens with a focal length of 10mm. This lens is specifically designed for thermal imaging applications and will focus the infrared radiation onto the sensor.

  5. Enclosure: To house all the components, you will need to 3D print or fabricate an enclosure. We will provide the necessary 3D model files for printing.

  6. Miscellaneous: You will also need some connecting wires, a breadboard, and a power source (e.g., a 9V battery).

Here’s a table summarizing the components and their approximate costs:

Component Approximate Cost
AMG8833 IR Sensor $30
Arduino Nano $10
1.8″ TFT LCD $15
Germanium Lens $50
3D Printed Enclosure $10
Miscellaneous $10
Total $125

As you can see, the total cost of the components is around $125, which is significantly less expensive than a commercial thermal camera.

Assembling the DIY Thermal Camera

Now that you have gathered all the necessary components, let’s start assembling the thermal camera.

Step 1: Connect the AMG8833 IR Sensor

  1. Connect the VCC pin of the AMG8833 to the 3.3V pin of the Arduino Nano.
  2. Connect the GND pin of the AMG8833 to the GND pin of the Arduino Nano.
  3. Connect the SDA pin of the AMG8833 to the A4 pin of the Arduino Nano.
  4. Connect the SCL pin of the AMG8833 to the A5 pin of the Arduino Nano.

Step 2: Connect the 1.8″ TFT LCD Display

  1. Connect the VCC pin of the TFT LCD to the 5V pin of the Arduino Nano.
  2. Connect the GND pin of the TFT LCD to the GND pin of the Arduino Nano.
  3. Connect the SCK pin of the TFT LCD to the D13 pin of the Arduino Nano.
  4. Connect the SDA pin of the TFT LCD to the D11 pin of the Arduino Nano.
  5. Connect the RES pin of the TFT LCD to the D8 pin of the Arduino Nano.
  6. Connect the DC pin of the TFT LCD to the D9 pin of the Arduino Nano.
  7. Connect the CS pin of the TFT LCD to the D10 pin of the Arduino Nano.

Step 3: Mount the Germanium Lens

  1. Carefully mount the germanium lens in front of the AMG8833 IR sensor.
  2. Ensure that the lens is properly aligned with the sensor and securely fastened.

Step 4: Upload the Arduino Code

  1. Download the necessary Arduino libraries for the AMG8833 sensor and the TFT LCD display.
  2. Open the Arduino IDE and create a new sketch.
  3. Copy and paste the provided Arduino code into the sketch.
  4. Compile and upload the code to the Arduino Nano.

Step 5: Assemble the Enclosure

  1. 3D print or fabricate the enclosure based on the provided 3D model files.
  2. Carefully place the assembled components inside the enclosure.
  3. Secure the components and make sure there is proper ventilation.

Testing and Calibration

Once you have assembled the DIY thermal camera, it’s time to test and calibrate it.

  1. Power on the thermal camera and wait for the TFT LCD display to show the thermal image.
  2. Aim the camera at various objects with different temperatures and observe the thermal image.
  3. If necessary, adjust the color scheme or temperature range in the Arduino code to optimize the visualization.
  4. Calibrate the thermal camera by comparing its readings with a known temperature reference, such as a thermometer or a commercial thermal camera.

Applications and Experiments

Now that you have a functional DIY thermal camera, you can explore various applications and experiments. Here are a few ideas:

  1. Home Energy Audit: Use the thermal camera to identify areas of heat loss or poor insulation in your home, such as drafty windows or doors.

  2. Electronics Inspection: Detect overheating components or thermal issues in electronic circuits using the thermal camera.

  3. Wildlife Observation: Observe nocturnal animals or track the thermal signatures of wildlife in their natural habitats.

  4. Art Projects: Create unique thermal art by capturing the heat signatures of objects or people.

  5. Science Experiments: Conduct experiments involving heat transfer, thermal conductivity, or the effects of different materials on temperature.

Frequently Asked Questions (FAQ)

  1. Q: Can I use a different infrared sensor or microcontroller?
    A: Yes, you can use different components, but you may need to modify the Arduino code and connections accordingly.

  2. Q: What is the resolution and accuracy of this DIY thermal camera?
    A: The resolution is limited by the 8×8 pixel AMG8833 sensor, and the accuracy is around ±2.5°C (±4.5°F).

  3. Q: Can I add features like video recording or Wi-Fi connectivity?
    A: Yes, you can expand the functionality by adding additional modules or modifying the code, but it will increase the complexity of the project.

  4. Q: Is it safe to use the DIY thermal camera for medical purposes?
    A: No, this DIY thermal camera is not intended for medical use and should not be relied upon for diagnostic purposes.

  5. Q: How can I improve the thermal image quality?
    A: You can try using a higher resolution infrared sensor, optimizing the optics, or applying more advanced image processing techniques in the code.

Conclusion

Building your own DIY thermal camera is an exciting and rewarding project that allows you to explore the fascinating world of thermal imaging at a fraction of the cost of commercial cameras. By following this guide and using affordable components like the AMG8833 IR sensor and Arduino Nano, you can create a functional thermal camera for around $125.

Remember to handle the components with care, especially the germanium lens, and always prioritize safety when working with electronics. Once you have assembled and calibrated your DIY thermal camera, you can use it for a wide range of applications, from home energy audits to wildlife observation and creative art projects.

As you gain more experience with thermal imaging, you may want to explore further improvements and modifications to your DIY thermal camera, such as adding advanced features or upgrading the components for better performance.

So, go ahead and embark on this exciting journey of building your own thermal imaging camera. Who knows what fascinating discoveries and applications await you in the world of infrared radiation?

Leave a Reply

Your email address will not be published. Required fields are marked *