Travel Thermometer
-Mini project Series (2/3)-
(Meeting locator / IOT thermometer project / Personal blog project)
This project is a log of temperature values recorded during my Thanksgiving trip (2020) from New York to Boston. ‘Particle’ IOT device was used to record the values in each place.
Live Demo: https://datastructuresoonk.herokuapp.com/ptcpjt/ (No longer available)
(Mobile device is not supported)
Project Statement
Background
Particle is a device collect humidity and temperature data and send it to computer. The information contains time, temperature and humidity.
Using AWS pm2, data sent from particle can be stored in a regular basis.
Goals
Log Temperature
During Thanks Giving Holidays (2020), I traveled from NY to Boston and came back. The particle device collected the temperature data and send them to SQL.
Compare Temperature
This project highlights the temperature difference between where I was at and the other places of interest (I visited or I lived in)
Process
Collecting Physical Data
Temperatures with time stamp are collected on the time I set for collecting everyday during my trip. This physical data is sent to my machine to store it through AWS pm2 schedule.
Store data with pm2
Data is sent like the diagram on the left. Particle shares the data through Wifi and the signal is stored in my personal device. The device sends the data on the time that AWS set and those are saved in postgresql.
Methodology
Temperature Collection
Using AWS and Particle device connected, the automated process to collect temperature data is built. On a specific time everyday, particle device send the temperature data to AWS and stored it.
Tools: Particle, AWS
Mapping Travel
Based on the collected temperature data, simple interactive line chart was generated using d3 js.
The data is stored in postgresql and was called by
request call. For performance they are stored JSON.
Tools: d3.js, posgresql
Publishing
To publish this web application with its router for audiences to navigate from this project to the other project, routing library was used.
Tools: node.js + express + heroku
Visualization
Interface Sketch
User can select the location to be compared with my location to see the temperature differences. The differences are highlight by the area between two graphs which are my temperature and the temperature of the place selected.
Travel Thermometer
The temperature difference between the two area is animated with color that represents each location.