Page 1 of 1

Micropython Web IDE

Posted: Sat Apr 11, 2015 8:55 am
by yllumi
I am interested in Espruino web IDE (https://github.com/espruino/EspruinoWebIDE), especially because it has blockly integrated. I am currently working my thesis about robotic education and I will use micropython to teach basic robotics in junior high school. It is very challeging because junior high school here do not learn programming or at least basic alghoritm knowledge. I think by using visual programming like blockly I can introduce basic algorithm and robotics programming an easy and fun way.

I just want to hear if anyone here that has begin to build the same project that we can collaborate or then I will start to build this.

Re: Micropython Web IDE

Posted: Sat Apr 11, 2015 10:36 am
by pfalcon
Nope. That's certainly an interesting project, useful for some share of community, but it's still waiting someone who *really* need, up to actually working on it. It seems that's you ;-). And +1 for the idea to look at adapting EspruinoIDE - I'd look in that direction myself.

Also see http://forum.micropython.org/viewtopic.php?f=3&t=629

Re: Micropython Web IDE

Posted: Sat Apr 18, 2015 11:46 am
by yllumi
I has began this project, and you can check the codes in this repo https://github.com/yllumi/micropythonIDE.
Firstly I am willing to use node-webkit but I get problem by nodejs programming. So then I decided to use Chrome App as it has provided serial API to connect to serial.

Re: Micropython Web IDE

Posted: Sun Apr 26, 2015 12:22 pm
by Damien
This is interesting and worth working on. I tried your code but on (Linux) Chrome there is no "chrome.Event" class so the serial interface did not work.

I think both this avenue and the IPython one are worth further exploration.

Re: Micropython Web IDE

Posted: Mon Apr 27, 2015 8:36 am
by yllumi
Thanks Damien. This app is Chrome App because we need serial API provided by Chrome API to access serial port.
I do not submit it yet to Chrome Webstore because it is still under development. But if you want to try it, you can install the Chrome Apps Developer Tools (https://chrome.google.com/webstore/deta ... e-ntp-icon) and use it to run the unpacked app. Simply click the "Load Unpacked.." button and choose the micropythonWebIDE folder.

Re: Micropython Web IDE

Posted: Sun May 24, 2015 5:17 pm
by dhylands
Another approach to accessing serial ports is to do something like what ChiliPeppr http://chilipeppr.com/ has done (this is a CNC control program).

It uses a small helper app called serial-port-json server which actually connects to the serial port. There are currently Mac, Windows, and Linux variants of the serial port JSON server.

The serial port JSON server is here: https://github.com/johnlauer/serial-port-json-server
If you scroll down the README file there are links to precompiled binaries for various platforms.

Re: Micropython Web IDE

Posted: Mon May 25, 2015 7:22 am
by yllumi
Wow, nice information. I first thought that the only way we can connect the board from web is using Wifi.
I will try it to this project. Thanks, Dave! :D