Skip to content

wawrzek/skink-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skink py

This is the Scratch Link clone written in Python with PyQT. The initial goal is to make a tool enabling connection between Scratch (Scratux) and Lego EV3 robot for Linux users.

How to run

Following installation, activate local python environment and call the skink.py.

Name

I mistyped the original name (Slink - Scratch Link) in the search engine once, and learnt that Skink is a family of lizard. Instantly, I decided that's a perfect name for an open source project, where there are plenty of animals already.

Check more in Skink article on Wikipedia.

Milestones

Milestone 1 - the first version allowing to connect Scratux to EV3

Technical notes

Installation

At the moment the program has to be cloned from github as sources. The list of required packages (PyQT) is saved in requirements.txt.

git clone https://github.com/wawrzek/skink-py.git
cd skink-py
python -m venv .
source bin/activete
pip install -r requirments.txt

Start

  • Load python environment (if required)
source bin/active
  • Start skink
python skink.py

Links to extra materials

Experiments

The work with Claude wasn't straightforward. It started believe that QT does not work with SPP connections. That forced me to work on side projects, to confirm that QT does not have problems with SPP BT. Then there were problems with sending commands. Scratux reported connection, but there was no reaction for programs using EV3 module. So, I started to improve visibility of all communication.

In the experiments folder there are a few "side" programs, created during my investigation.

Slink

Slink is the original code from Claude.

Raw-Connection

A desktop application to send message over SPP BT connection (Classic BT)

EV3D

The extended version of above application with buttons triggering specific EV3 actions.

Slink-ui

This is original Slink with a Window to better log connections. It became the Skink Milstone 1.

About

Scratch Link implemented with QT in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages