Online MicroPython IDE

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
jeff
Posts: 10
Joined: Fri Jul 10, 2020 9:16 pm

Online MicroPython IDE

Post by jeff » Fri Jul 10, 2020 10:11 pm

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

jeff
Posts: 10
Joined: Fri Jul 10, 2020 9:16 pm

Re: Online MicroPython IDE

Post by jeff » Wed Sep 30, 2020 1:10 am

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!

User avatar
aivarannamaa
Posts: 171
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: Online MicroPython IDE

Post by aivarannamaa » Wed Sep 30, 2020 9:32 am

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?
Aivar Annamaa
https://thonny.org

jeff
Posts: 10
Joined: Fri Jul 10, 2020 9:16 pm

Re: Online MicroPython IDE

Post by jeff » Wed Sep 30, 2020 3:36 pm

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.

jeff
Posts: 10
Joined: Fri Jul 10, 2020 9:16 pm

Re: Online MicroPython IDE

Post by jeff » Tue Oct 13, 2020 4:06 pm

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

User avatar
aivarannamaa
Posts: 171
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: Online MicroPython IDE

Post by aivarannamaa » Wed Oct 14, 2020 11:47 am

Jeff, still no success.

Unfortunately at the moment I don't have time for experimenting with unbinding the drivers and such. Sorry.
Aivar Annamaa
https://thonny.org

jeff
Posts: 10
Joined: Fri Jul 10, 2020 9:16 pm

Re: Online MicroPython IDE

Post by jeff » Wed Oct 14, 2020 3:52 pm

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

User avatar
constharper
Posts: 1
Joined: Tue Oct 12, 2021 6:03 am
Location: USA
Contact:

Re: Online MicroPython IDE

Post by constharper » Tue Oct 12, 2021 6:22 am

Your project deserves attention. Tell us what else have you managed to do? Have you extended support for chips other than esp8266 and esp32?

jeff
Posts: 10
Joined: Fri Jul 10, 2020 9:16 pm

Re: Online MicroPython IDE

Post by jeff » Wed Oct 13, 2021 3:01 am

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

User avatar
hcet14
Posts: 34
Joined: Sat Dec 19, 2020 12:59 am

Re: Online MicroPython IDE

Post by hcet14 » Fri Oct 15, 2021 7:42 pm

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
I'm a beginner with this stuff and no programmer at all.

Post Reply