/EV3D4-ssh_control

A Lego EV3 R2D2 copy(EV3D4) remote controlled via ssh.

Primary LanguagePython

EV3D4-ssh_control

This is a Lego EV3 R2D2 copy(EV3D4) remote controll via ssh.

Build

First you nedd to build the EV3D4, or other, but the project is based on that model that is on the EV3's webpage

Installl

ev3dev

For run this python program you will need ev3dev(a custom dual-boot firmware for your EV3) and a Wifi USB Dongle. Go here to install.

Install and run program

Then of build your robot and install ev3dev, you need to install the program:

  1. First connect via ssh to your robot, here is a tutorial
  2. Then, clone the repository: git clone https://github.com/peprolinbot/EV3D4-ssh_control
  3. Go into the directory you recently downloaded:cd EV3D4-ssh_control
  4. Run the script, pyhton3 conbot.py,and wait for it says "LOG"

Here you have the function of all the keys(this list is thinked for view from back or from a camera, like a mobile phone):

KEY FUNCTION
w Go forward
s Go back
a Turn left
d Turn right
g Move head to left
h Move head to right
Space bar Stop all motors
m Play StarWars imperial march
q Quit the program
  1. For run the next time repeat the steps 1,3, and 4