| 
				     | 
				
| (2 intermediate revisions by the same user not shown) | 
| Line 1: | 
Line 1: | 
 |    |  | #REDIRECT [[Jupyter Notebook]]  | 
 | = 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
  |  | 
 | * 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 (see the documentation at https://jupyter.org/install)
  |  | 
 | <syntaxhighlight lang="Bash">
  |  | 
 | pip install jupyterlab
  |  | 
 | </syntaxhighlight>
  |  | 
 |    |  | 
 | * 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 ==
  |  | 
 | * https://towardsdatascience.com/micropython-on-esp-using-jupyter-6f366ff5ed9
  |  | 
 |    |  | 
 |    |  | 
 | [[File:Jupyter01.PNG]]
  |  |