Answers.Body: <p>You can create a network connection between two EV3s using USB + ev3dev. Just enable tethering (the "Gadget" checkbox) on one of the EV3s. Connect the USB cable to the USB peripheral port on that brick (the small port next to the output ports) and the host port on the other EV3 (the USB port on the side of the brick).</p>
  
  <p>Then, you could use something like RPyC to remotely control one of the EV3s. Here is an example that explains how to do this from a computer: <a href="https://sites.google.com/site/ev3python/learn_ev3_python/rpyc" rel="noreferrer">https://sites.google.com/site/ev3python/learn_ev3_python/rpyc</a>. So just substitute one of the EV3 bricks for the computer.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-04T14:50:17.480Z
Answers.LastActivityDate: 2017-08-04T14:50:17.480Z
Answers.UserDisplayName: David Lechner
Answers.Body: <p>I have not tried this for myself. But as far as I know ev3dev does not support EV3 USB daisy chaining. </p>
  
  <p>EV3 serial to EV3 serial over sensor ports should work. e.g. as an example <a href="https://github.com/ev3dev/ev3dev/issues/346" rel="nofollow noreferrer">https://github.com/ev3dev/ev3dev/issues/346</a> and <a href="https://github.com/ev3dev/ev3dev/issues/695" rel="nofollow noreferrer">https://github.com/ev3dev/ev3dev/issues/695</a> 
  Make your own cable with a wire for ground, and cross-over wires for TX and RX. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-27T06:56:43.580Z
Answers.LastActivityDate: 2017-07-27T06:56:43.580Z
Answers.UserDisplayName: anonagain
Body: <p>For some project, I have to use 7 motors with ev3 bricks.
  So I would like to connect 2 bricks using USB-USB link, and make them communicate, in python.</p>
  
  <p>But I don't know how to do that, I've tried some stuff using serial module, but without any result.</p>
  
Tags: <ev3><ev3dev><python>
Title: How to connect two LEGO Bricks EV3 by USB using python
UserDisplayName: Mathieu41
ThreadText: # How to connect two LEGO Bricks EV3 by USB using python
  
  (Asked by: username_0 on 2017-05-12)
  
  For some project, I have to use 7 motors with ev3 bricks.
  So I would like to connect 2 bricks using USB-USB link, and make them communicate, in python.
  
  But I don't know how to do that, I've tried some stuff using serial module, but without any result.
  
  **Tags:** ev3, ev3dev, python
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-08-04. Score: 5
  
  You can create a network connection between two EV3s using USB + ev3dev. Just enable tethering (the "Gadget" checkbox) on one of the EV3s. Connect the USB cable to the USB peripheral port on that brick (the small port next to the output ports) and the host port on the other EV3 (the USB port on the side of the brick).
  
  Then, you could use something like RPyC to remotely control one of the EV3s. Here is an example that explains how to do this from a computer: <https://sites.google.com/site/ev3python/learn_ev3_python/rpyc>. So just substitute one of the EV3 bricks for the computer.
  
  
  ---
  
  ### Answer by username_2 on 2017-07-27. Score: 2
  
  I have not tried this for myself. But as far as I know ev3dev does not support EV3 USB daisy chaining.
  
  EV3 serial to EV3 serial over sensor ports should work. e.g. as an example <https://github.com/ev3dev/ev3dev/issues/346> and <https://github.com/ev3dev/ev3dev/issues/695>
  Make your own cable with a wire for ground, and cross-over wires for TX and RX.
  
  
  ---
  
  