Hello world! I made a Simple Example project for the KY-031
In this instructable i made a simple mailbox alert.
Of course you can use this code for something else that produces shocks that you want to be notified of.
Follow the next step for the schematic and code!
Step 1: Schematic Code & Parts List.
Just connect it like the schematic, and it should work after uploading the code.
- Arduino Uno, I used the RobotDyn Uno.. A chinese copy with 7 analog pins. and a micro usb.
- KY-031 Shock sensor.
- KY-016 Led. or any other led.
- Set of Jumper Wires MM / FF / FM.