Skip to content

This repo is an exhibition and vault for software regarding the Senior Laboratory (Special Projects) class. In which, I (Sam Musser), Chris Bharucha, and David Gilstad (PM) were assigned to software developer roles as we work with electrical engineers as private contractors for Mr. Smart.

License

Notifications You must be signed in to change notification settings

samuelmusser/safetyLightRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

safetyLightRepo

Overview

The software side of the project is an implementation of power saving features, temperature data recording, processing, parsing, and finally the networking between itself and the receiver on the road sign. It provides communication capabilities between the Lora module of each safety light and the Lora module of the receiver.

It uses this communication to send data between the safety light and the receiver. Namely, it sends an identification number and the temperature average of each saftey light to the receiver, the receiver sends back a value for the safety light to determine how long to wait until the next temperature check.

The safety light software handles taking in voltages from a thermistor and calculating the average temperature based on this, generating a unique identification number, scheduling wait times between measurements, and sending the data to the receiver. The receiver software handles storing temperature data from each saftey light, deciding the wait-time value for the safety lights and message to send to the road sign, and sending the wait-time value to the safety lights.

Usage

For the current set up, assuming hardware is assembled accordingly, both the receiver and safety light devices need to have the software downloaded onto them from a computer to run. We used the arduino online IDE to create and run the software on the device. After downloading once, the devices should simply need to be hooked up to a power source to run correctly.

Libraries Used:

  1. Standard C libraries
  2. Arduino LoRa library by sandeepmistry (MIT LICENSE)

About

This repo is an exhibition and vault for software regarding the Senior Laboratory (Special Projects) class. In which, I (Sam Musser), Chris Bharucha, and David Gilstad (PM) were assigned to software developer roles as we work with electrical engineers as private contractors for Mr. Smart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages