In this embedded IoT system, the AWS Lambda functions serve as the main processor of data incoming from IoT devices, such as temperature or humidity readings. An API Gateway Lambda function gets triggered when a device sends an HTTP POST request with sensor data. The system:
• Parses the JSON payload from the request sent by the IoT device.
• Extracts sensor data (e.g., temperature, humidity, timestamp).
• Stores the data in DynamoDB for long-term storage and analysis.
The STM32<->ESP32 part of this project is better developed in this repo: https://github.com/ewardq/STM32_Drivers
This repository uses the previously mentioned drivers to send HTTP Request to AWS Lambda.
The complete library is in the 9_ESP32_AWS_client folder, the other folders included in this repo are just examples of how to execute POST, GET, PUT and DELETE requests.
- HTTP POST request to AWS Lambda and to then update a DynamoDB database.
- HTTP GET request to retrieve data from DynamoDB.
- HTTP PUT request to AWS Lambda.
- HTTP DELETE request to remove data from DynamoDB.
To implement the Lambda functions included in the Lambda code folder, make an AWS API Gateway simmilar to the following example:

