Tilt angle sensor module

4 years ago 2218
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments


Arduino drives Angle of tilt switch

Free shipping for SW-520D ball switch Angle of tilt switch, switch Angle sensor,tilt sensor

Tilt angle sensor module


1, the use of highly sensitive angle switch SW-520D as a sensor

2, the comparator output signal clean, good waveform, driving ability, than 15mA

3, the working voltage 5V

4, the output format: Digital switching output (0 and 1)

5, a fixed bolt hole for easy installation

6, small PCB board size: 3.2cm x 1.4cm

7, using a wide voltage comparator LM393

Tilt angle sensor easyeda

Switch module output depends on the angle switch on and off, when the angle switch is turned off, DO output high, angle switch is turned on, DO output low; the output can be directly connected to the arduino MEGA 2560 through the arduino MEGA 2560 to detect high and low, thereby detecting the angle change. relay outputs can directly drive module, which can be composed of a high-power switching angle, protection of electrical equipment and other products dumped automatic power-off function.

arduino CODE

void setup() { pinMode(13,OUTPUT); } void loop() { int i; while(1) { i=analogRead(5); if(i>200) { digitalWrite(13,LOW); } else { digitalWrite(13,HIGH.); } } }


Tilt angle sensor module arduino


ID Name Designator Footprint Quantity
1 0.1u C1 C1 1
2 1k R1,R5 R3 2
3 LED D1,D2 LED3MM 2
4 10k R2,R4 R3 2
5 10k R3 TRIM_POT_PTH 1
6 LM393 U1 SO08 1
7 1u C2 C1 1
8 SIP3 JP1 HDR1X3 1
9 Arduino MEGA 2560 U2 DIP 1




The owner does not allow comments in this project now

Comments (0)

你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.