Online MicroPython IDE
Online MicroPython IDE
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
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
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!
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!
- aivarannamaa
- Posts: 171
- Joined: Fri Sep 22, 2017 3:19 pm
- Location: Estonia
- Contact:
Re: Online MicroPython IDE
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.
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.
How to do this?Sometimes the presence of CP210x driver may actually prevent WebUSB from access the development board. In that case, please unbind the driver and retry.
Aivar Annamaa
https://thonny.org
https://thonny.org
Re: Online MicroPython IDE
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.
The WebUSB and Web Serial APIs are still evolving, and should get better over time.
Re: Online MicroPython IDE
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
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
- aivarannamaa
- Posts: 171
- Joined: Fri Sep 22, 2017 3:19 pm
- Location: Estonia
- Contact:
Re: Online MicroPython IDE
Jeff, still no success.
Unfortunately at the moment I don't have time for experimenting with unbinding the drivers and such. Sorry.
Unfortunately at the moment I don't have time for experimenting with unbinding the drivers and such. Sorry.
Aivar Annamaa
https://thonny.org
https://thonny.org
Re: Online MicroPython IDE
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
- constharper
- Posts: 1
- Joined: Tue Oct 12, 2021 6:03 am
- Location: USA
- Contact:
Re: Online MicroPython IDE
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
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
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
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
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.