
From the new book Wearable Tech Projects by Sophy Wong – Flaunt your skills with a light-up bag! Make an interactive tote bag with a Circuit Playground Express, Microsoft MakeCode, and a little sewing.
Need a project idea for your brand new Circuit Playground Express (CPX)? Make it a wearable one! The CPX has oodles of sensors and NeoPixel LEDs built in, so no soldering or breadboarding is required to set up a circuit. You’ll want to take it with you everywhere so you can tinker whenever inspiration strikes you.
In this project, we’ll sew it onto a tote for coding on the go! The CPX is a little powerhouse, and we’ll use the on-board accelerometer, capacitive touch capabilities, and ten NeoPixel LEDs to run some fun animations on the front of the tote bag. To make our program interactive, we’ll add snaps for simple touch-sensitive buttons. Each button will play a different NeoPixel animation when pressed. While we’re at it, we’ll use the accelerometer to trigger a flashy animation if you happen to run, skip, or jump while out and about with your bag.

The project in this tutorial is programmed in Microsoft MakeCode – the easy to use block-based language (although if you’re comfortable with CircuitPython, that is an alternative not reviewed in the tutorial).
See this project and many more in Wearable Tech Projects by Sophy Wong available here.
No comments:
Post a Comment