Difference between revisions of "Jupyter"

From Sketching with Hardware at LMU Wiki
Jump to navigation Jump to search
Line 1: Line 1:
  
= Jupyter notebook as development ennvironment for MicroPython =
+
= Jupyter Notebook as development environment for MicroPython =
  
 
This explains how to configure a local Jupyter Notebook to develop MicroPython code on an ESP32 or ESP8266 device.
 
This explains how to configure a local Jupyter Notebook to develop MicroPython code on an ESP32 or ESP8266 device.
  
== Steps to set it ip ==
+
== Step-by-Step Setup ==
  
 
In this example, we use the Arduino Nano RP2040 Connect and an Arduino Nano ESP32.
 
In this example, we use the Arduino Nano RP2040 Connect and an Arduino Nano ESP32.

Revision as of 09:29, 11 June 2024

Jupyter Notebook as development environment for MicroPython

This explains how to configure a local Jupyter Notebook to develop MicroPython code on an ESP32 or ESP8266 device.

Step-by-Step Setup

In this example, we use the Arduino Nano RP2040 Connect and an Arduino Nano ESP32.

The basic steps are

pip install jupyterlab
pip install jupyter_micropython_kernel
python -m jupyter_micropython_kernel.install
  • Connect the device physically to the computer
  • Have as first command to the connection to serial port
  • Program the board directly in the notebook, see the output (including sensor streams) directly in the notebook

Web pages and Tutorials


Jupyter01.PNG