IoT-For-Beginners icon indicating copy to clipboard operation
IoT-For-Beginners copied to clipboard

Using Grove Vision AI Module (I2C interface) rather than ArduCam (SPI interface)

Open Raunak-Singh-Inventor opened this issue 1 year ago • 0 comments

I am trying to follow this tutorial with the Seeed Wio Terminal and the Grove Vision AI Module (https://wiki.seeedstudio.com/Grove-Vision-AI-Module/).

When I try to run my code (05 stock counter) based on the 02 Fruit Quality Detector Example and connect the Grove vision AI module, the camera sets up correctly, but the image is being captured regardless of whether I connect the vision AI module or I press button C.

I think the problem is that this Grove module uses I2C interface to read data from camera rather than SPI interface as the ArduCam does. Is there any way to edit the src/camera.h so it can use the Grove Vision AI Module?

Thanks in advance for your help.

Code (I have added src/config.h & lib/ArduCAM to .gitignore): https://github.com/Raunak-Singh-Inventor/stock-counter-wio-terminal

Raunak-Singh-Inventor avatar Aug 07 '22 16:08 Raunak-Singh-Inventor

There is, and I do have the hardware, but not tried it out yet. Let me try to find time to give this a go.

jimbobbennett avatar Aug 15 '22 23:08 jimbobbennett

To complete my project I just used the official ArduCam and was able to train stock detector example. Thanks for your help.

On Aug 15, 2022, at 7:42 PM, Jim Bennett @.***> wrote:

There is, and I do have the hardware, but not tried it out yet. Let me try to find time to give this a go.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/IoT-For-Beginners/issues/391#issuecomment-1215988423, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAPP4CZHWCDH3MY32GR7PLVZLIUVANCNFSM552WGKGA. You are receiving this because you authored the thread.

Raunak-Singh-Inventor avatar Aug 16 '22 10:08 Raunak-Singh-Inventor