Inspiration

Vaping is a really serious issue at my school and i decided to write a tool during this hackathon that could potentially help combat it.

What it does

pistraw is a tool that hosts an api server on a machine connected to multiple raspberry pis and forwards the service of accessing sensor data via api-commands or web-page requests

How we built it

API/web server in Flask smbus to read the i2c bus input requests to make request between servers html, js for front end android app-dev for android proof of concept

Challenges we ran into

Headless rpi-dev Ensuring security for the users Making sure the mobile application is working and providing accurate data in real-time Ensuring code works for every sensor and thus flexibility

Accomplishments that we're proud of

Successfully implementing a functioning system that can be accessed by web and mobile devices via browesers or pure requests; Functioning raspberry pi sensor setup with correcting wiring for adc chip.

What we learned

Raspberry pi ADC chip wiring, raspberry pi I2C bus reading, flask, requests, web-security

What's next for pistraw

testing with more sensors and stress testing scalability; better security and more API-commands for more details.

Share this project:

Updates