Overview
Let’s code EV3 on a low-spec computer!
Prerequisites
-
The EV3 has a microPython image installed on the SD card, and the SD card is inserted into the EV3.
-
The EV3 is connected to the computer via Bluetooth or a cable.
-
The command to communicate via ssh is installed (e.g.
ssh
on Linux/FreeBSD).
What is SSH?
According to wikipedia, it is a system that allows you to safely communicate with the other side’s shell.
Let’s try it
Open the shell, you can enter by typing the following command.
ssh username@IPADDRESS
By default, you can enter by
ssh robot@IPADDRESS
An IP address is displayed in the upper left corner of the picture below.
In this case,
ssh robot@169.254.80.244
You will be asked for a password. Enter maker
(the default password).
ssh robot@169.254.80.244
Password:
Linux hexagon 4.14.117-ev3dev-2.3.5-ev3 #1 PREEMPT Sat Mar 7 12:54:39 CST 2020 armv5tejl
_____ _
_____ _|___ / __| | _____ __
/ _ \ \ / / |_ \ / _` |/ _ \ \ / /
| __/\ V / ___) | (_| | __/\ V /
\___| \_/ |____/ \__,_|\___| \_/
Debian stretch on LEGO MINDSTORMS EV3!
Last login: Wed Apr 15 10:24:02 2020 from 169.254.68.188
robot@hexagon:~$
You are connected by this way.
How to run
brickrun /usr/bin/pybricks-micropython /path/to/main.py
Conclusion
Now you can run it even if you don’t have vscode.
※The thumbnail is copyrighted by Freepik.