https://github.com/jsonfm/remio-mcu
https://github.com/jsonfm/remio-mcu
circular experiment mcu opencv python raspberrypi remio socketio
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jsonfm/remio-mcu
- Owner: jsonfm
- License: apache-2.0
- Created: 2023-03-21T23:53:15.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T19:00:55.000Z (over 3 years ago)
- Last Synced: 2025-03-25T13:47:03.116Z (over 1 year ago)
- Topics: circular, experiment, mcu, opencv, python, raspberrypi, remio, socketio
- Language: Python
- Homepage:
- Size: 333 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### ๐๐งช Remio Mockup Template
This is a python template for making experiment with `remio` library. It gives to you a project structure, a some utils for developing quickly remote laboratory projects.
### ๐จ GUI
The project includes a simple GUI made with Bootstrap 5. You can find the files inside the `public` folder:

You could edit it according to your needs. I recommed to you use `QtDesigner` program which simplifies the GUI creation proccess.
### ๐ฌ Communications Schema
The project uses a simple mechanism to establish bidirectional communications in real time, using the `socketio` protocol/library.

### ๐๏ธ Structure
Some folders were created to help you structure the project:
```
.
โโโ arduino
โ โโโ mockup
โ โโโ mockup.ino
โโโ docs
โโโ public
โโโ server
โโโ utils
โโโ gui.py
โโโ gui.ui
โโโ production.py
โโโ README.md
โโโ requirements.txt
โโโ settings.py
```
### โ๏ธ Installation
Clone the repository:
```
git clone https://github.com/jsonfm/remio-mcu.git [your-project-name]
```
Create and activate a virtual environment.
Unix systems:
```bash
python3 -m venv venv
source venv/bin/activate
```
Windows:
```
py -m venv venv
venv\Scripts\activate
```
### โ๏ธ Dependencies
After you set the virutal env, install dependencies:
```
pip install -r requirements.txt
```
### โก๏ธ Development
This experiment uses PyQt5 framework to provide a GUI.
```
python gui.py
```
### ๐ Production
To run the experiment without the local GUI (production), you could use the `product.py` file:
```
python production.py
```
### โจ SocketIO Server
A socketio server was added to do some tests.
```
python run_server.py
```