groupgets / LeptonModule

Code for getting started with the FLIR Lepton breakout board
https://groupgets.com/manufacturers/flir/products/flir-lepton
BSD 2-Clause "Simplified" License
317 stars 197 forks source link

Extracting RAD Spotmeter Value using the Arduino UNO #72

Open acgvar opened 4 years ago

acgvar commented 4 years ago

I have managed to acquire some parameters through the Arduino UNO.

Unfortunately, I'm having some issues when acquring RAD spotmeter values according to: https://lepton.flir.com/wp-content/uploads/2019/02/flir-lepton-software-interface-description-document-303.pdf

Created the following function for this but when I ran the read_data() after running this, I get zero payload from the read_data() module:

Wire.beginTransmission(0x2A); Wire.write(0x00); Wire.write(0x06);//DATALEN_REG Wire.write(0x00); Wire.write(0x02);//Data lenght bytes //IDD says words. Wire.endTransmission();

Wire.beginTransmission(0x2A); Wire.write(0x00); Wire.write(0x04); //COMMANDID_REG Wire.write(0x4e); Wire.write(0xd0); error = Wire.endTransmission();

Any tips on how to acquire the RAD spotmeter value from a FLiR Lepton 3.0 attached to an Arduino UNO via your code?

Have a nice day!