Install ev3dev: Difference between revisions

From wikiluntti
No edit summary
No edit summary
Line 8: Line 8:


=== Connection ===
=== Connection ===
If Internet connection from the brick is not needed, connecting to the brick is straightforward and easy.


==== Bluetooth ====
==== Bluetooth ====
Line 15: Line 17:
==== USB cable ====
==== USB cable ====


Windows will detect your EV3 as a Remote NDIS Compatible Device.
Windows will detect your EV3 as a Remote NDIS Compatible Device. . .  


==== Wifi ====
==== Wifi ====


=== Visual Studio ===


=== Visual Studio Code ===
Install some extensions: the newest ev3dev-browser, and some Python related stuff VS studio needs to install. Connect to the brick by clicking the ''ev3dev device browser'' from down left.
==== Automated launching  ====
Add the file launch.json in the .vscode folder, and copy paste the following script in there


===  ===
<syntaxhighlight>
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Download and Run",
            "type": "ev3devBrowser",
            "request": "launch",
            "program": "/home/robot/${workspaceRootFolderName}/hello.py"
        }
    ]
}
</syntaxhighlight>

Revision as of 21:25, 22 September 2020

ev3dev.org

Download the newest SD card image from https://www.ev3dev.org/downloads/.

Balena Etcher

Write the image to the SD card using Balena Etcher or some other software.

Connection

If Internet connection from the brick is not needed, connecting to the brick is straightforward and easy.

Bluetooth

Establish the Bluetooth connection on computer and brick. It is very straightforward.

USB cable

Windows will detect your EV3 as a Remote NDIS Compatible Device. . .

Wifi

Visual Studio Code

Install some extensions: the newest ev3dev-browser, and some Python related stuff VS studio needs to install. Connect to the brick by clicking the ev3dev device browser from down left.


Automated launching

Add the file launch.json in the .vscode folder, and copy paste the following script in there

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Download and Run",
            "type": "ev3devBrowser",
            "request": "launch",
            "program": "/home/robot/${workspaceRootFolderName}/hello.py"
        }
    ]
}