Back to Parent

Step 3: After FSR sensor was connected, I tried working with tilt motion sensor as a switch. Starting from here: https://learn.adafruit.com/tilt-sensor/using-a-tilt-sensor. initially  I coded the sensor just as FSR connecting it to analog pin at the core, and I struggled for hours trying to get variable readings for the angle to know in final result at what angle alarm gets triggered. But later I realized that Tilt sensor just works as switch  and it can only have high and low, and re connected the Tilt sensor to digital pin on the core, as shown below. 



Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0