Week 3: Sensors

This week, we learned about sensors and using different types of sensors to turn an LED light on and off. To do this, we used Velostat which is a conductive fabric. 

We had several options in terms of what type of sensors to use, but my partner and I decided to do the first one, which was the linear potentiometer. To do this, we needed to use a conductive surface, spacers, and the Velostat to allow for room to switch the light on and off. 

In terms of the coding part, we had a little trouble getting the output to reflect the sensor value. They were way too high for starting points and didn’t reflect much of a change, but we figured it out and here is the code: 

Overall, it was interesting to learn the way that sensors can be controlled and altered. Here is the end result of the sensor working: working sensor

Leave a Reply

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