Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
/ pari Public archive

PARI (PApaya Ripeness Identification) is a system designed to classify the ripeness of papaya (Carica papaya) using ultra-high frequency electromagnetic waves.

License

Notifications You must be signed in to change notification settings

NotHydra/pari

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PARI (PApaya Ripeness Identification)

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.

Tech Stack

Raspberry Pi Chart.js Bulma SASS Next JS Socket.io NestJS Prisma Postgres Vite Yarn NodeJS

Python TypeScript

Folder Structure

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



Server Setup

1. Navigate To Server Directory

$ cd ~/program/pari/src/server

2. Install Dependencies

$ yarn install

3. Environment Variables Setup

$ cp .env.example .env

4. Prisma Setup

$ yarn run prisma:generate
$ yarn run prisma:seed

5. Running The Project

# Development
$ yarn run start:dev
# Production
$ yarn run build
$ yarn run start:prod



Website Setup

1. Navigate To Website Directory

$ cd ~/program/pari/src/website

2. Install Dependencies

$ yarn install

3. Running The Project

# Development
$ yarn run dev
# Production
$ yarn run build
$ yarn run start



Raspberry Pi 3 (Script) Setup

1. Navigate To Script Directory

$ cd ~/program/pari/src/script

2. Activate Virtual Environment

$ source ~/program/pari/src/script/venv/bin/activate

3. Install Dependencies

$ pip install -r requirements.txt

4. Environment Variables Setup

Make sure to change the "SERVER_URL" value to the server's URL

$ cp .env.example .env

5. Running The Project

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

About

PARI (PApaya Ripeness Identification) is a system designed to classify the ripeness of papaya (Carica papaya) using ultra-high frequency electromagnetic waves.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published