Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lehrkraefte:sbt:informatik-glf2-22:robotik [2022/11/25 18:39] Olaf Schnürer [Your first robotics program] |
lehrkraefte:sbt:informatik-glf2-22:robotik [2023/01/27 14:17] (current) Olaf Schnürer [Your first robotics program] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
====== Robotik mit EV3 ====== | ====== Robotik mit EV3 ====== | ||
===== Installation MicroPython auf EV3 ==== | ===== Installation MicroPython auf EV3 ==== | ||
Line 10: | Line 11: | ||
* Select " | * Select " | ||
* If " | * If " | ||
- | | + | |
- | * Select " | + | * Select " |
- | * Press enter key in empty password field. | + | * Press enter key in empty password field. |
- | * Enter password " | + | * Enter password " |
- | * Finish with OK/enter. | + | * Select " |
- | * Select " | + | * go back with " |
- | * go back with " | + | |
===== In VS Code ===== | ===== In VS Code ===== | ||
Line 23: | Line 23: | ||
* Make sure to be connected to " | * Make sure to be connected to " | ||
* Open the command palette (Ctrl+Shift+p). Enter " | * Open the command palette (Ctrl+Shift+p). Enter " | ||
- | * Enter IP address as name. | + | * Enter IP address as name (click "I don't see my device" |
* Enter IP address. | * Enter IP address. | ||
* Switch to Explorer panel (on left side of VS Code). | * Switch to Explorer panel (on left side of VS Code). | ||
Line 33: | Line 33: | ||
(using micropython = small version of python) | (using micropython = small version of python) | ||
- | * New lego icon on left side. Choose | + | * New lego icon on left side. Click on the icon and choose |
+ | * e.g. open example project, see screenshot for sending to device ACHTUNG: EINFACHER WOHL DIREKT Ctrl+F5, LÄDT WOHL AUCH HOCH. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * start by clicking on program, e.g. on '' | ||
+ | |||
+ | {{: | ||
* Can run program autonomously from robot: Press " | * Can run program autonomously from robot: Press " | ||
Line 42: | Line 49: | ||
===== See also ===== | ===== See also ===== | ||
+ | * Use Examples from Lego Mindstorms extension (have to change motor ports to A and B and sensor port (Ultrasonic) to S2. | ||
+ | * Achtung: pybrick.pupdevices macht Probleme | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
* https:// | * https:// | ||