Skip to content

This repository contains the necessary code to interface with an AMG8833 thermal imaging sensor using an Arduino Uno board. The code enables you to capture temperature data from the sensor and visualize it as a live heatmap image.

Notifications You must be signed in to change notification settings

MAzewail/AMG8833-Thermal-Imaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMG8833 Thermal Imaging Sensor with Arduino Uno

This repository contains the necessary code to interface with an AMG8833 thermal imaging sensor using an Arduino Uno board. The code enables you to capture temperature data from the sensor and visualize it as a live heatmap image.

Thermal Image

Prerequisites

Before running the program, you need to ensure you have the following hardware components:

  • Arduino Uno board
  • AMG8833 thermal imaging sensor
  • Jumper wires
  • USB cable for connecting the Arduino to your computer

Dependencies

The Arduino code relies on the following libraries:

The Python code requires the following libraries to be installed:

  • PySerial: Library for serial communication with Arduino.
  • NumPy: Fundamental package for scientific computing with Python.
  • Matplotlib: Library for creating visualizations in Python.

You can install the Python dependencies using the following command:

pip install pyserial numpy matplotlib

Circuit Diagram

To connect the AMG8833 sensor to the Arduino Uno, follow the circuit diagram below:

+---------+     +-----------------+
| AMG8833 |     |     Arduino     |
+---------+     +-----------------+
| Vin     |-----| 5V              |
| GND     |-----| GND             |
| SDA     |-----| A4 (SDA)        |
| SCL     |-----| A5 (SCL)        |
+---------+     +-----------------+

Usage

  1. Connect the AMG8833 sensor to the Arduino Uno following the circuit diagram provided.

  2. Upload the Arduino code (amg8833_arduino.ino) to your Arduino board using the Arduino IDE.

  3. Connect your Arduino Uno to your computer using the USB cable.

  4. Open the Python script (amg8833_python.py) and update the PORT variable with the appropriate serial port on your system.

  5. Run the Python script using the following command:

    python amg8833_python.py
    ```
    
    This will open a window displaying the live thermal heatmap image captured by the sensor.
    
    

Customization

  • You can modify the Python code (amg8833_python.py) to adjust the visualization settings, such as color mapping, minimum and maximum temperature thresholds, etc.

  • Explore the Adafruit_AMG88xx library documentation to learn more about the available functions for interacting with the AMG8833 sensor.

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

  • The Adafruit_AMG88xx library for providing an easy-to-use interface for the AMG8833 sensor.

  • The Arduino community for their support and contributions.

Contact

If you have any questions or need further assistance, feel free to contact Mohamed Abdallah at [email protected].

About

This repository contains the necessary code to interface with an AMG8833 thermal imaging sensor using an Arduino Uno board. The code enables you to capture temperature data from the sensor and visualize it as a live heatmap image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published