Thermal imaging board aimed to be used with the PinePhone. It uses the Panasonic AMG8833 sensor.
Sensor is attached to the pogo pin expansion port on the back of the PinePhone and to the I2C port exposed here. It is numbered as i2c-3 in multiple operating systems. To expose the pogo pins I use my other design which is the flex PCB shown in the pictures.
- Pullup - 0x69
- Pulldown - 0x68
For the initial tests we use i2c-tools To install in Mobian:
sudo apt-get update && sudo apt-get install i2c-tools -y
To install in Manjaro:
sudo pacman -Syu && sudo pacman -S i2c-tools
To check for I2C ports available:
i2cdetect -l
To check for devices in an specific port in this case in port i2c-3 which is the one exposed on the back of the Pinephone:
i2cdetect -y 3
To read a register on the sensor we use i2cget then give the port number "3" then the address of the sensor "0x68" and last the register we want to read in this case "0x80" which gives you a value that represents the temperature read by one of the pixels in the sensor:
i2cget 3 0x68 0x80
Tests drivers I have been creating to test the system will be located here Drivers repo
The design was created using DipTrace
You can get the board from OSH Park using this direct link to order the project.
Released under the Creative Commons Attribution 3.0 License https://creativecommons.org/licenses/by/3.0/