| layout | default |
|---|---|
| title | Circuit Playground Express |
| image | /cpx/assets/og/index.jpg |
| description | A beginner tutorial series for Adafruit's Circuit Playground Express (CPX): program with drag-and-drop MakeCode to build button pianos, capacitive-touch sensors, keyboards, and more. |
| has_toc | false |
| usemathjax | true |
| comments | false |
| has_children | true |
| nav_exclude | false |
| nav_order | 5 |
{: .no_toc }
{: .no_toc .text-delta }
- TOC {:toc}
**Video.** In the video above, we are using the CPX and capacitive sensing to measure the hand's distance from the soda can. See more in [Lesson 5: Capacitive Sensing](capacitive-touch.md). Join us in this tutorial series to learn about the amazing [Circuit Playground Express (CPX)](https://www.adafruit.com/product/3333) microcontroller platform and drag-and-drop visual programming called [MakeCode](https://www.microsoft.com/en-us/makecode). {: .fs-1 }
Welcome! 馃憢馃徑
In this tutorial series, you will learn how to use Adafruit's Circuit Playground Express (CPX) microcontroller platform and the wonderfully powerful and easy-to-use visual programming language called MakeCode. These tutorials are designed to be completed in order.
{: .note } We've written these CPX tutorials assuming you have limited background in circuits and/or programming. If these concepts are new to you, these tutorials are likely a great place to start before diving into our series on Intro to Electronics and Intro to Arduino.
Many of the lessons have full video tutorials 馃摻. If you want to view them conveniently in one place, see the YouTube playlist here.
In this lesson, you'll learn about the Circuit Playground Express (CPX), how it differs from and relates to the Arduino platform, and how to program the board.
In this lesson, we will make our first MakeCode+CPX program鈥攃alled Blinky. As we build, we will learn about the MakeCode programming environment, the simulator, and how to load our program on to the CPX.
In this lesson, we will make our first interactive CPX program: a simple button piano, which uses the CPX's built-in buttons and the speaker to make sound.
In this lesson, we will make our second interactive CPX program, which builds on our knowledge from the first: a light-responsive instrument.
In this multi-part lesson, we will use the CPX's capacitive touch features to create a proximity sensor, a banana piano, and a lo-fi input controller made out of cardboard, copper tape, and tin foil.
In this multi-part lesson, we will revisit using the CPX as a keyboard and walk through creating a custom keyboard and an accelerometer-based keyboard.
In this multi-part lesson, we will build a custom mouse with the CPX and MakeCode. We'll start with a simple discrete mouse that moves the mouse cursor by a few pixels when you press the built-in CPX buttons before showing how to make an accelerometer-based mouse.
In this lesson, we learn about how to use and hookup external sensors using analog input with the CPX and MakeCode.
In this lesson, we learn about how to use and hookup external buttons using digital input with the CPX and MakeCode.