Pins of Wifi Shield is NOT able to directly plugged into Cam M7 ?

It looks like you redefined pins on Cam M7, but the Wifi Shield is too OLD?

  • pin sequence on cam M7:
  • pin sequence on Wifi:

Any updated Wifi module?

I’m testing on my own wiring…


The upper pins on the wifi shield aren’t connected to anything so it doesn’t matter.

Great to know that…

However, I still have an issue: How to test network?

I strictly followed, the code is:

import network
nic = network.Driver(...)

But, I failed to with the followingn ERROR message:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Driver'

Does OpenMV be fully compatible with MicroPython?


Have you tried using our WiFi scripts under Examples → Wifi Shield?

Great !! Thank you !! It’s working NOW…

Trying to connect... (may take a while)...
Running in Station mode...
[-54, 2, 'SHAW-xxxxxx', 'f8:f0:05:a1:b9:ce', '']
MicroPython v1.9.4-4510-g23e8457de on 2018-06-29; OPENMV3 with STM32F765
Type "help()" for more information.

Is the IP address fixed to

How can I set a static IP for OpenMV ?


The IP address is given out by the DHCP server on your Network. If you use AP mode the IP will be static.

That might happen. I’ve got 2 routers, both using the same SSID name.
The master one is a bit far, that is why I’m using the 2nd one as AP.
There is a possibility that OpenMV’s Wifi is ONLY able to find the 2nd router ??

Hi, you should edit your routers config to assign the OpenMV Cam the same IP address based on the OpenMV Cam’s MAC address.

I actually have already done that on my master(1st) router for OpenMV.
But, it seems that doesn’t help on the 2nd router (AP)…

Should I reboot both of my routers as well, because I’ve already reboot OpenMV multiple times, and it’s always assigned the IP:


The OpenMV Cam has no control over it’s IP address assignment. So, you have to go into your routers to make it static.