Page 1 of 2

Online MicroPython IDE

Posted: Fri Jul 10, 2020 10:11 pm
by jeff
Hi MicroPython fans,

I built an online MicroPython IDE at www.tinkerdoodle.cc. Currently esp8266 and esp32 chips are supported. This includes the popular NodeMCU boards.

It uses WebUSB technology to work directly in browser, and no extra software or browser plugin is required.

Feel free to try it out!

Thanks
Jeff

Re: Online MicroPython IDE

Posted: Wed Sep 30, 2020 1:10 am
by jeff
Based on user feedback, a lot of improvements have been made to the service, so worth an update here.

1. Code autocompletion with TAB. Works for both Python common libraries and MicroPython specific modules.

2. Google Assistant integration. It is super easy to add voice commands for your projects.

3. Schematic diagram in the notebook.

4. Example projects that are ready to be cloned.

Feel free to check out improved www.tinkerdoodle.cc!

Re: Online MicroPython IDE

Posted: Wed Sep 30, 2020 9:32 am
by aivarannamaa
The approach looks really interesting!

Unfortunately I was not able connect any of my devices (in Ubuntu with snap Chrome). I did see one CP2102 ESP32 device in the list, but the connect button did not turn green. After I enabled "enable-experimental-web-platform-features" and relaunched Chrome, the same device did not show up anymore. When I restored the setting, it showed up again but did not connect.
Sometimes the presence of CP210x driver may actually prevent WebUSB from access the development board. In that case, please unbind the driver and retry.
How to do this?

Re: Online MicroPython IDE

Posted: Wed Sep 30, 2020 3:36 pm
by jeff
Thanks for your interest! Please refer to https://lwn.net/Articles/143397/ to unbind USB driver. Also, could you open the Developer Tools console in Chrome, and see what error it prints when connecting?

The WebUSB and Web Serial APIs are still evolving, and should get better over time.

Re: Online MicroPython IDE

Posted: Tue Oct 13, 2020 4:06 pm
by jeff
Hi Aivar,

I've made improvements to the connection error handling. You should be able to connect to MCU now. Can you give a try to www.tinkerdoodle.cc again?

Thanks.
Jeff

Re: Online MicroPython IDE

Posted: Wed Oct 14, 2020 11:47 am
by aivarannamaa
Jeff, still no success.

Unfortunately at the moment I don't have time for experimenting with unbinding the drivers and such. Sorry.

Re: Online MicroPython IDE

Posted: Wed Oct 14, 2020 3:52 pm
by jeff
Thanks for trying. I suspect the USB device is claimed by another device driver so it cannot be used by Web USB or Web Serial. This seems to be happening more on Linux than other platforms. Web Serial is still in origin trial period. I've filed a feedback to the Web Serial development on Chrome. Hope the issue gets fixed by end of the origin trial. https://www.chromestatus.com/feature/6577673212002304

Re: Online MicroPython IDE

Posted: Tue Oct 12, 2021 6:22 am
by constharper
Your project deserves attention. Tell us what else have you managed to do? Have you extended support for chips other than esp8266 and esp32?

Re: Online MicroPython IDE

Posted: Wed Oct 13, 2021 3:01 am
by jeff
Thanks for the attention!

In theory www.tinkerdoodle.cc should work for any MicroPython board that provides a USB Serial interface. Other than ESP8266 and ESP32, the following boards worked:
- Seeed MaixCube using K210 chip
- Raspberry Pi Pico
- Lego Spike Prime

Re: Online MicroPython IDE

Posted: Fri Oct 15, 2021 7:42 pm
by hcet14
Hi jeff,
why google? Sign in with Google
Google isn't willing to reactivate my account. They told me to get a new e-mail adr. Well....
hcet14