maxritter / diy-thermocam

A do-it-yourself thermal imager, compatible with the FLIR Lepton 2.5, 3.1R and 3.5 sensor with Arduino firmware
http://www.diy-thermocam.net
GNU General Public License v3.0
1.1k stars 174 forks source link

ArduCAM 5MP instead of ArduCAM 2MP #10

Closed momu closed 6 years ago

momu commented 6 years ago

Hi, while compiling the BOM for my camera I saw that on watterott the 2MP Arducam is not available but there is a 5MP version. Can you tell if this one will also work without further changes? Thanks, Moritz

maxritter commented 6 years ago

Dear Moritz,

the 5MP version uses a different image sensor (OV5642) than the 2MP version (OV2640).

The OV5642 is currently not supported by the firmware. You may need to adjust this file: https://github.com/maxritter/DIY-Thermocam/blob/master/Firmware/Source/Hardware/Camera/Camera.h

You can get the sources for the OV5642 from here: https://github.com/ArduCAM/Arduino/tree/master/ArduCAM. It's located in Arducam.cpp and the ov5642_regs.h.