Machines › Computers › Adafruit › Circuit Playground Express
Circuit Playground Express
2017
Adafruit's 2017 round all-in-one learning board, built around the Microchip SAMD21: a 48MHz ARM Cortex-M0+ with 256KB flash and 32KB RAM. On board are 10 WS2812 NeoPixels, a small speaker driven from the SAMD21 DAC, two buttons (A and B), a slide switch, and an LIS3DH accelerometer, all on one disc.
Circuit Playground Express Online Emulator
Play Circuit Playground Express using JavaScript directly in your browser.
Controls
Runs real bare-metal Adafruit Circuit Playground Express programs on an in-browser Microchip SAMD21G18A (ARM Cortex-M0+, 48 MHz). The default "Rainbow + Sound" program rotates a rainbow around the 10 on-board WS2812 NeoPixels while a note plays on each step, so the round board lights AND the speaker sounds out of the box. The NeoPixel colours are REAL: the program bit-bangs the 800 kHz WS2812 one-wire protocol on pin PB23 and the board decodes the HIGH-pulse widths into 10 live RGB values (a long LOW latches the frame). The speaker is REAL: the program drives the SAMD21 DAC (pin A0) and the board reconstructs that waveform into audio through EmuAudio — press the Sound button to unmute. Hold button A to speed up and raise the octave, hold B for a white comet, and flip the slide switch to mute the tone (all in the shared debugger Controls panel; keyboard: A / B = buttons, S = slide, arrows = tilt). Other programs: "Music Box" plays a looping melody with a NeoPixel VU bar; "Buttons" lights the ring green/blue and beeps on A/B; "Tilt Ball" reads the LIS3DH accelerometer over the real SERCOM I2C bus and rolls a lit dot around the ring as you tilt (arrow keys) or Shake. Open the debugger (or add ?debug) to single-STEP real Thumb instructions, set PC breakpoints and write watchpoints, and read the ARM registers (r0-r15, xPSR, N/Z/C/V) and the real SAMD21 memory map live.
Runs real bare-metal Adafruit Circuit Playground Express programs on an in-browser Microchip SAMD21G18A (ARM Cortex-M0+, 48 MHz). The default "Rainbow + Sound" program rotates a rainbow around the 10 on-board WS2812 NeoPixels while a note plays on each step, so the round board lights AND the speaker sounds out of the box. The NeoPixel colours are REAL: the program bit-bangs the 800 kHz WS2812 one-wire protocol on pin PB23 and the board decodes the HIGH-pulse widths into 10 live RGB values (a long LOW latches the frame). The speaker is REAL: the program drives the SAMD21 DAC (pin A0) and the board reconstructs that waveform into audio through EmuAudio — press the Sound button to unmute. Hold button A to speed up and raise the octave, hold B for a white comet, and flip the slide switch to mute the tone (all in the shared debugger Controls panel; keyboard: A / B = buttons, S = slide, arrows = tilt). Other programs: "Music Box" plays a looping melody with a NeoPixel VU bar; "Buttons" lights the ring green/blue and beeps on A/B; "Tilt Ball" reads the LIS3DH accelerometer over the real SERCOM I2C bus and rolls a lit dot around the ring as you tilt (arrow keys) or Shake. Open the debugger (or add ?debug) to single-STEP real Thumb instructions, set PC breakpoints and write watchpoints, and read the ARM registers (r0-r15, xPSR, N/Z/C/V) and the real SAMD21 memory map live.
Runs real bare-metal Adafruit Circuit Playground Express programs on an in-browser Microchip SAMD21G18A (ARM Cortex-M0+, 48 MHz). The default "Rainbow + Sound" program rotates a rainbow around the 10 on-board WS2812 NeoPixels while a note plays on each step, so the round board lights AND the speaker sounds out of the box. The NeoPixel colours are REAL: the program bit-bangs the 800 kHz WS2812 one-wire protocol on pin PB23 and the board decodes the HIGH-pulse widths into 10 live RGB values (a long LOW latches the frame). The speaker is REAL: the program drives the SAMD21 DAC (pin A0) and the board reconstructs that waveform into audio through EmuAudio — press the Sound button to unmute. Hold button A to speed up and raise the octave, hold B for a white comet, and flip the slide switch to mute the tone (all in the shared debugger Controls panel; keyboard: A / B = buttons, S = slide, arrows = tilt). Other programs: "Music Box" plays a looping melody with a NeoPixel VU bar; "Buttons" lights the ring green/blue and beeps on A/B; "Tilt Ball" reads the LIS3DH accelerometer over the real SERCOM I2C bus and rolls a lit dot around the ring as you tilt (arrow keys) or Shake. Open the debugger (or add ?debug) to single-STEP real Thumb instructions, set PC breakpoints and write watchpoints, and read the ARM registers (r0-r15, xPSR, N/Z/C/V) and the real SAMD21 memory map live.
Runs real bare-metal Adafruit Circuit Playground Express programs on an in-browser Microchip SAMD21G18A (ARM Cortex-M0+, 48 MHz). The default "Rainbow + Sound" program rotates a rainbow around the 10 on-board WS2812 NeoPixels while a note plays on each step, so the round board lights AND the speaker sounds out of the box. The NeoPixel colours are REAL: the program bit-bangs the 800 kHz WS2812 one-wire protocol on pin PB23 and the board decodes the HIGH-pulse widths into 10 live RGB values (a long LOW latches the frame). The speaker is REAL: the program drives the SAMD21 DAC (pin A0) and the board reconstructs that waveform into audio through EmuAudio — press the Sound button to unmute. Hold button A to speed up and raise the octave, hold B for a white comet, and flip the slide switch to mute the tone (all in the shared debugger Controls panel; keyboard: A / B = buttons, S = slide, arrows = tilt). Other programs: "Music Box" plays a looping melody with a NeoPixel VU bar; "Buttons" lights the ring green/blue and beeps on A/B; "Tilt Ball" reads the LIS3DH accelerometer over the real SERCOM I2C bus and rolls a lit dot around the ring as you tilt (arrow keys) or Shake. Open the debugger (or add ?debug) to single-STEP real Thumb instructions, set PC breakpoints and write watchpoints, and read the ARM registers (r0-r15, xPSR, N/Z/C/V) and the real SAMD21 memory map live.
Configurations
| Configuration | Emulator | Machine | OS | Legal | |
|---|---|---|---|---|---|
| Rainbow + Sound | Circuit Playground Express | Circuit Playground Express | open | Open ⛶ | |
| Music Box | Circuit Playground Express | Circuit Playground Express | open | Open ⛶ | |
| Buttons | Circuit Playground Express | Circuit Playground Express | open | Open ⛶ | |
| Tilt Ball | Circuit Playground Express | Circuit Playground Express | open | Open ⛶ |
Downloads — ROMs & software
| Title | Type | Size (bytes) | Legal | |
|---|---|---|---|---|
| Buttons | demo | 0 | open | Download ↓ |
| Rainbow + Sound | demo | 0 | open | Download ↓ |
| Music Box | demo | 0 | open | Download ↓ |
| Tilt Ball | demo | 0 | open | Download ↓ |
Downloads — ROMs & software
| Title | Type | Size (bytes) | Legal | |
|---|---|---|---|---|
| Buttons | demo | 0 | open | Download ↓ |
| Rainbow + Sound | demo | 0 | open | Download ↓ |
| Music Box | demo | 0 | open | Download ↓ |
| Tilt Ball | demo | 0 | open | Download ↓ |
Chips
Emulators
| Emulator | Type | License | Site |
|---|---|---|---|
| Circuit Playground Express | online | MIT core · CC0 programs | Website ↗ |