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
85 -
6:45
iLyasBK
2 years agoArduino Weather Station - Ep1: Arduino and ESP8266
64 -
2:35
KNXV
2 years agoStorm system bringing cooler, windy weather
13 -
3:31
iLyasBK
2 years agoArduino Weather Station - Ep3: Measuring UV Light
54 -
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 -
19:38
Neil McCoy-Ward
9 hours agoMASS LAYOFFS Have Started... (How To Protect Your Income)
13.8K5 -
46:21
PMG
22 hours ago"Venezuelan Gang in 16 States, Animal Testing Crackdown, & Trump’s Nominee Battle"
6.97K3 -
LIVE
VOPUSARADIO
8 hours agoPOLITI-SHOCK! WW3!?, BREAKDOWN OF THE WORLD EVENTS & R.A.G.E. (What it means & What's next!)
100 watching -
1:00:10
The StoneZONE with Roger Stone
6 hours agoWhy Democrats Hold Poor Children Hostage in Failing Schools | The StoneZONE w/ Roger Stone
34.9K5