Skip to content

PVirie/lego_controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lego_controller

Control buwizz 3 from work station.

Description

This project is similar in spirit to Bricknil and pylgbst but for Buwizz 3 controller.

The project is implemented following protocol version 3.22

Installation

  1. Plug in motor(s) to the Buwizz 3 controller. And make sure your device is on and ready to pair (LED blinking)

  2. set up virtual environment

python3 -m venv .venv
  1. activate virtual environment
source .venv/bin/activate

or on Windows

.venv\Scripts\activate
  1. install requirements
pip install -r requirements.txt
  1. run the program
sudo .venv/bin/python src/main.py

or on Windows simpy run

py src/main.py
  1. use w/a/s/d to control motors 1 and 2.
  2. to exit, press and hold the escape button.
  3. to exit and enter the shelf mode, press and hold the F12.

Life cycle

  1. Scan for devices
  2. Create a device object and connect to it
  3. Operate device
  4. Exit device

Note

  • If you want to keep the device inoperate for a long time, it is recommended to activate the shelf mode (according to Buwizz recommendataion).

Disclaimer

I will not be responsible for any damage caused by using this software. Use at your own risk.

About

Lego controller from work station

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages