The Raspberry Pi Build Hat: Create with Raspberry Pi and Lego

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • blockly

    The web-based visual programming editor.

  • Whilst it was never completed, as funding for the program was diverted elsewhere, I worked on a team at a university using Blockly [0] compiling it to Lua, and parsing from Lua back into our specific runtime set of Blockly functions.

    It could do absolutely everything that Lua could do. We also added a kind of multifile support, using tabbed views to reimplement libraries on the browser side of things (compiling into separate Lua files).

    The idea was that educators at both ends of the spectrum could convert to and from the same visual representations. The primary school classes the uni were running could use blocks, and slowly move to normal Lua, one feature at a time, all the way up to the first and second year ICT programs for higher ed.

    Because it could compile to Lua, we could use git and a whole bunch of other tools that already exist. There was an experimental C/asm.js branch to add in FFI support, but that was deemed too time-costly whilst the rest still had a bunch of edge-cases.

    And then, unfortunately, the whole program got yanked. But about that time it was close approaching what I would consider "useable" for actual real work.

    [0] https://github.com/google/blockly

  • pylgbst

    Python library for LEGO® PoweredUp devices

  • The color/distance sensor 88007 is in the compatibility list, so it'll work. However, the move hub 88006 is not in the list, which is unsurprising since I think it's bluetooth-only. There are already several libraries with which you can use here, like https://github.com/undera/pylgbst or https://github.com/virantha/bricknil.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • bricknil

    Control LEGO Bluetooth Sensors and Motors with Python

  • The color/distance sensor 88007 is in the compatibility list, so it'll work. However, the move hub 88006 is not in the list, which is unsurprising since I think it's bluetooth-only. There are already several libraries with which you can use here, like https://github.com/undera/pylgbst or https://github.com/virantha/bricknil.

  • twitch-powered-up

    Interact with LEGO Powered Up elements via Twitch chat and a Raspberry Pi.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts