Accelerometer TinyShield - Getting Started

by Ken Burns February 01, 2016

Accelerometer TinyShield - Getting Started


Overview

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.


    Technical Details

    Power Requirements

    • Voltage: 3.0V - .5.5V 
    • Current: 139uA (Normal Mode).  Due to the low current, this board can be run using the TinyDuino coin cell option

    Pins Used

    • A5/SCL - I2C Serial Clock line
    • A4/SDA - I2C Serial Data line

    Getting Started Demo

    This demo will set up the BMA250 accelerometer, and then loop and read the accelerometer values and print them out to the serial monitor.  

    Materials Needed

    Running the Demo 

    Here is a link to a sample sketch (zip) for the Accelerometer TinyShield.  If you're new to using Arduino or TinyCircuits, click here for how to set up the Arduino IDE to upload the sketch.  

    Plug in your TinyDuino to your computer with the USB TinyShield and the Accelerometer  attached.

    Open the Arduino IDE and open up the example sketch that you have downloaded.  Then upload it to the TinyDuino.

    Open up the Serial Monitor (at 9600 baud) and you should see the data being read from the accelerometer 4 times per second.  


      Downloads



      Ken Burns
      Ken Burns

      Author

      Founder and President of TinyCircuits



      Also in Learn

      TinySaber Reprogramming - A How-To Guide
      TinySaber Reprogramming - A How-To Guide

      by TinyCircuits Staff July 18, 2017

      This tutorial will walk you through how to reprogram your TinySaber to include custom POV text, special colors, lighting effects,...

      View full article →

      Bluetooth Low Energy TinyShield (ST) Tutorial
      Bluetooth Low Energy TinyShield (ST) Tutorial

      by TinyCircuits Staff May 10, 2017

      This tutorial will cover the basic operation of the Bluetooth Low Energy TinyShield (ST) using a standard TinyDuino and a Bluetooth-enabled device.

      View full article →

      How to Develop a Game for the TinyArcade
      How to Develop a Game for the TinyArcade

      by Brandon Farmer March 30, 2017

      This Tutorial will walk you through how to develop your very own game for the TinyArcade, all within the Arduino...

      View full article →