Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lostmypillow/jrar
Raspberry Pi | Arduino | RFID IoT
https://github.com/lostmypillow/jrar
django django-ninja
Last synced: about 1 month ago
JSON representation
Raspberry Pi | Arduino | RFID IoT
- Host: GitHub
- URL: https://github.com/lostmypillow/jrar
- Owner: lostmypillow
- Created: 2024-06-03T11:25:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T09:35:20.000Z (4 months ago)
- Last Synced: 2024-08-29T10:42:56.179Z (4 months ago)
- Topics: django, django-ninja
- Language: Python
- Homepage: https://lostmypillow.github.io/jRAR-web
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JRAR
## What is it?
A school project. It demonstrates automotive IoT (sort of). This repo stores the Django backend and React frontend.![unnamed](https://github.com/user-attachments/assets/c4c2fbbf-5278-4d73-aa17-dab5e2d72b25)
[**React frontend**](https://github.com/lostmypillow/jRAR-web)
[**Demo website**](https://lostmypillow.github.io/jRAR-web)
[**API Docs**](https://jrar.lostmypillow.duckdns.org/api/docs)
[**Backup API Docs (Loads slow!)**](https://jrar-latest.onrender.com/api/docs)
**Demo video below**
https://github.com/user-attachments/assets/7e0da181-2ff6-4c8c-aa30-8ee38f792b5e
## How does it work?
1. One swiped an RFID card against an RFID sensor connected to an Arduino.
2. The Arduino send the card number to the Raspberrry Pi 400 via wired connection
3. Pi 400 sends the data using a Python script to our Django (also Python) backend
4. Backend checks card data against known numbers in database, which one can add via the React frontend
5. Backend sends "ok" or "not authorized" signal to RPi
6. RPi sends 0 or 9 to Arduino
7. Arduino flashes light differently based on the number it recieves. (couldn't get this part right tho)
![image](https://github.com/user-attachments/assets/a81383d4-4c07-4278-bba2-7929305c2db2)## Tech Stack
- **Django Ninja** API endpoints
- **SQLite** database
- **Vite(React)** frontend x **MUI** components