Project Organization
-
Arduino
- Adafruit Pro Trinket
-
BasicApplication
- Arduino Code for the Panic Attack Application
- BasicApplication.ino
- Arduino Code for the Panic Attack Application
-
Website
- Files for the website that goes along with the project, including the html, javascript, and css pages
- HTML
- Main.html
- Breathe.html
- Mindful.html
- Focus.html
- JS
- Exercises.js
- Main.js
- CSS
- Main.css
- Other
- BreatheImage.gif
- HTML
- Files for the website that goes along with the project, including the html, javascript, and css pages
-
Cloud(AWS IoT)
- ESP 8285
- AWS account and preparing the AWS IoT console
- Arduino IDE + Libraries
How to Build and Use Our Project
HC-05 module Adafruit Pro trinket Download https://github.com/gwu-iot/20_watch-smarts/blob/master/watch.ino <- arduino file https://www.amazon.com/gp/product/B07JCV9GF5/ref=ppx_yo_dt_b_asin_title_o07_s01?ie=UTF8&psc=1 https://www.amazon.com/gp/product/B00INWZRNC/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1 https://www.amazon.com/gp/product/B083B7FGVL/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1 https://www.amazon.com/gp/product/B07GGSM8SP/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1 Attach 1 button to A0 and A2, the other button to A3 and A5. Pressing one button with allow current to flow from A0 digital write to A2 analog read. Same with A3 and A5.
- The relevant files of Amazon AWS IoT file is here
https://github.com/gwu-iot/20_watch-smarts/tree/master/Arduino
- This folder include
- Make wifi connection and AWS connection check(not ssl)
- Making AWS connection by MQTT
https://github.com/gwu-iot/20_watch-smarts/blob/master/Arduino/Connection_AWS/MQTT
- Secret file(need certification)
https://github.com/gwu-iot/20_watch-smarts/blob/master/Arduino/Connection_AWS/secrets.h
- Lambda function(upload to Storage service)
P.S. I will write the code for understanding more AWS IoT during summer. (Aki)