├── LICENSE ├── README.md ├── arduino_thermal_camera └── arduino_thermal_camera.ino └── infrared_videos ├── arduino.MP4 ├── arduino_oled.MP4 ├── boiling_water.MP4 ├── coffee.MP4 ├── cold_water.MP4 ├── fire.MP4 ├── gas_stove.MP4 ├── heater.MP4 ├── hot_water.MP4 ├── iron.MP4 ├── mixing_water.MP4 ├── soldering_iron.MP4 ├── tea.MP4 └── water_pot.MP4 /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 upir 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Arduino Infrared Camera 2 | Arduino Infrared Camera 3 | 4 | **YOUTUBE VIDEO: https://youtu.be/cKRsBncP3Vo** 5 | 6 | Links from the video: 7 | 8 | - Arduino UNO: https://s.click.aliexpress.com/e/_AXDw1h 9 | - Arduino breadboard prototyping shield: https://s.click.aliexpress.com/e/_ApbCwx 10 | - AMG8833 infrared sensor: https://s.click.aliexpress.com/e/_DliMiMb 11 | - SunFounder 8x8 RGB LED Display: https://s.click.aliexpress.com/e/_DFzrJab 12 | - AMG8833 IR 8*8 Mini Module: https://s.click.aliexpress.com/e/_DczEQ5d 13 | - Infrared documentation: https://learn.adafruit.com/adafruit-amg8833-8x8-thermal-camera-sensor/arduino-wiring-test 14 | - SunFounder 8x8 RGB LED documentation: http://wiki.sunfounder.cc/index.php?title=Full_Color_RGB_LED_Matrix_Driver_Shield_%2B_RGB_Matrix_Screen 15 | - Colorduino library: https://github.com/frederickk/Colorduino 16 | 17 | 18 | Get 10% discount for P2 thermal camera with code: P2PRO0602 19 | https://www.pergear.com/products/infiray-p2-pro 20 | 21 | 22 | ![THUMB_arduino_thermal_camera2](https://github.com/upiir/arduino_infrared_camera/assets/117754156/2f3cb6aa-7243-4bab-8f3e-4e7a5ee9918d) 23 | 24 | 25 | Small animation: 26 | 27 | ![arduino_thermal_camera_gif](https://github.com/upiir/arduino_infrared_camera/assets/117754156/ef1d8d1f-4701-491e-a540-dfb5645b2476) 28 | 29 | 30 | More Animations: 31 | 32 | 33 | ![infra_water](https://github.com/upiir/arduino_infrared_camera/assets/117754156/4cc52249-d1be-456e-abff-c23fbc1bde81) 34 | 35 | 36 | ![infra_hand](https://github.com/upiir/arduino_infrared_camera/assets/117754156/24b589c6-a112-4989-b076-3e776ce81f22) 37 | 38 | 39 | ![infra_fire](https://github.com/upiir/arduino_infrared_camera/assets/117754156/360e2169-dc8c-48e7-92f1-abe3323cce38) 40 | 41 | 42 | ![infra_cofee](https://github.com/upiir/arduino_infrared_camera/assets/117754156/920d8c31-888c-4dcf-acd8-b701febcfdde) 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | Screenshots from the video: 51 | 52 | ![CAMTASIA_arduino_thermal_camera (Time 0_00_01;13)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/6cbb9126-94b6-41d6-849b-27b54d4d88a8) 53 | ![CAMTASIA_arduino_thermal_camera (Time 0_00_26;14)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/6e8b2dbd-56a3-4b72-81b9-dfb493338abc) 54 | ![CAMTASIA_arduino_thermal_camera (Time 0_00_30;05)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/cfc6a109-7b34-4e40-ab2b-036cffbee6ec) 55 | ![CAMTASIA_arduino_thermal_camera (Time 0_00_49;13)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/b622f93a-02d5-427a-9a03-76fcc7665b1f) 56 | ![CAMTASIA_arduino_thermal_camera (Time 0_01_40;25)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/d95df019-da33-4ad5-8085-08af89dd81ca) 57 | ![CAMTASIA_arduino_thermal_camera (Time 0_02_33;08)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/179d52e5-0f4e-4695-8168-3b76ea42f2ed) 58 | ![CAMTASIA_arduino_thermal_camera (Time 0_03_45;26)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/167a0fb3-15af-4c41-b9ba-c15801f5e17f) 59 | ![CAMTASIA_arduino_thermal_camera (Time 0_04_24;05)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/4d6972e3-d1ad-4e0f-bafe-295616c6715c) 60 | ![CAMTASIA_arduino_thermal_camera (Time 0_07_25;11)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/933a8768-127a-467f-b3b9-22c5bf6cbd0e) 61 | ![CAMTASIA_arduino_thermal_camera (Time 0_07_43;18)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/464d2d10-f2c4-4b69-b519-d85f61497fbb) 62 | ![CAMTASIA_arduino_thermal_camera (Time 0_07_50;15)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/085e841d-da18-464f-84f1-7773f2eee698) 63 | ![CAMTASIA_arduino_thermal_camera (Time 0_08_46;18)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/102c400d-55be-458f-aaf9-505b97ae9b18) 64 | ![CAMTASIA_arduino_thermal_camera (Time 0_09_26;18)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/f645d9b4-47c4-45b2-9c36-468705b15c65) 65 | ![CAMTASIA_arduino_thermal_camera (Time 0_09_33;28)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/cb70d38c-9e07-4ea2-a66c-03d1a8a1bce3) 66 | ![CAMTASIA_arduino_thermal_camera (Time 0_09_46;21)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/c3aff6f9-d506-4a09-9181-a7f9aeb4f548) 67 | ![CAMTASIA_arduino_thermal_camera (Time 0_09_53;27)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/2eb84ae3-54f3-4f0c-83fd-aa2ed464adc1) 68 | ![CAMTASIA_arduino_thermal_camera (Time 0_09_59;25)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/0d447855-b872-4496-9154-179ed82db194) 69 | ![CAMTASIA_arduino_thermal_camera (Time 0_10_06;28)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/313c95a0-3e38-49d8-a4d7-fa6e98bb5972) 70 | ![CAMTASIA_arduino_thermal_camera (Time 0_10_20;08)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/3ab4e3b7-3ca4-4fdb-b3ce-69e98c066be4) 71 | ![CAMTASIA_arduino_thermal_camera (Time 0_10_45;06)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/aa3293aa-382a-4390-b157-3abc0887e549) 72 | ![CAMTASIA_arduino_thermal_camera (Time 0_11_06;00)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/9adb385b-f04c-4996-8e54-77cb78be8499) 73 | ![CAMTASIA_arduino_thermal_camera (Time 0_11_32;03)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/4903356a-7177-472d-8d59-15ad72c2d275) 74 | ![CAMTASIA_arduino_thermal_camera (Time 0_12_11;22)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/9a754920-7481-418d-847e-45f7f12ea234) 75 | ![CAMTASIA_arduino_thermal_camera (Time 0_12_33;04)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/c8bb2130-26d4-4821-bac1-46cc709eab2a) 76 | ![CAMTASIA_arduino_thermal_camera (Time 0_12_38;03)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/2f58d18f-0fd2-475a-9709-580a92cef321) 77 | ![CAMTASIA_arduino_thermal_camera (Time 0_12_53;07)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/0ee2a0be-94c0-4340-bc5f-c66dc251ee22) 78 | ![CAMTASIA_arduino_thermal_camera (Time 0_13_00;09)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/1d07e155-2937-4332-b586-5e4bfaebfef2) 79 | ![CAMTASIA_arduino_thermal_camera (Time 0_13_12;19)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/5c6575fb-57e3-4a8b-a688-908c0aa5f3ae) 80 | ![CAMTASIA_arduino_thermal_camera (Time 0_13_34;10)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/dfb844c8-0896-4008-a24d-badbced93cb7) 81 | ![CAMTASIA_arduino_thermal_camera (Time 0_14_05;16)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/9f5bd5c7-163f-4724-968e-7f59e4499ba4) 82 | ![CAMTASIA_arduino_thermal_camera (Time 0_14_47;16)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/bd81b0c4-8cbb-46ef-aae8-c5bd7c96650f) 83 | ![CAMTASIA_arduino_thermal_camera (Time 0_15_09;29)](https://github.com/upiir/arduino_infrared_camera/assets/117754156/8ddc2879-e34e-4b25-89dd-fb8dfdbead56) 84 | -------------------------------------------------------------------------------- /arduino_thermal_camera/arduino_thermal_camera.ino: -------------------------------------------------------------------------------- 1 | // Arduino UNO infrared camera using AMG8833 infrared sensor and SunFounder 8x8 RGB LED Display 2 | // created by upir 2023 3 | // youtube channel: www.youtube.com/upir_upir 4 | 5 | // Youtube video: https://youtu.be/cKRsBncP3Vo 6 | 7 | // Links from the video: 8 | // Arduino UNO: https://s.click.aliexpress.com/e/_AXDw1h 9 | // Arduino breadboard prototyping shield: https://s.click.aliexpress.com/e/_ApbCwx 10 | // AMG8833 infrared sensor: https://s.click.aliexpress.com/e/_DliMiMb 11 | // SunFounder 8x8 RGB LED Display: https://s.click.aliexpress.com/e/_DFzrJab 12 | // AMG8833 IR 8*8 Mini Module: https://s.click.aliexpress.com/e/_DczEQ5d 13 | // Infrared documentation: https://learn.adafruit.com/adafruit-amg8833-8x8-thermal-camera-sensor/arduino-wiring-test 14 | // SunFounder 8x8 RGB LED documentation: http://wiki.sunfounder.cc/index.php?title=Full_Color_RGB_LED_Matrix_Driver_Shield_%2B_RGB_Matrix_Screen 15 | // Colorduino library: https://github.com/frederickk/Colorduino 16 | 17 | // Looking for a bigger resolution? Try the InfiRay P2 Pro, and get 10% discount with code P2PRO0602 18 | // https://www.pergear.com/products/infiray-p2-pro 19 | 20 | 21 | 22 | #include // IIC communication 23 | #include // AMG8833 sensor for measuring temperatures 24 | #include // colorduino library for displaying on SunFounder 8x8 RGB LED display 25 | 26 | Adafruit_AMG88xx amg; 27 | 28 | float pixels[AMG88xx_PIXEL_ARRAY_SIZE]; // measured temperatures 29 | 30 | void setup() { 31 | 32 | Colorduino.Init(); // initialize the 8x8 RGB LED display 33 | Serial.begin(9600); // start serial communication 34 | Serial.println(F("AMG88xx pixels")); 35 | 36 | bool status; 37 | 38 | // default settings 39 | status = amg.begin(); 40 | if (!status) { 41 | Serial.println("Could not find a valid AMG88xx sensor, check wiring!"); 42 | while (1); 43 | } 44 | 45 | Serial.println("-- Pixels Test --"); 46 | 47 | Serial.println(); 48 | 49 | delay(100); // let sensor boot up 50 | } 51 | 52 | 53 | void loop() { 54 | //read all the pixels 55 | amg.readPixels(pixels); 56 | 57 | /* Serial.print("["); 58 | for(int i=1; i<=AMG88xx_PIXEL_ARRAY_SIZE; i++){ 59 | Serial.print(pixels[i-1]); 60 | Serial.print(", "); 61 | if( i%8 == 0 ) Serial.println(); 62 | } 63 | Serial.println("]"); 64 | Serial.println();*/ 65 | 66 | ColorRGB colorRGB; // red green blue color 67 | ColorHSV colorHSV; // hue saturation brigtness color 68 | 69 | // set every RGB LED on the 8x8 display 70 | for(int y = 0; y < ColorduinoScreenHeight; y++) { 71 | for(int x = 0; x < ColorduinoScreenWidth; x++) { 72 | 73 | colorHSV.h = map(pixels[y * 8 + x], 15, 30, 0, 255); // map the temperature to hue value 74 | colorHSV.s=255; // maximum saturation 75 | colorHSV.v=255; // maximum brightness 76 | Colorduino.HSVtoRGB(&colorRGB, &colorHSV); // convert hue saturation brightness values to red green and blue values 77 | 78 | Colorduino.SetPixel(x, y, colorRGB.r, colorRGB.g, colorRGB.b); // set the pixel 79 | } 80 | } 81 | 82 | Colorduino.FlipPage(); // swap screen buffers to show it 83 | 84 | // small delay 85 | delay(100); 86 | } 87 | -------------------------------------------------------------------------------- /infrared_videos/arduino.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/arduino.MP4 -------------------------------------------------------------------------------- /infrared_videos/arduino_oled.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/arduino_oled.MP4 -------------------------------------------------------------------------------- /infrared_videos/boiling_water.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/boiling_water.MP4 -------------------------------------------------------------------------------- /infrared_videos/coffee.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/coffee.MP4 -------------------------------------------------------------------------------- /infrared_videos/cold_water.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/cold_water.MP4 -------------------------------------------------------------------------------- /infrared_videos/fire.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/fire.MP4 -------------------------------------------------------------------------------- /infrared_videos/gas_stove.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/gas_stove.MP4 -------------------------------------------------------------------------------- /infrared_videos/heater.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/heater.MP4 -------------------------------------------------------------------------------- /infrared_videos/hot_water.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/hot_water.MP4 -------------------------------------------------------------------------------- /infrared_videos/iron.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/iron.MP4 -------------------------------------------------------------------------------- /infrared_videos/mixing_water.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/mixing_water.MP4 -------------------------------------------------------------------------------- /infrared_videos/soldering_iron.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/soldering_iron.MP4 -------------------------------------------------------------------------------- /infrared_videos/tea.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/tea.MP4 -------------------------------------------------------------------------------- /infrared_videos/water_pot.MP4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upiir/arduino_infrared_camera/9f62e0f6a39eaed7e7c96d73500fa62fa00e8976/infrared_videos/water_pot.MP4 --------------------------------------------------------------------------------