Outcome
This project are mainly construct by 4 conponents: a bend sensor, a photoresistor, a LED, and a buzzer.
The range of
bend sensor is between 150 to 500, which of
photoresistor is 2000 to 4000. I maped valuse from
photoresistor in range 0 to 255. When only bend valus lower than 250, the LED will display for 1.5 seconds and off for 0.5 seconds.
When only
photoresistor
valus lower than 100,
the LED will display for 0.5 seconds and off for 1.5 seconds. And if both of them are in a poor valus, the buzzer will start beeping.
Process
I start this project by following the tutorial at first, then added my own component and reactions. One problen I met is I didn't realized that the bend sensor is not
accurate. It was not work at beginning because I thought there are bug in my circuit or code, but finally find it is because it need more bend to react.
Next Steps
This project is interesting. probably I can combine this project with Lab1, so I can triger the buzzer though wifi.
Reflection
In this project, I find the use of bend sensor is very interesting and potential, because it is very likely to interacting with people.