You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
arduino | 1 year ago | |
config | 1 year ago | |
routes | 1 year ago | |
static | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
index.html | 1 year ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago | |
server.js | 1 year ago | |
test.html | 1 year ago |
README.md
CS5041 - Interactive Hardware and Software Practical 2
Practical 2 - Smart highway billboard
Jamie Munro
Install
Requires node.js and npm (node package manager)
npm install
Run
Run in development mode (automatically refreshes everytime a file is saved):
npm run dev
Run in (pseudo) production mode:
npm start
Notes
- Transport font - https://www.roads.org.uk/fonts. Orginally developed by department of transport, editied by me to add exclamation mark, degree symbol and minus sign (fontforge)
- Color pallete following department of transport guidlines - https://www.gov.uk/guidance/traffic-sign-images
- weather icons by RNS from https://iconstore.co/icons/rns-weather-icons
- weather retreived from OpenWeatherMap API
- Blue fakeduino needs to be treated as Board:arduino nano, Processor: Atmega 168
- Traffic sensor only gives amount of time taken to clear sensor and cannot be directly converted to speed. In order to calculate speed either the length of the vehicle must be known, or two sensors should be used where the distance between them is known. We will assume that all vehicles are the average vehicle length.
Licence
2022 Jamie Munro, All rights reserved.