Has Anyone Used a ChromeBook for MicroPython Development? #15123
Replies: 4 comments 6 replies
-
Chromebook should support webusb, and tools like makecode as well. So while I've not used the combo before, I think that centering your search around tools that allow flashing or transferring code over webusb will deliver results |
Beta Was this translation helpful? Give feedback.
-
I've done it with Micro:bit devices. They're more expensive than ESP32, but there's a much larger education community and support around them, so that can make it worthwhile. Is there any particular reason you're leaning towards ESP32? |
Beta Was this translation helpful? Give feedback.
-
So a few thoughts maybe worth sharing! There are a few projects that have overcome the general issues with ChromeOS and MicroPython, but this area is a little immature. There are perhaps four aspects to discuss:
Support for 1 depends on the microcontroller and bootloader. Those that use Number 2 requires supporting a serial connection from the browser. Again, there are good proof-of-concepts (BIPES web-serial-terminal, serialTerminal) and they wouldn't require too much polish to be very usable. Item 3 would need to extend 2 to add 4 is about having a development IDE in the browser - something like VS Code for the Web. As I said, a lot of this is available now, it's just not a great experience. I like to imagine github.dev (basically VS Code for the Web hosted on Github) with a web extension to interact with a connected device - and it doesn't seem terribly difficult! |
Beta Was this translation helpful? Give feedback.
-
I'm quickly coming to the conclusion of: It might be possible, but it's gonna be painful. Add in the administrative policies governing what internet sites are available for these devices and the outlook is even more dismal. So, I'm pivoting and looking at other solutions for student developer workstations. Currently, that's looking like upcycling discarded Raspberry Pis into something useful and making MicroPython firmware and other files available on the Pis via USB flash drive sneaker net. I appreciate everyone who's chimed in with suggestions. If anybody is interested in the Raspberry Pi approach, I've started a GitHub project repo for it. It's full of a lot of TODO placeholders right now, but I've already got a line on some donated Raspberry Pi hardware. My hope is to have something ready for a small pilot group of students by autumn. |
Beta Was this translation helpful? Give feedback.
-
I'm undertaking a project to corrupt the minds of middle-school students with the wonders of microcontrollers and MicroPython. I assumed the school would have some sort of lab with PCs or Macs capable of running VS Code and MPRemote or even Thonny. I was wrong. It's ChromeBooks as far as the eye can see.
Has anyone successfully used a ChromeBook to develop with MicroPython?
There's a lot listed under "Not Supported Yet" on this ChromeBook Help KB article: https://support.google.com/chromebook/answer/9145439?hl=en
This includes many USB devices, so I have a strong suspicion I'll be looking at my "plan B". But ,I thought I would check with the group first to see if anyone has made this work.
Beta Was this translation helpful? Give feedback.
All reactions