====== LEGO Mindstorms & Spike (Education) ======
Alles wichtige zum Thema LEGO Technik, Mindstrorms und & Spike (Education).
===== Literatur & technische Informationen =====
* [[https://libdoc.fh-zwickau.de/opus4/frontdoor/deliver/index/docId/15400/file/lego_spike_linux.pdf|Technical report - Host-hub communication for LEGO Spike
Prime on Linux]]
* [[https://github.com/gpdaniels/spike-prime|Collection of useful information about the Lego Mindstorms Robot Inventor (51515), Lego SPIKE Prime (45678) and Lego SPIKE Essential (45345)]]
Pybricks und auch die LEGO Spike Webseite setzen zwingend den Google [[https://www.google.com/intl/de_de/chrome/|Chrome]] Browser voraus!
===== PyBricks - Firmware flashing made easy =====
[[https://pybricks.com/|Pybricks - Robotics made easy]] --> [[https://code.pybricks.com/|Start coding]]\\
Unbedingt vor der ersten Nutzung unter Linux die notwendigen [[https://pybricks.com/projects/tutorials/dev/tools/linux/|Anpassungen der UDEV Regeln]] durchführen.\\
mcedit /etc/udev/rules.d/99-pybricksdev.rules
# Pybrickdev rules for LEGO programmable bricks
# MINDSTORMS NXT brick
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0002", MODE="666", TAG+="uaccess"
# MINDSTORMS NXT brick in firmware update mode (Atmel SAM-BA mode)
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="6124", MODE="666", TAG+="uaccess"
# MINDSTORMS EV3 brick
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0005", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0005", MODE="666", TAG+="uaccess"
# MINDSTORMS EV3 brick in firmware update mode
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0006", MODE="666", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0006", MODE="666", TAG+="uaccess"
# SPIKE Prime hub in firmware update mode (DFU mode)
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0008", MODE="666", TAG+="uaccess"
# SPIKE Prime hub
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0009, MODE="666"", TAG+="uaccess"
# SPIKE Essential hub in firmware update mode (DFU mode)
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="000c", MODE="666", TAG+="uaccess"
# SPIKE Essential hub
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="000d", MODE="666", TAG+="uaccess"
# MINDSTORMS Inventor hub
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0010", MODE="666", TAG+="uaccess"
# MINDSTORMS Inventor hub in firmware update mode (DFU mode)
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0011", MODE="666", TAG+="uaccess"
Zusätzlich muss der Nutzer Mitglied in der Gruppe ''tty'' sein.
===== Offizielle LEGO Web Apps =====
[[https://spike.legoeducation.com/#/prime/project|LEGO Education Spike Prime]]\\
[[https://spikelegacy.legoeducation.com/#/prime/project|LEGO Education Spike Prime Legacy]]\\