Connecting Arduino ( here MKR NB 1500 ) with AWS via E-Sim

Hello everyone,
I have a project where I send sensor data from a machine (0 or 1) to an Arduino, and it should then send this data to AWS via E-Sim. I found "Amazon API Gateway", "Lambda code", and "Dynamo DB". Now I don't know if this works... Has anyone here gained experience with sending Date from Arsuino via SIM to AWS?
(3-5 measurement sensors with timestamp and approximately 10 measurements per second. Visualization in AWS using dashboard is the target

It's not different as what you would do with a computer except you have to set things up yourself : with an Arduino and a SIM card, you use the SIM as your network interface to reach the internet over the cellular network.

The SIM card authenticates you on the mobile operator’s network, and your modem provides a TCP/IP stack.

You open a TCP socket to the AWS endpoint or, more likely, an HTTPS connection.

To send your payload, you establish the data link, resolve the AWS hostname, connect over port 443, perform the TLS handshake if using HTTPS, then transmit your payload formatted as an HTTP request (typically POST with JSON).

➜ You need to find a library or write AT commands to do all this.

I've never used the MKR NB 1500 for this but I'm pretty sure it handles the modem AT commands through its Arduino library, so you just need to structure your code to connect, authenticate, and push data over HTTPS.

EDIT: see https://docs.arduino.cc/tutorials/mkr-nb-1500/mkr-nb-library-examples/ and look at the MKR NB NBSSL Web Client

Thanks for your respond. Which Arduino did you used in the past? Have you already connected a Arduino with Sim to AWS? Just saw there are free plans in the AWS site so I could test the complete AWS side even without the Arduino…
Did you had any problems in the past with it?

I did use arduous SIM card for http or https access in some setup but not with AWS.

The MKR NB 1500 seems to support forming an https connection through the Arduino library so I think you are all set to try out.

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