This project demonstrates interfacing of Accelerometer and RGB LCD with Dragonboard 410C using libupm and libmraa. LCD will show the XYZ acceleration readings with blue background in ideal mode. If shake is detected, color will change to Red and if tap is detected, color will change to Green.
- Dragonboard 410c or any of 96Boards CE
- Sensors Mezzanine
- MMA7600 sensor
- RGB LCD
- Connecting cables
- MRAA Library
$ sudo apt-get install libupm-dev
- UPM Library
$ sudo apt-get install libmraa-dev
$ git clone https://github.com/96boards-projects/accel.git
$ cd projects
$ cd accel
$ make
$ ./accel
Following output can be observed by running the executable.
Change the sensor position to see acceleration readings
Mount the sensor on a plain surface and tap/shake it to obeserve the color change in LCD