Hi :slight_smile:

I am busy researching hardware options for a new project, and the OpenMV boards look like they could work well. One of the project requirements however is LTE connectivity - how difficult (/ possible) would it be to get an OpenMV board connected via LTE?

Thank You

If the LTE module has a serial/i2c/spi port it should work just fine.

Thanks for the reply. Any pointers on how to go about getting this working please - library(s) etc?

Since we are a MicroPython board please Google for a MicroPython driver for a popular cellular modem. Someone has likely made an open source one. Otherwise, you have to write your own.

Hi there, we are also interested in this for our own project, are there any updates on this, @daneduplooy ?

I do have the same question.
For my hardware design I have chosen an SIM7020C NB-IoT module connected via UART to the STM32.
But I still need to write/find a driver for it.
I “simply” want to transfer an captured image to the cloud

Hi, I use the OpenMV wifi module and a 4G router. Since the driver already exists for that and it will be easy to upgrade to 5G whenever the routers come along. Please let me know if you want details of the 4G kit.

@Stub yes please do share! I am struggling with the same issue. Thanks!

@JeanJean Any updates? I am looking at using a SIM7xxx module to. Is it working? Thanks!


I use a TP-link TL-MR3020 with a Huwawei 4G USB modem and a ‘3’ data only SIM in the UK, as it is small and low power consumption, but any 4G wifi router for your country should work.

Hi all,

I want to test Sara-R4 modem as an LTE shield for OpenMV, I found some libraries in u-Blox documentation, but they are in C language, not Python as far as I know, unfortunately;

Looking at Micropython libraries, it looks like Micropython also uses C files, but I am not sure how. Should I use STM32Cube software for that? Do you use software to converts C (.h files) to .py files for OpenMV?

If we wanna add an LTE modem to ESP32 using these u-Blox C files, It looks more straightforward as ESP32 use C libraries too;

However, I am not sure how to use these C files as an LTE modem library in Micropython-based boards like OpenMV. How can I leverage STM32 C files written for the u-Blox modem in OpenMV?


Searching in the forum, based on Kwabena, all methods are written in C in src/omv/imlib directory.

So the question is how to use ublox sara-r4 C files I linked in my previous message?
How to use it to communicate from OpenMV to ublox-sara-r410 LTE modem?
I know how to import a module, but I do not know how you call a method that is written in C in Python program…

For example, in Pycom Gpy they have a network model and they import LTE functionality from it;

from network import LTE
lte = LTE()

How can we add this functionality to OpenMV?
Let’s Suppose that on the hardware side, we use Uart; TX, RX and GND to communicate between Sara-r4 and OpenMV. (In reality, it needs some level shifting too).


You’ll need to write your own MicroPython module, lucky for you this is much easier now with recent changes, here’s an example module (note it’s not enabled by default):

1 Like

@MoZen: I want to do the same, but for SIM7020, but still haven’t got the time to work on the implementation itself.
Maybe we can collaborate on this, give me a PM.