AMG8833 Library

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
cplymill
 
Posts: 6
Joined: Wed Mar 23, 2011 8:02 am

AMG8833 Library

Post by cplymill »

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?

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

Re: AMG8833 Library

Post by cplymill »

Is anyone having an issue with the AMG8833 library?

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: AMG8833 Library

Post by Franklin97355 »

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

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

Re: AMG8833 Library

Post by cplymill »

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)

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: AMG8833 Library

Post by adafruit_support_carter »

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

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

Re: AMG8833 Library

Post by cplymill »

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

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

Re: AMG8833 Library

Post by cplymill »

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

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: AMG8833 Library

Post by adafruit_support_carter »

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?

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

Re: AMG8833 Library

Post by cplymill »

ESP32

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: AMG8833 Library

Post by adafruit_support_carter »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”