OSError: failed to init WINC1500 module

I have bought two WiFi Shields (Order # 3961) and two OpenMV Cam H7s (Order # 3955).
I am already in possession of two OpenMV Cam M7s

However, unfortunately, both the WiFi Shields are throwing the same error: “OSError: failed to init WINC1500 module” on all the 4 Cam Boards (two M7s and two H7s).

Steps followed:
Mounted WiFi Shield to OpenMV Cam Board
Powered the Board through USB
Tried both “connect_1.py” as well as “tcp_client_1.py”.
Tried “Turn on WiFi Shield on Startup” in OpenMV Cam Settings.
Checked all connections thoroughly.

Kindly help, please.

How do you connect the shield ? A photo would help us a lot. And what firmware version do you have on those cameras ?

Will send a photo in a moment.
How do I check FW version, please?

Bottom right corner of the IDE when you connect.

1 Like

The FW is 3.4.1 - [latest]. Screenshot attached.
Photographs of one assembly are enclosed; i.e. H7+WiFi Shield




FWVersion.PNG

Hi, are the connectors on the camera soldered on?

Solved !!!

You are right. Thank you.
In the absence of soldering, the pins don’t ensure proper/slug contact.

After soldering, now, at least one set is working (M7 + WiFi Sheild). Hopefully, the other WiFi Shield should also work and with H7 also.

Now… there is a new problem.
The Serial Terminal output remains at:

Trying to connect… (may take a while)…
Running in Station mode…

Tried with:
“connect_1.py”, “tcp_client_1.py” and dns_1.py

What can be the reason?

Please note when you solder the headers they should look like this:

Ya…
Done.
Thank you.

Now… there is a new problem.
The Serial Terminal output remains at:

Trying to connect… (may take a while)…
Running in Station mode…

Tried with:
“connect_1.py”, “tcp_client_1.py” and “dns_1.py”

What can be the reason?

What is the problem ? It seems running normal. Did you set the SSID and KEY ? Do you have a mac filter or something like that blocking the camera ?

Yes. It is connecting to my Router. Please see enclosed image. No problem there.

Then, tried the following:
“connect_1.py”, “tcp_client_1.py” and “dns_1.py”

But, the output of print(wlan.ifconfig()) is not showing up in the Serial terminal. It just displays the following and stays there:

Trying to connect… (may take a while)…
Running in Station mode…

Never shows anything beyond that.

All the three scripts have “print(wlan.ifconfig())” - nothing shows up.
dns_1.py has “print(usocket.getaddrinfo(“www.google.com”, 80)[0][4])” - nothing shows up.
tcp_client_1.py has “print(client.recv(1024))” - nothing shows up.

Am I missing anything, please?

All the three scripts have the following 2 lines:

wlan = network.WINC()
wlan.connect(SSID, key=KEY, security=wlan.WPA_PSK)

When run, the above lines executes fine.
And that’s it. Print statements that are there in the remaining portion of the code don’t show up in the Termina of IDE

Do you wait long enough for it to connect, get ip etc… and print ?

Yes.
I wait for more than sufficient time… almost 10 minutes.

Working !!
Again, my fault.
Soldering was not good on some PINs, perhaps.
After re-soldering all PINs, it’s working.

I am extremely sorry for the inconvenience caused.
Thanks for the patience and immediate responses.

I have the same problem when openMV board got connecting wifi via the card. thanks a lot this line message remind me to update the board software to the compatable version. Now the problem is solved.