- Nodemcu (V2 CP2102 version): https://www.aliexpress.com/item/32656401198.html
- LED Display: https://www.aliexpress.com/item/32689479860.html
- Breadboard: https://www.aliexpress.com/item/1742546890.html
- Wires (Male-Male): https://de.aliexpress.com/item/1699267300.html
- Sign up for HiveMQTT and create a free MQTT server (or just use your own).
- Create two MQTT users on your new MQTT servers. One for IoT device and one for Backend application.
- You need to a LED DotMatrix (4 mini panels version) and a Nodemcu. (With a breadboard and couple of jumpers for wiring).
- Wire them together and run Hello World on Nodemcu to make sure you did wiring correct and it works.
- Update Wi-Fi and MQTT credentials in wifi-display-nodemcu.ino and upload code to the Nodemcu.
- Go to AWS, create a Lambda with provided index.mjs with Node.js runtime. Make sure you update MQTT connection details accordingly.
- Create API Gateway
- Create POST Method pointing to the Lambda you created.
- Publish your API with name of "prod"
- API Gateway will give you URL. You can use it to test.
'''
curl --location --request POST 'https://random-string.execute-api.eu-central-1.amazonaws.com/prod'
--header 'Content-Type: application/json'
--data-raw '{ "message": "OMG this is so IoT" }' '''
- Celebrate!