Input Devices

For this week, I decided to modify my Hatsune Miku Board from week 6 by adding a capacitance sensor. I had an unused pin, so I attached the sensor to that one.

To test out the board, I wrote a program that would light up if my hand was near the copper.

I had originally wanted the board to change the brightness of the LEDs based on how close my hand was, but I found it to be more finicky and prone to fluctuations to accomplish that. Part of it could be my setup also might not have been the best, but I did observe that both the wire and the board weren't sensitive to the touch.

Files can be found here

Group Project

Printing out the analog readings of the pin, I noticed that when there is nothing near the board, it would stay at 234, and jump when I put my hand near it. I was also able to also get readings from the nearby pin, although in the opposite direction. The readings also flucuated a lot.