Overview

Microsoft MakeCode is one of our favorite programming methods. It is super easy to learn, yet it has many capabilities to build more advanced projects and even really good games.

A common project in MakeCode is to read sensors like temperature, light, moisture, etc. and record or display the values for the user. The display part can be easy with lights and displays. But recording data for later use has been laborious. Here at Adafruit, we made a project to log data to a Google Sheets spreadsheet but that required attaching a phone, a big peripheral, for the full length of the data collection.

With an additional extension, MakeCode can also write data to a file, if the microcontroller has some flash memory aboard. Adafruit's Express series, which is programmable in both MakeCode and CircuitPython, has extra flash used (up to now) for CircuitPython. The MakeCode extensions Datalogger and Storage use that flash storage to allow the programmer to write data out as files.

Parts

For this project, we are going to use the Adafruit Circuit Playground Express. It has built-in sensors and 2 megabytes of flash storage all at one low price involving zero soldering. Other Express boards from Adafruit also have similar capabilities, although adding the sensors to gather data may take additional boards or wires.

Circuit Playground Express (CPX for short) comes as a round, black board from Adafruit - you might have a red Digi-Key CPX or even a green 4-H logo CPX! They all work 100% the same, so there are no worries if you see a picture and your CPX is a different color.

Circuit Playground Express

PRODUCT ID: 3333
Circuit Playground Express is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and...
$24.95
IN STOCK

Circuit Playground Express for 4-H

PRODUCT ID: 4180
Circuit Playground Express is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and...
$24.95
IN STOCK

These packs will have all the parts you need!

4-H Grow Your Own Clovers Kit with Circuit Playground Express

PRODUCT ID: 4241
We are super pleased to enjoy a partnership with an engaging, empowering foundation like 4-H. Here at Adafruit we drive ourselves to "be...
$39.95
IN STOCK

4-H Circuit Playground Express - Base Kit

PRODUCT ID: 4263
We are super pleased to enjoy a partnership with an engaging, empowering foundation like 4-H. Here at Adafruit we drive ourselves to...
$29.95
IN STOCK

Circuit Playground Express - Base Kit

PRODUCT ID: 3517
It's the Circuit Playground Express Base Kit! It provides the few things you'll need to get started with the new
$29.95
IN STOCK
This guide was first published on Aug 27, 2019. It was last updated on Aug 27, 2019. This page (Overview) was last updated on Sep 10, 2019.