This is a project for Computer Programming 2017.
-
Download the Arduino IDE and install to your computer.
-
Download Firebase Arduino, ESP8266WiFi and add library to Arduino IDE.
-
Download and Install driver.
-
WiFi
- Set your wifi said to file
arduino/arduino.ino
in line#define WIFI_SSID "<Your WiFi SSID>"
. - Set your wifi password to file
arduino/arduino.ino
in line#define WIFI_PASSWORD "<Your WiFi password>"
.
- Set your wifi said to file
-
-
Go to
DEVELOP/Database/DATA
and copy firebase auth to filearduino/arduino.ino
in line#define FIREBASE_HOST "<Your firebase auth>"
. -
Go to
Project settings/SERVICE ACCOUNTS/ Database Secrets
and copy firebase
Database Secrets to filearduino/arduino.ino
in line#define FIREBASE_KEY "<Your firebase key>"
. -
Go to
DEVELOP/Authentication/ SIGN-IN METHOD
then choose Facebook and fill inApp ID
andApp secret
from Facebook for Developers. Don't forget to save! -
Go to
Project Overview/Add Firebase to your web app
then copy and paste the snippet atfirebase/public/index.html
in line<!-- Copy and paste the snippet here. -->
.
- 60070073 : Passawit Riewthong
- 60070076 : Mareena Nuraman
- 60070082 : Raksina
Faculty of Information Technology
King Mongkut's Institute of Technology Ladkrabang