Shenyue’s Assignment 6

I attached my pressure sensor into my Arduino circuit. As a result, the led light bulb will turn on when pressed hard. The pressure put on the sensor determine the brightness of the light bulb.


Then I used RGB light bulb and pressure sensor. The RGB light bulb will change its color by the pressure, from red to purple. I spent a lot of time working on the map function, trying to specify the range of sensor value and finally I worked it out.


For the midterm project, I intend to do a lamp that can be triggered by the sound, using fabric as decoration. Thus, whenever there is people around, it will light up.

Leave a Reply

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