Introduction‎ > ‎

News

Remote control for iOS

posted 14 Sep 2019, 16:18 by Nigel Ward   [ updated 14 Sep 2019, 16:26 ]

mark.lucking@gmail.com has written an app to control an EV3 running EV3dev Python from iOS : 
The app is available from the iOS apps store. See also marklucking.wixsite.com/remotecode

There is also a version to control an EV3 running EV3 MicroPython (note that my site is devoted to EV3dev Python and not to EV3 MicroPython)medium.com/@marklucking/micropython-tutorial-xvi-1b34071f4640

There is also a video tutorial which I understand is applicable whether your EV3 is running EV3dev Python or EV3 MicroPython. 

EV3dev Python simulator now available

posted 25 Aug 2019, 07:38 by Nigel Ward   [ updated 14 Sep 2019, 16:08 ]

cort@aposteriori.com.sg has just created a simulator for ev3dev python...


It simulates a 2-wheeled differential drive robot commonly used in competitions. He made it mainly to help his students practice programming python on the ev3 even when they don't have access to the actual robot. The simulator runs entirely in the browser, so it can scale to any number of simultaneous users without significant load on the server - you just need to download the maps, javascript files, etc.

I'm afraid I can't give any guidance on using the simulator on this site.

See also this discussion page: 

Udemy course on EV3dev Python

posted 25 Aug 2019, 07:31 by Nigel Ward

I have launched on Udemy.com (in June 2019) a course on programming the EV3 with EV3dev Python. The Udemy course can be found at udemy.com/ev3-pythonWhether you choose to take the Udemy course or try to get started using only this site, which does not propose a step-by-step course, there are some important points to note:
  • Neither this site nor the Udemy course will teach you the basics of Python, which you should of course know before you attempt using Python to control robots. Therefore you should learn the basics of Python elsewhere before taking the Udemy course or trying to use this site.
  • Both this site and the Udemy course focus on a particularly easy way to write and run Python scripts on the EV3, which is to use Microsoft Visual Studio Code, a free and very popular code editor that is available for Windows, MacOS and Linux. An EV3 extension is available for Visual Studio Code that makes the EV3 programming workflow particularly simple and efficient, once everything is set up correctly.
  • This site and the Udemy course focus on EV3dev Python. There are other versions of Python out there such as EV3 MicroPython, but as the name suggests, that is based on a more limited version of Python that does not offer features such as speech synthesis.
Want to know more about the Udemy course?
  • it's a substantial step-by-step course based on about 20 videos totaling around 5 hours. English subtitles are available for all the videos.
  • The course is compatible with both the home and education versions of the EV3.
  • In addition to the videos, the course includes:
    • A ZIP file containing almost all the scripts discussed in the course as well as sound and image files.
    • A PDF document (about 100 pages) that is essentially the script of all the videos.
    • Build instructions for the home version of the Education Vehicle model and links to build instructions for the education version.
    • Build instructions for an original drawing / writing robot for both the home and education versions.
    • A troubleshooting document.
  • Since the Udemy course is not quite free, you can expect me to give you personal help if you need it, something you cannot reasonably expect from a free site such as this one.
  • It's Udemy, so if you're not satisfied you can easily get your money back.
  • The Udemy course proposes a slightly simpler EV3 Python programming workflow than that proposed on this site. Specifically, it proposes a workflow that does not require you to have configuration files in the folder that holds your Python scripts.
  • The Udemy course can be found at udemy.com/ev3-python.
Watch this 10 minute video whether or not you are interested in the Udemy course. It will make you more certain than every that learning to program the EV3 with Python is a very smart move.

EV3dev Python v2 is out!

posted 5 Oct 2018, 12:07 by Nigel Ward

It is so superior to version 1 that this new website has been created for the new version. Read about the improvements and how to modify your version 1 scripts to take advantage of the new features HERE.

Great new EV3 Python programming workflow!

posted 17 Jun 2018, 07:01 by Nigel Ward   [ updated 17 Jun 2018, 07:01 ]

Since May 2018 a fabulous new way of writing and running EV3 Python programs has become available! The new workflow has many advantages over all previous workflows. Click HERE to learn about the new workflow which is based on the free code editor Microsoft Visual Studio Code (VS Code) which is compatible with Windows, Mac OS and Linux.

Possible bug in MobaXTerm or Brickman?

posted 24 Mar 2017, 16:53 by Nigel Ward   [ updated 25 Mar 2017, 09:31 ]

I have recommended MobaXTerm Free Edition on this website but have recently become aware of a possible bug in the way that MobaXTerm and Brickman interact. That bug could be in either MobaXTerm or Brickman - more likely Brickman since it is still officially in a pre-release phase. If, in MobaXTerm, you use the 'Create New File' button in the SFTP sidebar or if you right-click the sidebar and choose 'New Empty File' to create a new python file then you can edit that file (including putting the shebang in the first line of the file) and make it executable but I believe the file cannot be opened correctly in Brickman until the EV3 brick has been restarted. Instead, a tiny text message flashes briefly on the LCD screen - it says something like 'Bad interpreter. Text File Busy.' The same file can be launched fine from the terminal or on the computer (using RPyC) - it is only when you try to run it from Brickman that this problem is apparent. 

If you experience this problem then simply create new python files some other way:
  • On the terminal you can create a new python file in the current folder with, for example, nano filename.py   (use the file name of your choice).
  • If you are using a python IDE on the computer (using RPyC to enable the running of the script in the computer in such a way that it appears to be running on the EV3) then use the IDE to make the new file. If you have mapped the EV3 to a Windows drive letter with SFTP Net Drive Free then you can save the new file directly to the EV3.
  • On my Windows 10 PC, if I right-click inside a file listing in Windows Explorer I can choose New>Python file. I don't suppose this is default behavior in Windows 10 and I don't know which app on my PC made this available. 

1-6 of 6