Skip to main content

Posts

Showing posts from June, 2017

Arduino and Standard Tilt Sensor

HELLO THERE!!!             How are you, guys? I hope everyone is fine and in good condition always. So, as I said from the previous post, I will share with you guys on my experiments on the standard tilt sensor (some would prefer to call it as tilt switch). The sensor/switch that I am going to use is shown in the image below: The Standard tilt sensor/switch    The tilt sensor shown has only two pins. One of the pins will be wired to ground while the other would be connected to input pin and 5V. Working Procedure of the Tilt Sensor:    Similar to the mercury tilt sensor, this tilt sensor has metallic balls in it. The metallic balls functions as a switch where the if tilted the ball will move from "off" to "on" position and vice versa. It can be said that this tilt sensor is a eco-friendly version of the mercury tilt sensor. On The Arduino HARDWARE NEEDED: 1.ARDUINO UNO( You can also use other Arduino Variants) 2.Resistors (you can use a variety

Arduino and Keyes KY-017 Mercury Tilt Sensor

HELLO THERE!!!     How are you guys? I hope everyone is fine and good as always. I am back in tinkering after a few months of hiatus( busy stuff :) ). So, today i would like to share with you guys on KY-017, which is a Keyes Mercury Tilt Sensor. KY-017 Sensor KY-017      The picture above shows the KY-017 Sensor from Keyes. It has 3 pins, A ground, A vcc, and A signal pin. If you look closely, there is a mercury ball inside the bulb like object. The mercury ball acts like a switch for this sensor. KY-017 Working Procedure: 1. When the sensor is not tilted, the mercury ball will be at the bottom of the bulb. This will complete the circuit and turns on the LED of the sensor. The output that is sent through the signal pin will be LOW. 2.When the sensor is tilted, the mercury ball will be at the top of the bulb(near at the sharper end). This will complete break circuit and turns off the LED of the sensor. The output that is sent through the signal pin will be HI