0

AMG8833 Library
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

AMG8833 Library

by cplymill on Tue Sep 21, 2021 9:56 am

I have several of these breakout boards. I have been using the AMG8833 1.2 library and updated it today to 1.2.1 All of the sensors are now reading bad data. What has changed with the library?

cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

Re: AMG8833 Library

by cplymill on Wed Sep 22, 2021 11:26 am

Is anyone having an issue with the AMG8833 library?

cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

Re: AMG8833 Library

by franklin97355 on Wed Sep 22, 2021 11:31 am

I'll ask them to check this out. can you give me the code you are using and the results of that code?

franklin97355
 
Posts: 22267
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: AMG8833 Library

by cplymill on Wed Sep 22, 2021 11:39 am

I tested with this - https://github.com/RobotHacker/WebBasedThermalCamera

It works great with 1.2 but when I use 1.2.1 all of the data is way off. I am not at my programming computer right now. I have a theory now that I have looked at the code again. Maybe they can say right away. Appreciate the support. I have tested in on 8 different boards. (AMG8833 breakouts purchased from Adafruit)

cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

Re: AMG8833 Library

by adafruit_support_carter on Wed Sep 22, 2021 1:22 pm

Can you clarify what the 1.2.1 release version is? There's a 1.2.0 release, but not a 1.2.1:
https://github.com/adafruit/Adafruit_AMG88xx/releases

adafruit_support_carter
 
Posts: 21423
Joined: Tue Nov 29, 2016 2:45 pm

Re: AMG8833 Library

by cplymill on Thu Sep 23, 2021 8:59 am

It is the version that comes up in Arduino library manager. It asked me to update so I did. :)

Here is a link to it on the web. - https://www.arduinolibraries.info/libra ... xx-library

cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

Re: AMG8833 Library

by cplymill on Thu Sep 23, 2021 9:03 am

Screen Shot 2021-09-23 at 8.01.16 AM.png
Photo of library in Arduino IDE.
Screen Shot 2021-09-23 at 8.01.16 AM.png (235.2 KiB) Viewed 978 times
I took a picture too. Here you go.

cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

Re: AMG8833 Library

by adafruit_support_carter on Thu Sep 23, 2021 4:55 pm

OK, there are a couple of things happening. The 1.2.1 release was done with a typo in the version number (2.1.1 instead of 1.21) on the release page. It was correct in library.properties. This may have caused some of this. However, that release was also a fairly significant change to how the I2C comms worked under the hood.

What Arduino board are you using? Fixing the release typo is easy. But also want to make sure the change did not actually break something. It's working here on a test platform. But there are many other flavors of Arduino out there and maybe yours does not like the new change?

adafruit_support_carter
 
Posts: 21423
Joined: Tue Nov 29, 2016 2:45 pm

Re: AMG8833 Library

by cplymill on Fri Sep 24, 2021 2:15 pm

ESP32

cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

Re: AMG8833 Library

by adafruit_support_carter on Fri Sep 24, 2021 3:48 pm

Thanks. Does look like there is an issue. Opened a new issue here for tracking:
https://github.com/adafruit/Adafruit_BusIO/issues/64

adafruit_support_carter
 
Posts: 21423
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.