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 

    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:

     


      Downloads



      Ken Burns
      Ken Burns

      Author

      Founder and President of TinyCircuits



      Also in Learn

      Tiny Arcade Assembly Instructions
      Tiny Arcade Assembly Instructions

      by TinyCircuits Staff September 18, 2016

      Learn how to assemble your Tiny Arcade. You can read the step by step guide, or there's a video tutorial...

      View full article →

      Tiny Arcade Menu Update
      Tiny Arcade Menu Update

      by TinyCircuits Staff May 18, 2016

      Update your Tiny Arcade software to the latest version from your computer.

      View full article →

      TinyScreen+ Windows 7/8 Driver Installation
      TinyScreen+ Windows 7/8 Driver Installation

      by TinyCircuits Staff May 18, 2016

      Install the required drivers to use TinyScreen+ with Windows 7 and Windows 8.

      View full article →