Interactive Fashion-recitation2

This week, we are making a soft switch. 

We first made the switch. It contains three layers: one conductive material,  one layer of velostat, and one thick layer of cloth in between.

This switch is very sensitive, which is a bit to our surprise. As you can see in the serial monitor, the contact of fabric is sensed very in-time and immediately.

We first connected it to the led to test:

Then we turned to the buzzer. We encountered some issues with the buzzer. The voice always came out on and off, it was very unsteady, but we examined the code including map function and constraint function, they all worked fine. We guessed maybe the buzzer is having a bad connection.

 

Leave a Reply

Your email address will not be published. Required fields are marked *