Skip to content

justinmklam/aws-iot-esp266-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS IoT with ESP8266 Demo

Example sending data from ESP8266 to AWS IoT Core.

Getting Started

Add the ESP8266 board to Arduino IDE (Files > Preferences, then paste the URL in Additional Boards Manager):

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Versions:

  • Arduino: 1.8.12
  • ESP8266 core: 2.6.3
  • ESP8266FS plugin: 0.5.0

Install the following libraries (Sketch > Include Library > Manage Libraries):

AWS IoT Certificates

Convert the certificates from AWS to .der files, then place them in data/ (within the Arduino sketch folder). Use the arduino-esp8266fs-plugin to upload the files to the SPIFFS filesystem.

openssl x509 -in xxx-certificate.pem.crt -out cert.der -outform DER
openssl rsa -in xxx-private.pem.key -out private.der -outform DER
openssl x509 -in AmazonRootCA1.pem -out ca.der -outform DER

About

Example usage of sending data from an ESP8266 to AWS IoT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published