Replies: 2 comments 5 replies
-
I guess it is hard to answer your question without knowing what you are trying to achieve and what hardware you want to use. In general, pybricks runs on the Lego devices themselves. You can interact with the Lego device running pybricks using bluetooth low energy in the same way you could interact with original Lego devices. Compared to Lego firmware you have more freedom to design such interactions according to your needs and for devices like TechnicHub you can choose to not interact at all. Finding a suitable bluetooth library (assuming you want to use bluetooth) and a framework to develop the gui is entirely up to you. Do you want to run it on Desktop, Mobile or Embedded device? What kind of operating system? An MS-Office like application or some gameengine? A webserver people can view in their browser?... |
Beta Was this translation helpful? Give feedback.
-
I posted my question a bit prematurely as I was not very familiar with Pybricks. After browsing the Pybricks website and documentation, I discovered you offer a block coding interface. That is still not quite what I'm after. My goal is to develop a customizable desktop program to control Lego bluetooth devices similar to The Brick Automation Project (BAP), but with Pybricks as the firmware. Yes, I know... "app". Old school geezer here :-) BAP is no longer in development, but had some very interesting concepts. I think by combining those concepts with Pybricks, a very user friendly gui for Pybricks is possible. This would allow the user to control their Lego devices interactively from a computer or presumably whatever device the gui is developed for. At this point, I need to decide on an ide and then what to use for gui development. After searching for "python gui" it looks like I'll need to familiarize myself with Python, Tkinter, Pybricks and maybe a more current version of Visual Studio. My old laptop recently became unuseable and I'm not sure I want to try to get Visual Studio 6 installed on Windows 11. Plus, it's been years since I've wriitten any code, so it may be time to start fresh with new tools. |
Beta Was this translation helpful? Give feedback.
-
Is pybricks just code interaction with Lego devices or does it support designing a gui to interact with the code? I'd like to use pybricks for code, but would like to develop a custom gui to control how the code interacts with the lego devices.
FYI... I am 60 years old and haven't wriiten a line of code since the days of visual studio 6. I hate to think what I am going to have to reteach myself.
Beta Was this translation helpful? Give feedback.
All reactions