We began this project by analysing issues we all faced and took into account the different components we had available to utilise. Collectively, we discussed the issues we have whilst deciding what to wear, and when to wear it, due to the weather being unpredictable. So, how did we overcome this issue? We chose to create a system that incorporates both the weather, and your personal style!
How it works:> We initially connected a temperature sensor, humidity sensor and air quality sensor to a Photon 2
> Created a program on the Particle Web IDE console that transfers the live data from each sensor to Thingspeak channels.
> Created a website using Visual Studio Code
> Used the data from the Thingspeak channels as our own API, and imported it into the code of the website we were making.
> Created an algorithm for the end user shuffle the images of clothes
> Used a free online weather API to add a ‘forecast tomorrow’ feature into our code
Initially, we delegated the tasks. Two of us focused on how to work the hardware and the other two worked on getting the website up and running. There were issues with the hardware as we weren’t getting data for some aspects of it however we overcame this by asking for advice, and altering our circuit. Once this had been conquered, we faced issues when trying to link the data recorded by the sensors and link it to an API. This did take a fair amount of time and eventually, we were able to transfer the data onto the website and express it. We experienced obstacles when formatting our HTML, with boxes in the wrong places or text being too big. Meanwhile, we selected images we thought were appropriate for each temperature category and categorised them. With a few adjustments, we had the HTML up and running with all the categories we needed.
Lastly, we used a forecasting API from Open Weather Map, to add the temperature for tomorrow for the local area into our code.
Comments
Please log in or sign up to comment.