October 26, 2021
Lab: Two-Way (Duplex) Serial Communication
*
Project Documentation
Initially this was going to be a drawing tool.
1) I discovered the EMG sensor placed on the chest picks up heart beats.
2) Instead of moving a circle around on screen, I used the value to change the size of an ellipse.
Code in Arduino:
Values in the serial monitor look like:
89,15
91,14
90,14
90,14
90,13
91,15
92,14
92,14
90,13
90,11
92,15
86,14
89,12
89,11
91,13
90,12
90,12
...
In p5, the size of one sensor placed over the heart changes the size of a white ellipse on a black background.
Possible directions to take this project:
- Connect to infrared camera to track position of body and move projected shapes accordingly (Def possible!!)
- Work with bluetooth capability of Nano to reduce number of wires & technical difficulities during performance (tho personally I like the aesthetic + it works dramaturgically)
+ Need to flesh out interactions between different sensors, or if it uses only one sensor, then the pulse needs to be fleshed out in the output and performance
***
Earlier tests that somehow led to this.