Skip to content

mathamer/MCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCS

Application name: Module for continuous sending

Faculty of informatics pula: https://fipu.unipu.hr/



Kolegij: Web aplikacije i Raspodjeljeni sustavi

Note: Izrađeno za kolegij web aplikacije kao projekt te primijenjeno u svrhe završnog rada pod nazivom “Izrada ugradbenog računalnog sustava za praćenje filtriranja školjkaša pomoću hall senzora“. Trenutačno nastavljen development u sklopu kolegija raspodjeljeni sustavi.

Ak.god. 2020/21
Nastavnik i mentor: doc. dr. sc. Nikola Tanković
Demonstrator: Nikki Bernobić, bacc. inf.

Ak.god. 2022/23
Nastavnik i mentor: doc. dr. sc. Nikola Tanković
Asistent: Srđan Daniel Simić, mag. inf.

Izlagano 25.-27.11.2022. na sajmu CROFISH u Poreču 🐟


Introduction/about

For this project I proposed, developed and tested a hardware module based on an Arduino Uno microcontroller and wireless technology via the WebSocket protocol, which measures the openness of Croatian mussels. This information is received by a specially designed application interface that runs on a personal computer connected via a wireless connection.

The build involved designing and planning the components to be used, as well as wiring and soldering everything into a working device. Then the microcontroller is programmed to be able to recive readings from the selected sensors and communicate to the outside.

Idea came from creating connection with constant data transfer between server and microcontroller as client, that's where the name of project "Module for continuous sending" originates from. For it, most fitting comunication protocol appeared as websocket, because of providing full-duplex communication channels over a single TCP connection. After that it got plenty of aditional features like GUI and all actions with it.

It's primary use is to work with analog HALL sensors which are connected to Croatian mussels, givng us complete monitoring of state and measure how open the mussels are. Monitoring of such has plenty of enviromental benefits because mussels react on bad conditions of water, making them ideal bioindicator.

User interface

Ver. Main Extras
Initial
Latest

Used parts, equipment and services

# Name Price
1 Arduino UNO WiFi Rev.2 €45
1 UTP cable 20 m €25
6 RJ45 Ethernet Plug €2
2 Electrical box €5
12 Analog HALL sensors - 49E or 503 €5
1 Personal computer -
1 Linode Shared CPU - Nanode 1 GB 5$/Mo
... ... ...

Current features

  • Remote monitoring
  • Graphical interface with realtime plotting
  • Fully asynchronous websocket connection
  • Csv file manager
  • Arduino simulation service
  • Csv analysis service

What's next

  • User login and database

Attachments

  1. Simplification of connection scheme

  2. Scheme


Deployed on

- - Expired subscription - -

Project setup

python3 -m pip install --user virtualenv

python3 -m venv env

# MAC/Linux
source env/bin/activate
# WIN
.\env\Scripts\activate

# MAC/WIN/Linux
pip3 install requirements
# MAC -> Needed for service
sudo ifconfig lo0 alias 127.0.0.2 up

Project run

# Start server.py before starting services
python server.py
python services/ArduinoSim.py
python services/AnalyzeCsv.py

App should be running on: localhost:31310

About

Module for continuous sending

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors