Analyzing motion and light students can code their air guitar to play certain tones. Students build the guitar using cardboard and other decorative items, then program it with MakeCode. Light, Acceleration and Sound code can be customized.
We modified the code provided by Adafruit and Makecode to make our own inputs and outputs.
Networks and Systems Design
Hardware and Software
7-8.NSD.2 Design a project that combines hardware and software components.
Computational Thinking
Algorithms and Programming
4-6.CT.8 Develop algorithms or programs that use repetition and conditionals for creative expression or to solve a problem.
Art, Music, Science, Math
Supplies:
For Guitar
1 large piece of cardboard for the guitar body
Colored duct tape
Markers, paint or foil to decorate guitar
Heavy-duty scissors, or box cutters that can cut cardboard (may need grown-up assistance)
1 Adafruit Circuit Playground Express, battery holder and 3 AAA batteries