https://github.com/harbaum/softxt
Pure python implementation of a fischertechnik TXT-4.0 controller to be used with Blockly based Robo Pro Coding.
https://github.com/harbaum/softxt
blockly fischertechnik ftduino python
Last synced: 7 months ago
JSON representation
Pure python implementation of a fischertechnik TXT-4.0 controller to be used with Blockly based Robo Pro Coding.
- Host: GitHub
- URL: https://github.com/harbaum/softxt
- Owner: harbaum
- Created: 2021-05-19T07:11:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T09:17:29.000Z (almost 4 years ago)
- Last Synced: 2025-01-16T03:26:17.313Z (9 months ago)
- Topics: blockly, fischertechnik, ftduino, python
- Language: Python
- Homepage:
- Size: 218 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SofTXT
Simple pure software implementation of the upcoming fischertechnik
TXT-4.0 controller [Video](https://youtu.be/1ub4-ASsy-U).These scripts implement the online behaviour of the TXT-4.0 and can be
run as a client against [ROBO Pro
Coding](https://docs.fischertechnik-cloud.com/books/robo-pro-coding)
available e.g. for
[Android](https://play.google.com/store/apps/details?id=eu.beemo.roboprocoding).
Optionally and for physical fischertechnik inputs and outputs a
ftDuino is supported.## Howto
You'll need
- A device running RoboPro Coding
- tested with Android RoboPro Coding 6.0.4
- A linux PC running SofTXT (this project)
- Optionally connected via USB to a [ftDuino](http://ftduino.de) running the [IoServer sketch](IoServer)On the Linux PC you'll need the following packages (e.g. install them using apt-get):
- python3
- python3-pyqt5
- python3-pyqt5.qtquick
- qml-module-qtquick-extrasTo use SofTXT simply clone this repository and run
```txt-4.0.py```. This will start a web server that listens on port
8000 and provides the web API that ROBO Pro Coding expects to see. The
server will store downloaded programs in the local ```workspaces```
directory and run the ```run.py``` script whenever an app is supposed
to run. ```run.py``` and all other files are needed to execute
downloaded programs.In order to access the SoftXT from RoboPro Coding enter ```:8000``` as the IP address into the "Controller verbinden" dialog
of ROBO Pro Coding. Replace with the IP address of the
Linux PC running SofTXT displayed by ```txt-4.0.py``` as shown below:```
$ ./txt-4.0.py
Starting TXT-4.0 server on http://10.11.13.34:8000
```You can give anything for ```API-Schlüssel``` as this is not verified
by SofTXT.