Integrate #CircuitPlaygroundExpress into Boxing Training by Counting Punches

NewImage

From SciJoy on Hackster.io:

The Circuit Playground Express (CPE) has a built in accelerometer. I used it to count how many punches or curls with a weight. MakeCode triggers an event when the strength of the three axis accelerometer crosses a threshold.

For every punch, I wanted to a new neopixel to light up. When I reached the max number of reps in a set, I wanted a different light color to track how many sets I had completed. When I finished 10 sets, I wanted the to be an audible alert and the lights to reset.

Read more



from Adafruit Industries – Makers, hackers, artists, designers and engineers! https://ift.tt/2T3MVXa
via IFTTT