Jupyter notebook kernel from adafruit

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
jwissing
Posts: 29
Joined: Thu Jun 19, 2014 12:23 pm
Location: Germany

Jupyter notebook kernel from adafruit

Post by jwissing » Tue Apr 25, 2017 6:28 pm

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: https://youtu.be/UFc0pR2ehiw

User avatar
marfis
Posts: 205
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: Jupyter notebook kernel from adafruit

Post by marfis » Tue Apr 25, 2017 7:50 pm

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.

User avatar
marfis
Posts: 205
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: Jupyter notebook kernel from adafruit

Post by marfis » Tue May 09, 2017 7:44 pm

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:
https://github.com/hoihu/projects/blob/ ... 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: http://mpy-repl-tool.readthedocs.io/en/latest/. 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.

Post Reply