No video

MicroPython Jupyter notebook kernel with Tony D! @micropython @ProjectJupyter

Live stream to / adafruit showing an experimental Jupyter notebook kernel for MicroPython. This allows you to connect to a MicroPython or CircuitPython board from a Jupyter notebook and interactively control the REPL on the board.
Links mentioned in the video:
- Project Jupyter: jupyter.org/
- Older video exploring Jupyter on the Raspberry Pi: • Raspberry Pi Quick Loo...
- Adafruit Jupyter MicroPython kernel: github.com/ada...
- Jupyter kernel spec location: jupyter-client....
- MicroPython ESP8266 GPIO: docs.micropyth...
Acknowledgements:
- Music: bartlebeats
- Intro shuttle footage: NASA
- Intro fonts: Typodermic
- Intro inspiration: Mr. Wizards's World
- Matrix background: cool-retro-term & cmatrix
-----------------------------------------
Visit the Adafruit shop online - www.adafruit.com
Subscribe to Adafruit on KZread: adafru.it/subsc...
Join our weekly Show & Tell on G+ Hangouts On Air: adafru.it/showtell
Watch our latest project videos: adafru.it/latest
New tutorials on the Adafruit Learning System: learn.adafruit....
Music by bartlebeats: / bartlebeats
-----------------------------------------

Пікірлер: 12

  • @RichardEricCollins
    @RichardEricCollins7 жыл бұрын

    I'm doing a degree and a class I took at the end of last year we used this system. It is excellent, you can essentially write a scientific document that allows others to work with your findings and data. Really interesting idea Tony.

  • @slzatz
    @slzatz7 жыл бұрын

    Tony, this is something I had been very curious about -- thanks so much for figuring it out and showing so clearly how to use jupyter with micropython boards - I think it will provide a great way to teach and to store code snippets with comments/explanations. One thing to note. On some systems (like my Windows system), "python3" is not mapped to anything and it is "python" that is mapped to python3 and while you mention this with pip it also affects the kernel.json file. So you may want to explicitly tell people that when modifying the json file for their system, they may have to change the way python 3.x is invoked to match how their system is set up.

  • @figueroalabs
    @figueroalabs7 жыл бұрын

    BTW, the bash kernel has an output buffer that allows it to watch the output as it is printed by the kernel. They use the pexpect python module for this I think. Love the video as always, I'll be using this kernel in my classes.

  • @emilyhuang2759
    @emilyhuang27595 жыл бұрын

    At around 10:02, what is the difference between installing python3 setup.py install on Windows command line and through git bash? Also I am using Jupyter through Anaconda. I am using Python3 on Anaconda and the command 'python3 setup.py install ' does not work on my Windows command line, git bash, or Anaconda Prompt because python3 is not a recognizable command. What is the problem? In what environment am I suppose to install the setup.py? UPDATE: For some reason, even though Anaconda uses Python3 the command 'python setup.py install' works.

  • @DuneKraftwerk
    @DuneKraftwerk5 жыл бұрын

    Look nice! Can we use a web connection like webrepl instead of serial ?

  • @emilyhuang2759
    @emilyhuang27595 жыл бұрын

    7:57 Wow, I never used the screen command before.

  • @emilyhuang2759
    @emilyhuang27595 жыл бұрын

    Wow! It could work without the arduino IDE! Is Jupyter an alternative to node.js?

  • @priisdk
    @priisdk6 жыл бұрын

    I have now managed to get Jupyter Notebook running a MicroPython-USB kernel on my laptop (Windows). However, when I submit the command %serialconnect to --port=/dev/tty.SLAB_USBtoUART --baud=115200 I get the following answer: Connecting to --port=/dev/tty.SLAB_USBtoUART --baud=115200 Try one of these ports as --port= COM3 COM4 COM6 Next, I try %serialconnect to --port=COM6 --baud=115200, only getting this answer: Connecting to --port=COM6 --baud=115200 [Timed out waiting for recognizable response] Disconnecting [paste mode not working] (You may need to reset the device) What is the exact syntax to connect to COM6?

  • @priisdk

    @priisdk

    6 жыл бұрын

    ...I also tried: %serialconnect to COM6 --baud=115200 with the following response: Found serial ports: COM3, COM4, COM6 Connecting to --port=COM3 --baud=115200 Strange...!?

  • @emilyhuang2759
    @emilyhuang27595 жыл бұрын

    I configured the kernel.json using notepad on Windows. My kernel keeps dying and cannot even execute print function.

  • @fernandoyepes-calderon9742
    @fernandoyepes-calderon97426 жыл бұрын

    Is it possible to execute the python3 install setup.py with conda?

  • @imhori
    @imhori7 жыл бұрын

    Good starting tutorial let me deep into Jupyter kernel directly! If you need to consider interaction usage between Jupyter/Ipython and pyboard, also can refer to github.com/TDAbboud/mpkernel/tree/master#stmhal-port

Келесі