-
Where did you get the camera module(s)? Amazon, etc.
-
Model number of the product(s)? Mega 5MP (SKU: B0401)
-
What hardware/platform were you working on? Particle Boron / B-SoM with wall power.
-
Instructions you have followed. (link/manual/etc.) Official Arducam Mega GitHub repo, Mega SP1 Application Notes, etc.
-
Problems you were having? We have deployed 10 IoT devices (indoor, with wall power) with Arducam Megas. 6 are working well, 4 have started to return 0 byte images.
-
The dmesg log from your hardware?
-
Troubleshooting attempts you’ve made? The devices are all remote and not easily accessible. We are remotely power cycling them, and also checking register values to determine camera state, remotely resetting the cameras by writing to registers 0x02 and 0x07, etc.
-
What help do you need?
Initially all cameras worked well. We take photos between 1-10 times a day with each camera. Over time we started to get back invalid 0 byte images from some ArduCams.
Particle devices behave similarly to Arduino devices. The only substantive change made to the official driver code was to use the Particle SPI library. I force the SPI clock speed to 4 MHz so it isn’t a timing issue.
I’ve tried writing 0x05 to register 0x02. I’ve also tried writing 0x40 to 0x07.
Is there anything else I should try doing to resuscitate cameras that are no longer capturing valid images?
We plan to deploy hundreds of devices but this issue is a bottleneck.
Thanks for your help.