Tag: tilt switch module

1 articles found.

SW-520D Tilt Switch Library for Proteus Simulation

SW-520D Tilt Switch Library for Proteus Simulation: the SW-520D module, an I2C LCD 16x2, a buzzer and two LEDs on an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new SW-520D Tilt Switch Library for Proteus Simulation. The SW-520D is the simplest orientation sensor there is: two small metal balls in a tube that connect two pins while it stands upright and roll away when it tips over. On its common module it gets a comparator, two LEDs and a clean digital output. With this library you can run a full Proteus simulation of that module, tilt it, bump it, watch the balls in a pop-up and read it with an Arduino - including the bounce that every real tilt switch has. The demo is a cash box tilt alarm: an Arduino UNO V4.0 watches the module inside a box, ignores a knock on the table, sounds a buzzer when somebody tips the box over and re-arms once it has stood upright again for three seconds. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the accelerometer board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the SW-520D Tilt Switch Library for Proteus Simulation: The SW-520D is a ball switch: a metal tube 5.2 mm across and about 12 mm long, closed at one end (the cap) and sealed at the other, where two gold-plated pins come out 2.4 mm apart. Inside are two small balls. While the pin end points down, ...