lehrkraefte:sbt:informatik-glf2-22:robotik

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
lehrkraefte:sbt:informatik-glf2-22:robotik [2022/11/25 19:33]
Olaf Schnürer [See also]
lehrkraefte:sbt:informatik-glf2-22:robotik [2023/01/20 20:14]
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 "tech-lab" as network (by scrolling through the list).       * Select "tech-lab" as network (by scrolling through the list).
       * If "Status: Online" or Status: Connected" appears, everything is fine.       * If "Status: Online" or Status: Connected" appears, everything is fine.
-        * Else:  +      * Else:  
-          * Select "Connect"+        * Select "Connect"
-          * Press enter key in empty password field. +        * Press enter key in empty password field. 
-          * Enter password "tech-lab"! (Use arrow keys and enter key to select characters, use Escape key for deleting)+        * Enter password "tech-lab"! (Use arrow keys and enter key to select characters, use Escape key for deleting)          * Finish with OK/enter. 
-          * Finish with OK/enter. +        * Select "Accept"   
-          * Select "Accept"   +      * go back with "ESC" to main menu
-      * go back with "ESC" to mainmenu+
  
 ===== In VS Code ===== ===== In VS Code =====
Line 23: Line 23:
   * Make sure to be connected to "tech-lab" by WLAN.   * Make sure to be connected to "tech-lab" by WLAN.
   * Open the command palette (Ctrl+Shift+p). Enter "ev3dev" and choose "ev3dev: Connect to a device".   * Open the command palette (Ctrl+Shift+p). Enter "ev3dev" and choose "ev3dev: Connect to a device".
-  * 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 to open new project or explore example projects.+  * New lego icon on left side. Click on the icon and choose to open new project or explore example projects.
  
 +  * e.g. open example project, see screenshot for sending to device
 +
 +{{:lehrkraefte:sbt:informatik-glf2-22:roboter-send-to-device.png?200|}} 
 +
 +  * start by clicking on program, e.g. on ''main.py'' in screenshot
 +
 +{{:lehrkraefte:sbt:informatik-glf2-22:roboter-starten-von-vscode.png?200|}}
  
   * Can run program autonomously from robot: Press "Escape" several times, "File browser" etc.   * Can run program autonomously from robot: Press "Escape" several times, "File browser" etc.
  • lehrkraefte/sbt/informatik-glf2-22/robotik.txt
  • Last modified: 2023/01/27 14:17
  • by Olaf Schnürer