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.
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.
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
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.