My project involves communicating with several esp32 modules spread across different parts of the country using MQTT protocol. What is the cost effective way of achieving that? I am considering purchasing a MiFi for each module but I believe there has to be a better and cheaper way. Thank you for your guidance
Hi.
If you have ESP32 modules that support a SIM card, you can get a SIM card for each board for them to connect to the internet without an external router.
However, these boards are usually much more expensive than a regular ESP32. But, might be a better option. You’ll have to calculate the costs.
An alternative is using LoraWan to communicate. Depending on the LoRa network on your country, you may be able to communicate between boards that are far away from each other. However, I haven’t tested this yet. And you’ll need to get some LoRa modules, and configuring LoraWan might be a bit complicated at first.
Regards,
Sara