Tiny Inclinometer

by Tony Batey February 11, 2015

Tiny Inclinometer


Overview

Accelerometers can be used to sense changes in force, such in movement, shock, and position.  Since accelereometers are affected by the acceleration of gravity, they can be used to measure tilt and their relation to the earth's surface.  

This is a simple little handheld project that will let us measure angles and inclines using TinyCircuits.  We'll be using an accelerometer to measure the angle of an incline and then display the angle to a 7 segment display, and we'll be powering the system off a small coin cell battery.  No soldering is needed and this only takes a few minutes to put together.  


    Materials Needed


      Assembly

      Assembly for this project is fairly simple, no soldering is needed.  

      Plug the TinyDuino Processor, USB TinyShield, Accelerometer TinyShield and 7-segment TinyShield together into a TinyDuino stack.  Connect up to your computer using the USB Cable and program the below sketch to the TinyDuino.  

      Note: After programming is complete, you can remove the USB TinyShield to make the size of your TinyDuino stack smaller and run off the battery.


        Operation

        Once programmed, you should see the 7-segment display measuring the angle of the board in relation to the ground.  Rotate the display and you should see the numbers change as it's reading new angles.  


          Downloads



          Tony Batey
          Tony Batey

          Author



          Also in Learn

          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 →

          .TSV Video Converter Tutorial
          .TSV Video Converter Tutorial

          by TinyCircuits Staff March 30, 2017

          Learn how to convert your videos to .TSV format using this Windows program!

          View full article →