Professional Documents
Culture Documents
× 3
× 2
Breadboard (generic)
× 3
Ultrasonic Sensor - HC-SR04 (Generic)
× 1
Buzzer
× 1
LED (generic)
× 2
MFRC-522 × 1
MLX90614 × 1
Jumper wires (generic)
× 1
Snapshot of inside
the temperature/rangefinder module.
Snapshot of outside
the temperature/rangefinder module.
PREVIOUSNEXT
1
2
try {
tag = e.parameters.tag;
value = e.parameters.value;
} catch(error) {
Logger.log(error);
return ContentService.createTextOutput("oops...." + error.message
+ "\n" + new Date()
+ "\ntag: " + tag +
+ "\nvalue: " + value);
Logger.log("an error has occured in doGet function");
}
}
try {
var dateTime = new Date();
// Paste the URL of the Google Sheets starting from https thru /edit
// For e.g.: https://docs.google.com/..../edit
var ss = SpreadsheetApp.openByUrl("insert link here");
var dataLoggerSheet = ss.getSheetByName("insert sheet name here");
// Get last edited row from DataLogger sheet
var row = dataLoggerSheet.getLastRow() + 1;
Logger.log("recieves last edited row");
catch(error) {
Logger.log(JSON.stringify(error));
Logger.log("Error has occured in save_data function");
}
Copy the “Current web page url” and paste it somewhere safe, as it will be later used in
the Arduino code
Step 3: Uploading Arduino Code
Code files for this project can be accessed from the github link in the code section. Make
sure that Arduino IDE is installed on your computer before uploading the code
Before uploading the code to the ESP32:
Modify wiring.h file if using different pins
Add wifi name and wifi password within the quotes in WifiSetup.cpp
Add GScriptID (This is the random numbers and letters seen from the current web page
url) in Data.cpp
Additionally for this code to work, the appropriate libraries would need to be download. The
libraries involved are:
ESP32: https://dl.espressif.com/dl/package_esp32_index.json (go
to preferences under file and add url in additional boards manager url)
Wifi: WiFi library by Arduino
MLX90614: MLX90614 library by Adafruit
MFRC522: MFRC522 library by GithubCommunity
Step 4: Test it Out!
Once everything is set up and the code is uploaded, test and debug the device to make sure it
works the way it should.
prototype casing
The final prototype which includes the electronic
components added inside the cardboard cases.
Before fully installing the electronic components, we
created a mock case with household items.
PREVIOUSNEXT
1
2
Future Progress
For future edits on this project:
Create a CAD file for encasing the electronic components, to make the station into a
more clean and sleek manner.
Have a more calibrated sensor through field testing
To increase automation:
The temperature reading could potentially be done through an infrared camera, which can
read people’s body temperature at a more accurate level, and identify regions of high
temperature within the body.
A servo motor at the top module could be added, to allow for the module to move based
on the person’s height.
A creation of a mobile app as an add-on for the stations could allow students and
employees to track their own temperature history.
CODE
COVID-19 Temp Scanner Code
This github link provides the code needed for the project
ishan190425 / TempData2.0
1 0
No description — Read More
Latest commit to the master branch on 6-11-2020
Download as zip
SCHEMATICS
COVID-19 Temp Scanner Schematic
DOWNLOAD