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

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS By   techn0man1ac   in   Technology Arduino 4,792 87 13 Featured Download Favorite By   techn0man1ac Techn0man1ac blog Follow About: Techn0man1ac - техноманьяк   More About techn0man1ac » Intro: Digital UV-meter, With OLED Display. Arduino Project for Beginners Video demonstration (English subtitles). Hello,   instructable . Today I will tell you how to make a simple digital VU meter (sound level meter) using Arduino and OLED displays and 2 resistors by yourself (DIY). The device is quite simple, for beginners it will be a rewarding experience. Add Tip Ask Question Comment Download Step 1: Components for This Arduino Project: 3 More Images Arduino Nano V3.0; 0.96 inch IIC I2C 128X64 OLED Display; One 10K, resistor(R1 no scheme); One 10K-100K potentiometer(R2no scheme); Wires. Add Tip Ask Question C...

Alcohol Sensor

POWER77 Tech Electronic Project    Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor   Introduction In this project we have designed Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor for measuring the level of alcohol in human breathe. Simply we have interfaced MQ-135 Gas Sensor module with Arduino and 16*2 LCD module for display. The alcohol/Gas sensor we used is the MQ-135 sensor. This is a sensor that is not only sensitive to alcohol, particularly ethanol, which is the type of alcohol which is found in wine, beer, and liquor. Instead of MQ-135, you can use MQ2, MQ3, MQ5 module as well. Basically they all have similar functions. This type of sensor circuit can be used as a breathalyzer to check a person’s blood alcohol level. Just as we exhale carbon dioxide when we breathe out, we also will breathe out some alcohol if we have alcohol in our blood. Any alcometer device can measure this alcohol content. The mo...

ARDUINO ULTRASONIC SENSOR TUTORIAL WITH CODE

ULTRASONIC SENSOR TUTORIAL This is Arduino based tutorial for ultrasonic sensor. in this video, I described how to connect ultrasonic sensor with Arduino also interface LCD with this. Component required for tutorial (1) Arduino microcontroller (2) Ultrasonic sensor (3) LCD ciruit diagram is given in video. Arduino Code for tutorial: Ultrasonic sensor tutorial by IGENTECH #include<LiquidCrystal.h> // include header file of lcd LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //assign pins of lcd const int trigPin = 8; // assign trig pin to 8 const int echoPin = 7; // assign echo pin to 7 // defines variables long duration; int distance; void setup() {   lcd.begin(16,2); // begin lcd   lcd.print("UltrasonicSensor"); // print ultrasonic sensor on lcd   lcd.setCursor(0,2);            // set cursor to second row of lcd   lcd.print("   IGENTECH      ")...