I am doing project for the truck fuel cap. when the fuel tank cap is opened then alert should come.
I was using tilt sensor for this project. but the problem with tilt sensor is even when truck is moving i am getting an alert.
Can someone please suggest when what type of sensor i can use. tilt should activate when the cap open is more than 30 degree angle.