Xadow tutorial-Acceleration detector

We have made an acceleration detector, it detects the acceleration and reminds users by vibrating. When the acceleration changes, the Xadow Vibration will vibrate and the Oled will display the accelerometer value. You can also see the current battery voltage on the OLED display.
This demo required:

To complete the demo, you need to:

Note: Before compiling, you should make sure that there are the library:OLED_Display12864 and sleep_FromArduino in Arduino Library. If not, please download them and put them on the libraries file of Arduino IDE in the path: ..\arduino-1.0.1\libraries after unzip.


Change the acceleration value by shaking the sensor,you will see the sensor value on the OLED module

Download

Demo1 acceleDetectoe Code

Copyright (c) 2008-2016 Seeed Development Limited (www.seeedstudio.com / www.seeed.cc)
This static html page was created from http://www.seeedstudio.com/wiki