https://github.com/machaj45/iotprojectg2
Group 2 iotproject danger detector
https://github.com/machaj45/iotprojectg2
c dash7 iot iot-device json lorawan python thingsboard
Last synced: 7 months ago
JSON representation
Group 2 iotproject danger detector
- Host: GitHub
- URL: https://github.com/machaj45/iotprojectg2
- Owner: machaj45
- Created: 2019-10-22T15:02:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T14:00:18.000Z (over 5 years ago)
- Last Synced: 2025-01-18T05:42:46.392Z (9 months ago)
- Topics: c, dash7, iot, iot-device, json, lorawan, python, thingsboard
- Language: C
- Homepage:
- Size: 106 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Enviroment Warner
This is semestral work for IOT. That can save your live. In this repository you can found code for device it self and code for server side and also code for android app that helps with seting up the device.# How to clone this repository?
```
git clone git@github.com:machaj45/iotprojectg2.git
```## This project is configured for working with klaxalk setup.
```
git clone https://github.com/klaxalk/linux-setup.git
```
Then read readme.md for how to install the setup## You can also use Visula studio
Setup for Visual studio is in repository it self.## How to compile code
Run:
```
cd {git_repo}/device/application/no-schedguler-example
make
```
## How to programm the device
```
jlinkexe -device STM32L496ZG -if SWD -speed 4000 -autoconnect 1
h
loadbin {git_repo}/device/applications/no-scheduler-example/build/no-scheduler-example.bin,0x08000000"
r
g
```
# Backend
This is server side logic of our application## How to run it?
Run with python:
```
python {git_repo}/backend/main_service/main_service.py
```## Measurements
You can see last measurements done with the main_service script
```
cat {git_repo}/backend/main_service/measurements.json
```# More information
## Final presentation
Go to:
```
{git_repo}/presentation/final_presentation.pdf
```## Power measurements
Go to:
```
{git_repo}/documentation/power measurements
```