Week 12
Interface and Application Programming
This week's assignment: write an application that interfaces a user with an input or output device that you made.
This week, I made an interface that shows the acceleration of the wand. When the LED turns on, the ESP32 board will start printing the acceleration data to serial, which is picked up by my Python script using the pyserial library. Once the LED changes color, the script plots the data. It plots all the x values, followed by all the y values, followed by all the z values on one graph.
Example Graph
This interface will be helpful when I am designing gestures for my wand. I want to make sure the gestures are as different as possible so that it'll be easy for a machine learning algorithm to distinguish between them.