The Raspberry Pi is releasing the add on, that will let the users use many of its tiny and inexpensive computers to control certain Lego robot motors and sensors. It is called HAT that is Hardware Attached on Top. It slotting it onto a Raspberry Pi GPIO pins will give the 4 ports, that can use control Lego Education SPIKE Components HAT and its softw2are are specially designed for. It connects to most other parts that use an LPF2 connector and including the components from the Lego Mind storms Robot Inventor Kit.
The Python library that is basically a set of commands that can use to control the robot is available to go alongside the HAT and it will to write the software to control the Robot parts that got hooked up. Lego SPIKE components with Python is not unique selling feature from Raspberry Pi. The SPIKE kit comes with the hub that supports connecting six devices, that can store and run Python programs.
ADDING Raspberry Pi TO PROJECT
Users can get more flexibility with the Raspberry Pi, there are programs Lego Hub using the separate computer or iPad whereas the Build HAT will be attached to its own computer that users can likely plug a keyboard or a mouse, sometimes monitor into that depends on which Raspberry Pi users use. SPIKE Hub only has LPFs ports whereas the Pi has GPIO pins, that user can use to connect other devices or electronics and sensors. It gives the tons of flexibility what can add to robots, build HAT also will let control your motors and sensors at lower level, if that sort of thing is yours jam.
Hooking the build HAT up to a 8V power supply with the barrel plug will let it provide juice to both Lego accessories, connected to it and the Raspberry Pi itself. It is obviously pretty niche product, if the kid or students are playing around with Lego SPIKE robots, but want to go deeper into programming and electronics modding and build HAT could be good way to them with monitors and sensors.