08. Laptop Application - reivaxy/kinetix GitHub Wiki

The laptop application

Warning

Your laptop must be equipped with BLE technology, not the old standard Bluetooth, otherwise it won't work.

It's a python script that opens an interface allowing you to connect to the KinetiX and send commands to it much like you can do from the mobile apps.

Installation and pre requisites

You need to have python3 installed on your computer, with pip, and you need to run pip install -r requirements.txt to install the required modules.

Then you just run the script python main.py

It will open this window:

By default, the first time, it will look for a bluetooth device named KinetiX, and will eventually connect after some time. The next times it will use the device MAC Address and it will be much faster.

Click on the connect button and wait. It should eventually connect and the button will become green. You can then click the other buttons to send commands.

If the connection fails (timeout) you can try increasing the timeout, or use the MAC address instead of the name at the top of the window.

But you need to know the MAC address of the ESP32 (it will be fetched and memorized when the first connection by name succeeds).

Accessing the settings

You can display and update the generic "experiments" settings for your firmware experimentations by clicking the "Settings" button.

Later, specific settings will likely be implemented to adjust the start and end servomotor positions for each finger, for instance.

Updating the firmware of the ESP32

You can upload a new firmware binary file to the device by clicking the OTA button.

Just like with the Android application you will need to provide the SSID and password to your home wifi network (the password is not saved anywhere, the SSID is saved locally for next usage).

You will then need to reconnect to the KinetiX.

⚠️ **GitHub.com Fallback** ⚠️