Skip to main content

DIGITAL TILT SENSOR (ARDUINO COMPATIBLE)

DIGITAL TILT SENSOR (ARDUINO COMPATIBLE)

1,935
41
2
About: IoT Related Projects 

Intro: Digital Tilt Sensor (Arduino Compatible)

Sensors are the best thing to get started with DIY electronics, you can get a wide variety of sensors, each suitable for one or more tasks. The arduino is compatible with a variety of sensors and I'm going to show you how to build different sensors to use with the arduino boards.
To start of with I'm going to show you how to build a tilt sensor, as the name suggests the sensor detects when it is tilted beyond a certain angle.

Step 1: Tools and Components

Picture of Tools and Components
Picture of Tools and Components
Here is what you need to get started with this instructable.
  • Tilt Switch
  • LM358 IC
  • 10k Pot
  • LED
  • 330 ohm resistor
  • PCB
  • Connecting Wires
  • 5v Power supply
  • Soldering Iron
  • Soldering Wire
  • Soldering Flux
  • Multimeter (Optional)

Step 2: Circuit

Picture of Circuit
Picture of Circuit
Picture of Circuit
2 More Images
The circuit is simple and used a tilt switch and an LM358, the tilt switch is what senses the angle and the LM358 is used to generate a digital signal which can be fed to the arduino. Also the LM358 has a voltage range of 3 to 32V which can easily be powered by the 5V regulated power supply of the arduino.
The 10k pot can be used to change the sensitivity of the circuit, if the LED turns on even without a change in angle you can can change the value of the pot to get the right threshold.

Step 3: Going Further

Picture of Going Further
Picture of Going Further
After you have tested out the circuit on a breadboard next you can build a PCB out of it, there are two ways you can do that one would be to build a arduino shield and another would be to make tiny PCBs that could plug into a breadboard a arduino prototype shield.
In the next ible of the series I would show you how to build a touch sensor.

Comments

Popular posts from this blog

TOUCH SWITCH CIRCUIT WITH MOSFET

TOUCH SWITCH CIRCUIT WITH MOSFET By  leeselectronic  in  Technology Electronics 1,326 13 Featured Download Favorite By  leeselectronic Lee's Electronic Follow More by the author: About: Electronic Hobby Store  More About leeselectronic » Intro: Touch Switch Circuit With MOSFET Created by: Jonsen Li Overview: The simple touch switch LED circuit utilizes biasing characteristics of the MOSFET. MOSFET stands for Metal-oxide-semiconductor field effect transistors. It is a voltage controlled device meaning that the current passing through the device is controlled by the voltage between two terminals. Parts you will need: A power MOSFET (IRFZ-44 NPN)  (Lee's ID: 71211) 9V battery  (Lee's ID: 83741) 12V LED bulb  (Lee's ID: 5504) Jumper wires  (Lee's ID: 21802) Breadboard  (Lee's ID: 10686) 9V battery clip  (Lee's ID: 653) Add Tip Ask Question Comm...
S4A (Scratch for Arduino) Project - A Keyboard Controlled Robot Car A fun project to create a keyboard controlled robot car... based on the   "Robotics: keyboard driven car" project on the   S4A site . This to me, is a perfect example of an interdisciplinary project: there is quite a bit of mechanical, electrical and computer engineering involved. This project is being used by the Grade 5 kids in my child's school this year; the kids have been working with the Pro-Bot for quite a bit of time and I felt that letting them create their own robot car that behaves similar to the Pro-Bot is a great finale. So far, it's my favorite Arduino project. Below is a formal lesson plan for the robot car. Note:   This is a simplified version of the car from the S4A site - it just involves creating the keyboard driven car, minus the remote controller. This means the car stays connected to the laptop via the USB cable.   Aim Design your own robot car, whose movements can be c...