Welcome to the MicroPython SparkFun Inventor's Kit (SIK)!
Python is a dynamic programming language with very simple syntax that makes it fast and easy to develop with. Despite being simple and readable, Python is one of the most powerful and widely used languages in modern development—especially in cutting edge areas like machine learning and data science.
MicroPython is a subset of standard Python that is specialized for embedded development (writing code that runs on electronics and hardware). It maintains the ease of use and power of Python while also handling most of the complicated hardware details for you. This allows you to spend more time learning, designing, and coding and less time fussing with small coding errors.
Don’t know Python/MicroPython yet? No problem! The MicroPython SparkFun Inventor’s Kit is designed to take you “from zero to hero” and requires no prior experience in programming or circuit design.
Over the course of the SIK’s 5 projects composed of 16 total circuits, you will get an introduction to all of the programming concepts below:
for loops and while loopsA JupyterLite Notebook is a flexible web interface that allows you to write both code and documentation in one place. It is the application you will use to write and run code for the SIK. Jupyter Notebooks are composed of “instructional cells” and “code cells”. The instructional cells will provide guidance, teach new topics, and give useful tips. The code cells can be run directly from within the Notebooks to run them on your board and drive your circuits!
Code cells are where you write and execute your MicroPython code. You can enter code, run it, and immediately see the results. This is how you’ll interact with your hardware and test your circuits.
When you navigate to the SIK Jupyter Notebook Projects Homepage, you can navigate to each circuit by selecting it from the file explorer on the left hand side:
The file explorer lets you browse available notebooks. Double-click on a circuit notebook to open it and start working. You can find each of the SIK Notebooks labelled by their Project and Circuit.
When you finish the SIK, if you want to create your own brand new notebooks, select File > New > Notebook, or right-click within the file explorer:
Then, select Embedded Kernel if prompted to select a kernel:
The SparkFun MicroPython SIK lets you connect to your board directly from a webpage without installing development software or drivers.
Then select Connect Device from the RedBoard Device Manager.
From the popup list, select the correct device for your RedBoard RP2350. It’s probably the one with the word Board in the name. Not sure? Unplug your board and try again; the entry that disappears is the one you want. Plug the board back in and choose that device.
Your device should now be connected!
Code cells can be run by any of the three methods below:
Select a code cell (click inside it). Press Ctrl/Cmd + Enter to run that cell.
Select a code cell, then click the play (▶) button at the top of the cell to execute it. This runs only the selected cell.
Each SIK notebook is designed to run cells in order. Click the Restart Kernel and Run All (▶▶) button to execute every cell in sequence.
Get started with Project 1 - Circuit 1A: Blinking an LED to build your first circuit and run some code from a JupyterLite Notebook!