Wiznet makers

Benjamin

Published July 04, 2023 © MIT license (MIT)

33 UCC

10 WCC

3 VAR

0 Contests

0 Followers

1 Following

Original Link

micropython-magic

"micropython-magic" is an extension that allows you to write and run MicroPython code in the Jupyter notebook environment.

COMPONENTS Hardware components

WIZnet - W5500-EVB-Pico

x 1

Software Apps and online services

micropython - MicroPython

x 1


PROJECT DESCRIPTION

The "micropython-magic" project is an innovative extension designed to enable the execution of MicroPython code within Jupyter notebooks. It provides a seamless interface between MicroPython devices and Jupyter, allowing developers to write, test, and debug MicroPython code directly from their notebooks.

Key Features:

  1. Loading and Reloading Extension: Easily load and reload the "micropython_magic" extension within Jupyter.
  2. Device Connection: List and connect to available MicroPython devices, such as the W5500-EVB-Pico board.
  3. File System Access: Access and manage the file system on the MicroPython device, including listing files and directories.
  4. Code Execution: Execute MicroPython code using line and cell magics, with support for indentation and time delays.
  5. Evaluation and Testing: Evaluate expressions and perform various tests to ensure the proper functionality of the code.

W5500-EVB-Pico Board Integration:

The project includes specific test examples utilizing the W5500-EVB-Pico board with RP2040. This integration showcases the compatibility of the extension with various MicroPython devices and provides a practical example for developers working with this particular board.

Example Usage:

The provided "basic.ipynb" notebook serves as a comprehensive guide to test the basic functionality of the MicroPython magics. It includes step-by-step instructions to load the extension, connect to devices (including the W5500-EVB-Pico), execute code, and perform various tests.

Conclusion:

The "micropython-magic" project is a valuable tool for MicroPython developers, educators, and enthusiasts. Its integration with the W5500-EVB-Pico board demonstrates its versatility and applicability in various scenarios. Whether you are developing IoT applications, teaching MicroPython programming, or exploring embedded systems, "micropython-magic" offers a convenient and efficient way to work with MicroPython within the familiar environment of Jupyter notebooks.

Documents
  • basic.ipynb

Comments Write