<p>If you are running ev3dev on the EV3, you can use RPyC to remotely execute Python code on the EV3.</p>

<p>Resources:</p>

<ul>
<li><p><a href="https://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/stable/rpyc.html" rel="nofollow noreferrer">Python-ev3dev. Working with ev3dev remotely using RPyC</a></p></li>
<li><p><a href="https://sites.google.com/site/ev3python/learn_ev3_python/rpyc" rel="nofollow noreferrer">EV3 PYthon. RPyC</a></p></li>
</ul>

CC BY-SA 4.0
2018-08-24T14:30:47.533Z
2018-12-07T18:40:36.997Z
2018-12-07T18:40:36.997Z
David Lechner
<p>It's definitely possible and feasible to communicate from a program on your PC through bluetooth with an EV3 brick, several example projects can be found on the internet. </p>

<p>Assuming you want to code Python on your PC, I found this link: <a href="http://ev3directcommands.blogspot.com/2016/01/no-title-specified-page-table-border_94.html" rel="nofollow noreferrer">http://ev3directcommands.blogspot.com/2016/01/no-title-specified-page-table-border_94.html</a></p>

CC BY-SA 4.0
2018-08-24T12:30:28.537Z
2018-08-24T12:30:28.537Z
Michael Verschaeve
<p>I want to direct my LEGO Mindstorms EV3 creature from my PC conditionally (ev3dev, Python). The idea is that the program runs on the computer, collects real-time data from different sources, processes them, and instructs the robot via Wifi/Bluetooth step by step. (The data collection and procession is quite computational so the main program cannot be run on the Brick.) The process is basically remote-control but by the PC program directly.</p>

<p>Is it feasible? So far I know only the way when one should upload the full program to the Brick, but this way there is no option to interact with the Brick continuously.</p>

<ev3><remote-control><ev3dev><python>
How to instruct Mindstorms EV3 from PC conditionally?
Fredrik
# How to instruct Mindstorms EV3 from PC conditionally?

(Asked by: username_0 on 2018-08-24)

I want to direct my LEGO Mindstorms EV3 creature from my PC conditionally (ev3dev, Python). The idea is that the program runs on the computer, collects real-time data from different sources, processes them, and instructs the robot via Wifi/Bluetooth step by step. (The data collection and procession is quite computational so the main program cannot be run on the Brick.) The process is basically remote-control but by the PC program directly.

Is it feasible? So far I know only the way when one should upload the full program to the Brick, but this way there is no option to interact with the Brick continuously.

**Tags:** ev3, remote-control, ev3dev, python


---

## 2 answers

### Answer by username_1 on 2018-08-24. Score: 3

If you are running ev3dev on the EV3, you can use RPyC to remotely execute Python code on the EV3.

Resources:

* [Python-ev3dev. Working with ev3dev remotely using RPyC](https://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/stable/rpyc.html)
* [EV3 PYthon. RPyC](https://sites.google.com/site/ev3python/learn_ev3_python/rpyc)


---

### Answer by username_2 on 2018-08-24. Score: 1

It's definitely possible and feasible to communicate from a program on your PC through bluetooth with an EV3 brick, several example projects can be found on the internet.

Assuming you want to code Python on your PC, I found this link: <http://ev3directcommands.blogspot.com/2016/01/no-title-specified-page-table-border_94.html>


---

