I just bought this IR camera and trying to test it with the example on arduino IDE: MLX90640_simpletest
I use the Feather HUZZAH with ESP8266 With Headers and connect the sensor with I2C with STEMMA
The sketch seems to compile without problem but there is no output on the serial monitor,it seems that the serial output is "frozen"
Any idea?
Attached File: Compiler output
90640 IR camera
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
90640 IR camera
- Attachments
-
- 90640simpleOutput.txt
- (63.11 KiB) Downloaded 8 times
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: 90640 IR camera
You don't even see
That's the first thing that gets printed and doesn't require anything special from the MLX:
https://github.com/adafruit/Adafruit_ML ... st.ino#L15
printed in the serial monitor?Adafruit MLX90640 Simple Test
That's the first thing that gets printed and doesn't require anything special from the MLX:
https://github.com/adafruit/Adafruit_ML ... st.ino#L15
- sj_remington
- Posts: 1021
- Joined: Mon Jul 27, 2020 4:51 pm
Re: 90640 IR camera
Check the serial monitor baud rate. It should match the Serial.begin() baud rate.
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
Re: 90640 IR camera
Yes, that was the first thing I did, I also changed the USB cable and verified all connections to the camera. I also tested the output with the basic examples: Blink and ASCII tables display on the monitor. All worked fine...
- sj_remington
- Posts: 1021
- Joined: Mon Jul 27, 2020 4:51 pm
Re: 90640 IR camera
Disconnect the sensor completely and run the program again. If it doesn't print, the problem is not in the sensor.
Printing is the first thing the program does, and that is independent of sensor presence.
Printing is the first thing the program does, and that is independent of sensor presence.
Code: Select all
void setup() {
while (!Serial) delay(10);
Serial.begin(115200);
delay(100);
Serial.println("Adafruit MLX90640 Simple Test");
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: 90640 IR camera
Yah, if you aren't seeing that first print in the Serial Monitor, then something else is happening. Try and figure out why you can't see the serial prints. It sounds like it's at least working for other examples?
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
Re: 90640 IR camera
I disconnected the camera resulting also in no output on the monitor after running the program.
Attached is the Tool settings
One thing I remarked when trying to upload the 90640 library for update: It asks for a long list of dependencies: There is none of them in my library folder and I don't see the use of these. Can you comment?
Attached is the Tool settings
One thing I remarked when trying to upload the 90640 library for update: It asks for a long list of dependencies: There is none of them in my library folder and I don't see the use of these. Can you comment?
- Attachments
-
- setting.jpg (391.38 KiB) Viewed 713 times
-
- dependencies.jpg (91.04 KiB) Viewed 713 times
-
- dependencies.jpg (402.81 KiB) Viewed 713 times
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: 90640 IR camera
If you install via Library Manager, it should take care of installing the dependencies.
If you are missing any necessary dependency, then you shouldn't even be able to compile the example. But you mention it compiles OK in your first post. So it seems like you have the required libraries. The dependencies can chain and thus the resulting list of everything (your photo) can be long. Those are the libraries needed for *everything* in the MLX90640 library, including all example sketches.
If you are missing any necessary dependency, then you shouldn't even be able to compile the example. But you mention it compiles OK in your first post. So it seems like you have the required libraries. The dependencies can chain and thus the resulting list of everything (your photo) can be long. Those are the libraries needed for *everything* in the MLX90640 library, including all example sketches.
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
Re: 90640 IR camera
Ah! I now have the following printed on the monitor:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00043350
~ld
I think that some error from the ESP- I am not familiar with that not being ESP savy What should I do to correct it?
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00043350
~ld
I think that some error from the ESP- I am not familiar with that not being ESP savy What should I do to correct it?
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
Re: 90640 IR camera
Can somebody help me with this? I am really stuck...
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: 90640 IR camera
Backup and verify that you can at least successfully upload the basic Blink example:
https://learn.adafruit.com/adafruit-fea ... 2720758-28
https://learn.adafruit.com/adafruit-fea ... 2720758-28
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
Re: 90640 IR camera
Yes the BLINK test works...
I have an AMG88xx: I am able to load the test but when it is running, nothing shows on the Monitor like for the 90640 IR..I really think that my Feather8266 has a defect. Can I have an RMA for it can not be fixed?
I have an AMG88xx: I am able to load the test but when it is running, nothing shows on the Monitor like for the 90640 IR..I really think that my Feather8266 has a defect. Can I have an RMA for it can not be fixed?
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: 90640 IR camera
If you can load and run a blink example, then the board is generally OK.
Please post a photo showing how you are connecting the IR camera to the Feather.
Please post a photo showing how you are connecting the IR camera to the Feather.
- alainsam
- Posts: 206
- Joined: Tue Oct 04, 2016 7:58 pm
Re: 90640 IR camera
Can't post the setting of the 90640 now as I am using it within a closed box with an ESP32 All the connections and software are the same, except for ESP32, and it works... So I definitively think that the ESP8266 has a problem.
Here is the photo with the sketch test for AMG88xx plugged into the ESP8266 I have the same problem: No output on the monitor...
Here is the photo with the sketch test for AMG88xx plugged into the ESP8266 I have the same problem: No output on the monitor...
- Attachments
-
- Compress_20211201_124646_6472.jpg (264.56 KiB) Viewed 483 times
Please be positive and constructive with your questions and comments.