Reading sensor data via 4G/LTE connection from my laptop

I have a temperature sensor connected to an Arduino MEGA 2560 R3. I have also connected the Arduino with SIM7600 modem. How can I send data from Arduino to my laptop via 4G without the need to POST them to a website (such as dweet.io)?? So for example make it work like WIFI, where I hit the IP on my web browser and connect directly to the Arduino (via WIFI)....

modems are usually behind NAT boxes so you do not have access to its local IP address - the modem can access the internet but it is very difficult for devices on the internet to directly access the modem.
Typically modems upload data using HTTP GET and POST, MQTT, FTP, etc.

1 Like

Pretty easily, I guess. You already have the SIM7600 shield, so all you need is a phone module built into your laptop, and 3G probably suffices. This is hardly an Arduino problem, the real business is at the laptop end, and you should look there first in order to determine the practicality of this.

1 Like

So, you tell me that I should have a 4G modem connected to the Arduino and another 4G modem connected to the laptop in order to communicate between them? How do I make them talk between them? Which protocol should I use?

No, I said built-in to the laptop.

Failing that, I imagine there are external options. One of those would be to simply duplicate the Arduino/SIM7600 you already have, although you would not need a Mega. The relevant library should have the programming examples you need.

Instead of the Mega, consider using an ESP32 WiFi module to read the sensor. The ESP32 can act as an AP and host a web page, or send data to the laptop via email, via UDP, or various other protocols.

Cost less than $10.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.