Let's-a-go!
#LEGO #Mario #MarioKart #MicroPython #FOSS #Pybricks #Python
Let's-a-go!
#LEGO #Mario #MarioKart #MicroPython #FOSS #Pybricks #Python
The best solution seems to be using a #Technic hub that runs #pybricks and connecting to it from a #raspberrypi over bluetooth.
I know this works, because I have done it before, but it does complicate things a lot for my not-so-technical users that want to follow along. It means maintaining code for both the Pi and the Hub and creating a protocol so they can communicate. Not impossible, but it seriously increases the learning curve.
Yesterday, I sent out my latest update on my #Lego sorting machine https://ml.streamhead.com/preview/445139/emails/153954825556461462
I mentioned that I had started the process of migrating away from the #EV3 onto the #Raspberry Pi Build HAT. However, after only a few hours with the HAT, I am already disappointed.
The Build HAT is not very reliable, does not have some functionality I want to use (detecting if a motor is stalled) and is completely closed and protected so the awesome people at #pybricks won' t be porting their software.
Angehängt: 1 Bild There we go, the #LEGO #train insanity in action. <nerd-details> I'm using three decommissioned phones and a stationary notebook, all connected via #WebRTC. The phones connect to the train hub via Bluetooth (longer trains actually have two hubs connected simultaneously). It's all done using web technology, meaning the phones just open a website in their browser. Video and control data (speed, battery level, etc.) is transmissioned via WebRTC through an SFU, all fully end-to-end encrypted, of course. What I haven't shown here is that it leverages the #Threema group call technology, therefore people can actually see the trains in action inside the Threema app if the group call is announced inside a Threema group. Trivia: All trains actually use the same Threema ID. That is a feature, so that people using multi-device can join the same group call in Threema. But before this was added to Threema Desktop 2.0, the first real-world use case was controlling LEGO trains in 2023. </nerd-details>
@laurensvalk I cannot say enough about how awesome the work that @laurensvalk is doing - and how awesome he is as a person.
It is incredible that he has been able to do what the LEGO Group could not or did not want to do - unify the MINDSTORMS user experience under one app.
If you have a MINDSTORMS kit gathering dust bring it out again and try #pybricks - and if you don't want to do that, consider donating it to a kid in your area that is interested in tinkering.
Thanks for the mention on Linux Out Loud @WendyDLN
Here's some additional notes that may or may not be useful 😀 , roughly in order of the podcast.
1. Firefox not supporting Web Bluetooth/USB is unlikely to change due to security concerns. See their official position here: https://mozilla.github.io/standards-positions/#web-bluetooth
Glad you found Chromium as an alternative.
2. Thank you for being supportive of #Pybricks having some add-on stuff for supporters like block coding! It's a fine balance to make #FOSS work.
Control your #Duplo train with your other #LEGO sets using #Pybricks #micropython !
Kids can normally drive the train with an iPad, but this adds some fun play and learning opportunities beyond the push-and-go function, without extra screen time.
And it's pretty easy! Full guide: https://pybricks.com/project/control-the-duplo-train/
This demo is really basic, but you can build your own dashboard with literal bells and whistles 😀