Premium Only Content
![Arduino Weather System - Ep2: Arduino and AWS Cloud](https://1a-1791.com/video/s8/1/i/k/2/N/ik2Ne.qR4e-small-Arduino-Weather-System-Ep2-.jpg)
Arduino Weather System - Ep2: Arduino and AWS Cloud
This video is the second episode in the "Arduino Weather System" series. It builds on the previous one and continues forward by pushing the temperature & humidity data received through the DHT11 sensor, onto an AWS IoT account.
I start by showing the WiFi module used to allow our weather station to go online: it's a programmable module called "ESP8266 ESP01". I then create a new project on VSCode using the PlatformIO extension and dive right away into writing the code that does the following steps:
→ Connect to WiFi
→ Establish a connection to AWS IoT's MQTT topic
→ Send data through the topic
I then connect the WiFi module to the Arduino board and test that it sends the data over. Once that is confirmed, I create a Lambda function that handles the received data by saving it into a DynamoDB table.
I will add more sensors as we progress.
For libraries, code walkthrough, and line-by-line explanation, check out the Github repo:
→ Arduino Uno code: https://github.com/SmartThingsDIY/arduino-uno-aws-weather-station
→ ESP8266 ESP-01 code: https://github.com/SmartThingsDIY/esp8266-01-aws-mqtt
→ Index
00:00 intro
0:20 New VSCode project and code to connect to WiFi
2:16 Compiling and uploading code to the ESP8266
2:46 Wiring the ESP8266 to the Arduino Uno board
3:07 Wiring schema
4:10 Moving passwords and other sensitive information to "secrets.h" file
5:28 Sending data through an MQTT topic
7:20 Lambda function that persists data into a DynamoDB table
10:16 AWS IOT Rule that invokes the Lambda function
12:32 Taking the build outside for the last test
Items I used in this video:
→ Arduino Uno: https://www.amazon.ca/Elegoo-Board-ATmega328P-ATMA16U2-Arduino
→ LCD Screen: https://www.amazon.ca/Arduino-Longruner-Expansion-Included-LK51/dp/B071FGZX8G
→ Breadboard: https://www.amazon.ca/Breadboard-Solderless-Prototype-Distribution-Connecting/dp/B01EV6LJ7G
→ Jumper Wires: https://www.amazon.ca/dp/B08151TQHG
→ Jumper Wires Male to Male + Tweezer: https://www.amazon.ca/gp/product/B07PTYBFDT
→ 10k ohm Potentiometer: https://www.amazon.ca/TWTADE-Potentiometer-Single-Variable-Aluminum/dp/B07DHGV6LB
→ Hardware and Craft Storage Cabinet Drawer Organizer: https://amzn.to/36ehDpB
→ ESP8266 ESP-01 WiFi Module: https://amzn.to/30fUWNS
→ ESP8266 ESP-01 programmable USB: https://amzn.to/345egi6
→ ESP8266 ESP-01 Breakout Board Breadboard Adapter: https://amzn.to/3kSFVcP
#homeAutomation #DIY #Arduino
-
6:17
iLyasBK
2 years ago $0.01 earnedArduino Plant Watering System - Complete guide
88 -
6:45
iLyasBK
2 years agoArduino Weather Station - Ep1: Arduino and ESP8266
71 -
2:35
KNXV
2 years agoStorm system bringing cooler, windy weather
13 -
3:31
iLyasBK
2 years ago $0.02 earnedArduino Weather Station - Ep3: Measuring UV Light
61 -
1:51
Newsy
3 years agoMessy Winter Weather System Affects More Than 85 Million Americans
1.02K7 -
2:29
Newsy
3 years agoWinter Weather System Heads Northeast After Pummeling Midwest, South
6465 -
1:04:55
Bare Knuckle Fighting Championship
4 days agoBKFC ITALY PRESS CONFERENCE | LIVE!
54.8K6 -
10:04
Space Ice
5 hours agoThe Movie Silent Hill Is Like Resident Evil Without The Good Parts - Worst Movie Ever
31.3K11 -
5:49
Hannah Barron
1 day agoRedneck Euro Mount
26.1K21 -
32:34
hickok45
10 hours agoSunday Shoot-a-Round # 268
20.2K16