|
1 |
| -# ESP8266-01-AWS-MQTT |
2 |
| - |
3 |
| -Arduino examples of connecting ESP8266 to AWS IOT Core |
4 |
| - |
5 |
| -## Instructions |
| 1 | +# Connects and Arduino board to WiFi using an ESP8266 ESP01 module, then sends data to AWS IOT through an MQTT topic |
6 | 2 |
|
7 | 3 | ## Software requirements
|
8 | 4 |
|
9 | 5 | ESP8266
|
10 | 6 | - Use ESP8266 Arduino Core version **2.5.0-beta2 or greater**
|
11 | 7 | - Will **NOT** work on ESP8266 Arduino Core v2.4.2 !!!
|
12 | 8 |
|
13 |
| -### Libraries Needed |
| 9 | +This repo accompanies the "Connected Weather Station" [project](https://github.com/MecaHumArduino/arduino-uno-aws-weather-station) but can also be used as a standalone repo to learn how an [Arduino Uno](https://amzn.to/2RnHhPY) board can communicate with an ESP8266 WiFi module in order to gain access to the internet. |
| 10 | + |
| 11 | + |
| 12 | +⚡️ COMPONENTS AND SUPPLIES |
| 13 | +-------------------------- |
| 14 | + |
| 15 | +<img align="right" src="https://i0.wp.com/schemobotics.com/wp-content/uploads/2019/12/Esp8266-Esp-01-Serial-Wifi-Wireless-Transceiver-Module-b.jpg?fit=500%2C500" style="max-width:100%;" height="300"> |
| 16 | + |
| 17 | + |
| 18 | +* [Arduino Uno](https://amzn.to/2RnHhPY) |
| 19 | +* [Breadboard](https://amzn.to/2Ei40tP) - [Jumper Wires](https://amzn.to/2Ehh2ru) - [Male to Male Jumper Wires + Tweezer](https://amzn.to/3jcf9eX) |
| 20 | +* [ESP8266 ESP-01 WiFi Module](https://amzn.to/30fUWNS) |
| 21 | +* [ESP8266 ESP-01 programmable USB](https://amzn.to/345egi6) |
| 22 | +* [ESP8266 ESP-01 Breadboard Adapter](https://amzn.to/3kSFVcP) |
| 23 | + |
| 24 | +🖥 APPS |
| 25 | +------ |
| 26 | + |
| 27 | +* [VSCode](https://code.visualstudio.com/) |
| 28 | +* [Fritzing](https://fritzing.org/) |
| 29 | +* [PlatformIO](https://platformio.org/) |
| 30 | + |
| 31 | +📦 Libraries |
| 32 | +--------- |
| 33 | +* [Time](https://www.arduinolibraries.info/libraries/time) |
| 34 | +* [ESP8266WiFi](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi) |
| 35 | +* [ArduinoJson](https://github.com/bblanchon/ArduinoJson) |
| 36 | +* [PubSubClient](https://github.com/knolleary/pubsubclient) |
| 37 | +* [SoftwareSerial](https://www.arduino.cc/en/Reference.SoftwareSerial) |
| 38 | +* [WiFiClientSecure](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi) |
| 39 | + |
| 40 | + |
| 41 | +ESP8266 ESP01 - Schematic Diagram |
| 42 | +------------------------------ |
| 43 | + |
| 44 | +The ESP8266 WiFi Module is a self-contained stack that can give any microcontroller access to your WiFi network. The ESP8266 is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor. The ESP8266 module is an extremely cost-effective board with a huge, and ever-growing, community. |
| 45 | + |
| 46 | +<img align="center" src="https://github.com/MecaHumArduino/arduino-uno-aws-weather-station/blob/master/docs/esp8266-schema.png?raw=true" style="max-width:100%;" height="350"> |
| 47 | + |
| 48 | +Code Walkthrough |
| 49 | +-------------------- |
| 50 | + |
| 51 | +WIP.... |
0 commit comments