Page 1 of 1

Jupyter notebook kernel from adafruit

Posted: Tue Apr 25, 2017 6:28 pm
by jwissing
Hi, just in case you did not notice already.
Tony D. from adafruit has made a kernel wrapper for jupyter notebook that allows to interact with micropython on MCUs.
I have tested so far with pyboard, esp8266 and esp32 boards.
I really like it, as it allows to take notes and code and test incrementally.

Tony explains how to install and setup in a Youtube video:

Re: Jupyter notebook kernel from adafruit

Posted: Tue Apr 25, 2017 7:50 pm
by marfis
Really nice.

I'm using jupyter lately quite a bit but it didn't cross my mind that this combination is possible.

Would be cool to have a set of jupyter notebook tutorials, e.g. for uPy workshops.

Re: Jupyter notebook kernel from adafruit

Posted: Tue May 09, 2017 7:44 pm
by marfis
I've created a starter jupyter worksheet that explains things (how to install jupyter and the mpy-repl-tool package) and shows how to turn on a LED resp. the example disco flash effect from the official tutorials: ... ial1.ipynb

It's pretty cool, you can connect your board from within the webbrowser and do all the fancy REPL staff. And thinking further, you could also setup a jupyter server and let somebody else access/play with your board.

Maybe I'll add more examples, so this can be served as interactive tutorials for beginners.

Btw: mpy-repl-tool is a package available on pypi with micropython tools created by @zsquareplusc. Anyone interested in it, read the docs here: It's not my intention to compare it to the well known rshell or mpfshell - it's just my choice of tools at home and at work and I like it.