r/pybricks • • Sep 27 '26

A desktop app for Pybricks: LittleTinker Rig

Hi guys!

I am teaching some robotics to my children and ended up using Pybricks quite a lot. I like it, but I am not a big fan of doing everything in a web app, so I started making a small standalone desktop app around it. It is called LittleTinker Rig: https://github.com/alepoydes/little-tinker-rig

It is still an early alpha, but the basic workflow already works: editing Python, connecting to a hub, uploading and running programs, console output, and flashing Pybricks firmware. I am also playing with things like lessons, assembly instructions and 3D robot models.

While working on it, I got interested in a slightly different problem: how to get children from block programming to actual Python without forcing them to switch between two completely different environments. So I am trying a block-like Python editor. The program is still normal Python, but at the beginning a child can build it from fairly large predefined pieces. At the same time they see the real code, so Python is there from day one. Later the pieces can become smaller and more flexible, until at some point it is easier to just write the code directly. I like the idea that blocks should slowly disappear instead of becoming a separate language that has to be unlearned later.

I am mainly making this for my own children, but I am curious whether anyone else would actually want such an app. Especially if you use Pybricks for teaching: does this approach sound useful, and what would you want from a desktop Pybricks environment?

10 Upvotes

3 comments sorted by

2

u/jormono Sep 27 '26

Not relevant to teaching, but the first thing that comes to my mind is that my understanding of the biggest issue the pybricks devs are facing with implementing pybricks for ev3 hubs is the USB connection on their web UI, perhaps your desktop app could side step the issue. If it does work, it might make it easier for them to do some further testing while they work on the USB issues.

1

u/alepoydes Sep 28 '26

Thanks for bringing this up! I'd be happy to help if I can. I don't have an EV3, but I've now flashed a recent pybricks beta onto my Robot Inventor hub and added a small temporary adapter for the new USB protocol in LTR. Uploading and running a simple test program over USB worked. I also added experimental EV3 support for the newer firmware, but haven't tested that part. If anyone already experimenting with the new EV3 firmware wants to give LTR a try, I'd love to hear how it goes.

2

u/rickyzhang82 Sep 28 '26

Ev3 hub can use a wifi dongle and scp the code from the host to the hub. It is messier to connect ev3 hub through USB.

The same deal for spike. It uses BLE GATT.