PARI is a system designed to classify the ripeness of papaya (Carica papaya) using ultra-high frequency electromagnetic waves. The system employs Radio Signal Strength Indicator (RSSI) technology to measure the interaction of electromagnetic waves with the fruit. By analyzing the RSSI values, PARI accurately determines the ripeness stage of the papaya in a non-invasive manner.
PARI is actively being developed as a Minimum Viable Product (MVP) for the "Gemastik 2024 XVII Smart Device, Embedded System & IoT" competition by Balai Pengembangan Talenta Indonesia (BPTI), Pusat Prestasi Nasional (Puspresnas) & Kementerian Pendidikan, Kebudayaan, Riset, dan Teknologi (Kemendikbudristek) and is not an application for production purposes.
diagram # System designs on how the system is developed
src
├── script # Raspbbery Pi 3 runner script using Python
├── server # RESTful API & WebSocket server using NestJS, Prisma & PostgreSQL
└── website # Web-Based dashboard page using NextJS
$ cd ~/program/pari/src/server
$ yarn install
$ cp .env.example .env
$ yarn run prisma:generate
$ yarn run prisma:seed
# Development
$ yarn run start:dev
# Production
$ yarn run build
$ yarn run start:prod
$ cd ~/program/pari/src/website
$ yarn install
# Development
$ yarn run dev
# Production
$ yarn run build
$ yarn run start
$ cd ~/program/pari/src/script
$ source ~/program/pari/src/script/venv/bin/activate
$ pip install -r requirements.txt
Make sure to change the "SERVER_URL" value to the server's URL
$ cp .env.example .env
Make sure virtual environment is currently active
# Testing
$ cd ~/program/pari/src/script/test/raspberry-pi-3-model-b+
# Test these python script one by one
$ python 2-pin-button.py
$ python lcd-i2c-16x2.py
$ python traffic-light.py
$ python all.py
# Production
$ python script.py