Seeed Studio XIAO nRF52840 with CircuitPython
CircuitPython is a programming language designed to simplify experimenting and learning to program on low-cost microcontroller boards. It makes getting started easier than ever with no upfront desktop downloads needed. Once you get your board set up, open any text editor, and get started editing code. It's that simple.
Step 1 Enter Bootloader Mode
Before we install CircuitPython to Seeed Studio XIAO nRF52840, it requires bootloader mode. We can enter the bootloadrer mode by the clicking Reset Button twice :
Then the disk will show up:
Step 2 Downloard the firmware for Seeed Studio XIAO nRF52840
Step 3 Drag the .urf file to the disk driver("XIAO-SENSE")
Step 4 Check the disk driver if the name has changed to "CIRCUITPY".
Now you have successfully install the CircuitPython to the Seeed Studio XIAO nRF52840 board.
Step 1 Download CircuitPython editor - Mu Editor and open it
Step 2 Click "Mode" and chose the mode as "CircuitPython"
Step 3 Copy and upload the following codes:
"""Example for Seeed Studio XIAO nRF52840. Blinks the built-in LED."""
led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT
led.value = True
led.value = False
Click "Serial" to open REPL, save the codes to REPL as 'code.py' or 'main.py'
The user LED on Seeed Studio XIAO nRF52840 then will flash.
Tech Support & Product Discussion
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.