ArduCAM / ArduCAM_USB_Camera_Shield

This is the repository for ArduCAM USB Camera Shield
126 stars 69 forks source link

MT9J001 open fail in Python demo code #166

Closed masalha-alaa closed 3 years ago

masalha-alaa commented 3 years ago

Hi,

I have an MT9J001 sensor connected by a USB3 cable to a Windows PC on a USB3 port, and I'm trying to run the provided Python example by following the instructions on your Readme page (using Python 3.6, 64bit). I tried using Config/USB3.0_UC-425_Rev.C+UC-547 Rev.B/MT9J001/MT9J001_MONO_12b_3664x2748_7fps.cfg as the configuration file but I'm getting an error:

D:\ArduCAM_USB_Camera_Shield\Windows\Python\Streaming_demo>python ArduCam_Py_Demo.py "..\..\..\Config\USB3.0_UC-425_Rev.C+UC-547 Rev.B\MT9J001\MT9J001_MONO_12b_3664x2748_7fps.cfg"
color mode 0
open fail,rtn_val =  65281

D:\ArduCAM_USB_Camera_Shield\Windows\Python\Streaming_demo>

I also wrote a script to try ALL the .cfg files under the Config directory, but I got a 65281 error in all 613 of them.

I also tried the Windows GUI app ArduCam USB Camera Demo, and looks like it can't find the sensor, because the Device list is empty (even after pressing scan): image

Can you please assist?

tylerbishere commented 3 years ago

Hey did you fix this problem because I am getting the same error?