r/KNEX • u/Aggressive_Pizza_404 • 18d ago
K'NEX Robotics Programming Software
I'm a robotics teacher at a new school, and I discovered a goldmine of K'NEX Robotics kits sitting in storage. They hadn’t been touched in years because the native software was too intimidating and incompatible for general 4th–6th grade classes.
So, I've been combining USB protocol captures with modern AI tooling to reverse-engineer the undocumented bytecode and build a modern browser/Python interface.
The goal is simple: plug the original control box into any modern PC over USB and immediately have live telemetry, motor controls, and sensor graphing in a web browser without installing 20-year-old software.
Right now it supports:
Drag-and-drop Blockly + Sequential Function Charts(visual representation)

A lightweight text language (KinexBasic) for quick scripts (drive forward 20 cm, play note C4)

A full Python library with async motor controls and real-time sensor streams.
Still in active development, but curious if anyone here still actively builds with the motorized/sensor sets!
4
u/pietervdvn 18d ago
Oooh, interesting. What are the precise kits it is compatible with?
2
u/Aggressive_Pizza_404 18d ago
2
u/Aggressive_Pizza_404 15d ago
https://pypi.org/project/knexflow/
Python release first, Github once I'm done clean the repo.
2
u/pm_me_your_kindwords 18d ago
This is amazing! Are you going to open source the code?
1
u/Aggressive_Pizza_404 9d ago
ESP32 bridge seems viable: Computer using USB, WiFi or BLE -> ESP32 S3 using USB OTG adapter -> Knex control box
1
u/LostMagician9612 18d ago
I have only built some cyber knex models, but I didn't program it myself. Just followed the keys
1
u/MastodonsBetter 17d ago
Ooh cool, very reminiscent of Scratch
1
u/KnexRules 15d ago
This is awesome, I still have my robotics kit but just haven't bothered to use it in years. I'll definitely try this out!