In this step, we’ll set up the edge devices that collect weather data and transmit it to the AWS cloud. The Weather Platform supports multiple hardware configurations, from simple ESP32 setups to full Raspberry Pi installations.
Edge devices are optional for learning the platform. You can use a script as data simulator for development and testing without physical hardware.
Components needed:
![]() | ![]() |
---|---|
ESP32 Microcontroller | DFRobot Weather Module |
Alternative options for weather module:
Components needed:
![]() | ![]() | ![]() |
---|---|---|
Raspberry Pi | Micro SD Card | Card Reader |
Depends on the ESP32 model you use, you only need to install the board support specially for your model to reduce unnecessary packages.
- WiFi (built-in)
- PubSubClient (for MQTT)
- ArduinoJson
- U8g2 (for OLED display, optional. You can you different library if your OLED screen is not SSD1306)
- SoftwareSerial (In case your ESP32 model does not have enough UART ports or broken pins)
Download Raspberry Pi Imager