Premium Only Content
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
87 -
6:45
iLyasBK
2 years agoArduino Weather Station - Ep1: Arduino and ESP8266
69 -
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
59 -
1:51
Newsy
2 years agoMessy Winter Weather System Affects More Than 85 Million Americans
1.02K7 -
2:29
Newsy
2 years agoWinter Weather System Heads Northeast After Pummeling Midwest, South
6465 -
1:30:23
Twins Pod
10 hours agoHe Went From MARCHING With BLM To Shaking Hands With TRUMP! | Twins Pod - Episode 45 - Amir Odom
104K23 -
1:02:30
Exploring With Nug
12 hours ago $0.33 earned2 Duck Hunters Missing After Kayak Capsizes!
37.7K2 -
46:48
Mally_Mouse
5 hours agoLet's Hang!! -- Opening Christmas gifts from YOU!
51.5K -
44:55
Athlete & Artist Show
20 days ago $1.84 earnedNHL 4 Nations Snubs, Was Hawk Tuah Coin A Scam?
53.5K