This TinyShield features the high performance and low power Bosch BMA250 3-axis accelerometer. The BMA250 allows measurement of accelerations in three perpendicular axes and thus senses tilt, motion, shock, and vibration in your projects. The BMA250 also has an integrated temperature sensor built in.
You can also use this TinyShield without the TinyDuino – there are 0.1″ spaced holes for power, ground, and the two I2C signals along the side of the TinyShield to allow you to connect a different system.
This demo will set up the BMA250 accelerometer, and then loop and read the accelerometer values and print them out to the serial monitor.
Running the Demo
Plug the TinyDuino Processor, USB TinyShield and Accelerometer TinyShield together into a TinyDuino stack. Connect up to your computer using the USB Cable and program the below sketch to the TinyDuino.
After programming the TinyDuino, open up the Serial Monitor at 9600 baud, and you should see the data being read from the accelerometer 10 times per second: