Adafruit Industries, Essential service and business: NYC – Executive Order 202.6 - Read more.
0

CircuitPython IDE for Chromebooks
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CircuitPython IDE for Chromebooks

by MrCoxall on Tue Mar 17, 2020 2:42 pm

I have seen in many articles that "CircuitPython can even be used on ChromeBooks", which is true but in a school setting unless you are using MakeCode, this is not practical.

If you are using CircuitPython there is a huge problem, especially if you are using school supervised Chromebooks; you can not load Mu. Now technically you could use the Linux app on a Chromebook and load Mu, but I do not want to even get into that. (My Board IT department refuses to turn it on because they are not sure it would be safe. I know do not even talk to me about it!). You can use the built in text app, it even colorizes your code once you save it with a *.py extension. The problem is there is no REPL. When students have an error, there is no feedback. Ok, so there actually is the LEDs that give feedback but that is not practical. They need the error code and line number to be able to fix the problem.

So, what I need is a web based IDE that will let you see the REPL. Luckily due to Web USB, this is actually possible as long as you are using a modern version of Chrome. Here is my first cut at making such an IDE. I am not an HTML and JS guru, but the basics are working.

- https://mr-coxall.github.io/CircuitPython-IDE
- GitHub repo at: https://github.com/Mr-Coxall/CircuitPython-IDE

If anyone has any fixes to my current issues please pass them along.

My goal is to use it next year with my grade 11 CS students. Another issue I am having is using Python on school supervised Chromebooks. I have used Repl.it and AWS educate. Both actually work really well. The problem is I find actually programming a "physical" thing is much more engaging to my students. So my idea is to give each student some kind of CircuitPython device and let them code with it. No login to anything required and no intervention from the IT department, everything just works.
:)

MrCoxall
 
Posts: 6
Joined: Thu Oct 03, 2019 11:16 am

Re: CircuitPython IDE for Chromebooks

by tannewt on Fri Mar 20, 2020 1:48 pm

That looks awesome!

On Chromebooks I've used a text editor and Beagle Term. Your Web IDE looks much better! Thanks for posting links to it.

tannewt
 
Posts: 1536
Joined: Thu Oct 06, 2016 8:48 pm

Please be positive and constructive with your questions and comments.