Difference between revisions of "Jupyter"

From Sketching with Hardware at LMU Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
== Steps to set it ip ==
 
== Steps to set it ip ==
  
In this example we use the Arduino Nano Connect RP2040 and a Arduino Nano ESP32.
+
In this example, we use the Arduino Nano RP2040 Connect and an Arduino Nano ESP32.
  
 
The basic steps are
 
The basic steps are
* install Python on your computer (or update to the latest version)
+
* Install Python (version 3.6 and above) on your computer (or update to the latest version), see https://www.python.org/
* install Jupyter Notebooks on your computer locally
+
* Install Jupyter Notebooks on your computer locally (see the documentation at https://jupyter.org/install)
* add the Kernal that allows you to connect to the Board via USB/REPL
+
<syntaxhighlight lang="Bash">
* connect the device physically to the computer
+
pip install jupyterlab
* have as first command to the connection to serial port
+
</syntaxhighlight>
* program the board directly in the notebook, see the output (including sensor streams) directly in the notebook
 
  
 +
* Install the Kernal that allows you to connect to the Board via USB/REPL, see https://github.com/goatchurchprime/jupyter_micropython_kernel/
 +
* 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 ==
 
== Web pages and Tutorials ==

Revision as of 08:26, 11 June 2024

Jupyter notebook as development ennvironment for MicroPython

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

Steps to set it ip

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

The basic steps are

pip install jupyterlab
  • Install the Kernal that allows you to connect to the Board via USB/REPL, see https://github.com/goatchurchprime/jupyter_micropython_kernel/
  • 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