Getting Started with CircuitPython
CircuitPython is a great way to quickly and easily get started with programming microcontrollers and learn Python. In this tutorial, we will show you how to use CircuitPython on your senseBox MCU-S2.

Editor for CircuitPython
CircuitPython can be used with various editors. In this example, we use the CircuitPython Editor. The CircuitPython Editor is an online editor specifically developed for programming CircuitPython. You can use the editor directly in your web browser without needing to install any software.
Hello World Program
To verify that CircuitPython works, we'll show you a simple Hello World program.
- Visit the CircuitPython Editor.
- Connect your senseBox MCU-S2 to your computer using a USB cable.
- Connect to your senseBox MCU-S2 via
USB. - Click on
Connect to Deviceand selectsenseBox MCU-S2 ESP32S2as the device. You may need to allow the editor to access your senseBox MCU-S2. - Click on
Select New Folderand choose theCIRCUITPYfolder. - You may need to allow file editing.
- Click on
Use CIRCUITPY. - Click on
Openand open thecode.pyfile. - The file should already contain some example code. If not, insert the following code:
print("Hello World!")
- Click on
Save + Run. You should now seeHello World!in the console.