One can use AMG8833 Grid-EYE thermal sensor to monitor an object.
For an example of operation, visit http://mkwak.org/tsens/list8833.php?no=529471
A full story of this work is available at http://dx.doi.org/10.1002/bkcs.12528. Please cite the article if you find this code is useful: Bull. Kor. Chem. Soc. 2022.
- Assemble parts for the thermal sensor - (https://github.com/mkwak/tsens/blob/main/device/pin_mapping.png)
- Edit lines 16-17 of 'amg8833atMCU' with your own wi-fi setting
- Edit line 24 of 'amg8833atMCU' with your own web address for sending T-values
- Edit line 29 of 'amg8833atMCU' with your own recording interval (amg_time = 5000, default is 5 second)
- Upload the code to your MCU board
- Turning its power on will start measurement of temperature
- On MySQL (or MariaDB), run 'schema.sql' to create an empty table
$ mysql -h localhost -u USERNAME -p DBNAME < schema.sql
- Copy all files to a php-enabled folder with access
- Make 'images' folder with write permission for all (chmod 777)
- Edit 'mysql_setting.php' with your server account
- Run 'list8833.php' to navigate recorded data
- Developed and tested under PHP 7 (GD enabled), MySQL 8, and Apache 2 on Ubuntu 20.04
- For MySQL insertion through HTTP-post, we edited a PHP code from Rui Santos to make the PHP work with 8x8 IR sensor. : https://RandomNerdTutorials.com/esp32-esp8266-mysql-database-php/
- Total number of recording less than 60 won't be visible on the list page (line 10 on 'list8833.php')
- Tip#1: Use imageMagick to generated animated GIF files. On command line interface:
$ convert -delay 20 -loop 0 529471_*.png 529471_movie.gif
- Bug: eyes8833.php does not run on PHP 5
