Introduction: Scarf With "Painting Game" on CPX (Circuit Playground Express)

For a school project, I made a quick and easy scarf project with a Circuit Playground Express, or CPX. The end project is very rough, in both the scarf and the code, so keep that in mind. This project was more about if I could, rather than if I should.

Supplies

I just used a scarf-shaped cloth for the scarf, but you can use a real one if you want

I also used;

two small patches of cloth (for pockets)

two buttons

a needle and thread

a piece of paper to fit in one pocket and a pencil (both optional)

a CPX and battery pack

Step 1: Aquire the Scarf

If you are using a scarf or ready piece of cloth, skip this step and step 2.


I cut a long, scarf-like piece of cloth from a larger piece.

Step 2: Prepare the Scarf

it was pretty uneven, so I made the edges even by pulling out threads that didn't go the whole length of the scarf, and then picking at the scarf like this until I thought it looked neat enough

Step 3: The Pockets

once the scarf was ready, I cut out the pockets. they were roughly this big next to the scarf.


I sewed them on at the ends just with running stitch. remember to keep the inward-facing end open and to put the knots between the pocket cloth and the scarf. I later had to make one opening smaller to not let the CPX fall out, so if you want you can do that now, but I would wait until you now just how much smaller it needs to be.


I then cut a tiny slit near the opening of each, and sewed the buttons in. I loosely sewed the buttons into the scarf beneath and left them with enough slack on the pocket side to go in and out of the slit, but not so much that the pocket didn't close well. its ok if you have a wrong amount of slack the first time, you can just try again.

Step 4: The Code

if you can code with the CPX, I highly suggest making your own game or fidget toy instead of using mine. if you would rather use mine though...


this is a little fidget that lets you "paint" on the CPX. you press A+B to toggle turning on or off lights, and you can use the touch sensors to turn on or off lights depending on your toggle. its not very well made and so finicky its almost unusable. just another reason to make one yourself!

Step 5: The CPX Connection

attach your CPX to your battery pack. then, open one of your pockets and put the battery pack in. since you want the CPX to have some movement, its important to only put the battery pack in just past being fully covered. then, sew the battery pack to the scarf or pocket (your style choice) while leaving the CPX itself untouched. tuck the CPX into the pocket and button it up.

I recommend shaking the scarf upside-down to see if the opening is too big and if the CPX falls out. then you may sew the opening smaller as need be

Step 6: Instruction Card

cut out a small piece of paper to fit in the other pocket and write instructions for your game on it.

slide it in

Step 7: Finished Product

it doesn't look like much, but as a proof of concept I think its pretty OK