Skip to content

PranavKopparthy/F23_IOT_Safety

Repository files navigation

About The Project

WakeWheel is an innovative solution designed to enhance driver safety and well-being by integrating heartbeat sensors into a steering wheel cover. This device is equipped to monitor the driver's heartbeat in real-time, providing an effective means to prevent drowsiness and promote alert driving. Additionally, it is designed to seamlessly communicate with a React frontend through Firebase, allowing for timely alerts and notifications.

(back to top)

Built With

  • React
  • Node.js
  • Firebase
  • Arduino

(back to top)

Installation

  1. Clone the repo
    git clone https://github.com/PranavKopparthy/F23_IOT_Safety.git
  2. Install NPM packages
    npm install
  3. Install FIrebase packages
    npm -g install firebase-tools
    firebase login
    firebase init
  4. You will need to make an .env.local file inside frontend to store certain credentials for your app safely. Never push Firebase credentials to GitHub!
    REACT_APP_AUTH_DOMAIN=""
    REACT_APP_DATABASE_URL=""
    REACT_APP_PROJECT_ID=""
    REACT_APP_STORAGE_BUCKET=""
    REACT_APP_MESSAGING_SENDER_ID=""
    REACT_APP_ID=""
  5. Upload Arduino.ino to esp
    1. Install Arduino IDE:
       Download and install the Arduino IDE from https://www.arduino.cc/en/software.
    2. Install ESP32 Board Support:
       Open the Arduino IDE, go to "File" -> "Preferences," and add the following URL to the "Additional Boards Manager URLs"       field:
       https://dl.espressif.com/dl/package_esp32_index.json
    3. Install Required Libraries:
       Install the necessary libraries for your Arduino project. Open the Arduino IDE, go to "Sketch" -> "Include Library" ->       "Manage Libraries," and install the following          libraries:
       Adafruit MPU6050
       Firebase ESP8266
    4. Upload Code to ESP32

(back to top)

Important Files

  1. Dashboard.js
  2. App.js
  3. Arduino.ino

(back to top)

Repository

Project Link: https://github.com/PranavKopparthy/F23_IOT_Safety.git

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published