Difference between revisions of "Accelerometer + Arduino"

From ESE205 Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
* Soldering materials (if the headers have not been soldered already)
 
* Soldering materials (if the headers have not been soldered already)
  
==Process==
+
==Downloading Libraries==
 
The process for hooking up the accelerometer with the Arduino has three main components. <br/>
 
The process for hooking up the accelerometer with the Arduino has three main components. <br/>
 
1. Download libraries <br/>
 
1. Download libraries <br/>
 +
 +
==Set Up Circuit==
 
2. Solder headers to accelerometer (if this has not been done already) and set up circuit <br/>
 
2. Solder headers to accelerometer (if this has not been done already) and set up circuit <br/>
 
3. Connect <br/>
 
3. Connect <br/>

Revision as of 18:36, 5 December 2018

Overview

This tutorial will cover how to hook up an Arduino with an MMA845 accelerometer. After completing this tutorial, you will be able to read in acceleration data from the x, y, and z directions. Although the MMA845 accelerometer is compatible with all Arduino types, this tutorial will handle hooking up the accelerometer with the Arduino Uno.

Materials and Prerequisites

  • MMA8451 Accelerometer
  • Arduino (we used an Arduino Uno, but will work with any kind of Arduino)
  • Breadboard
  • Two 330 Ω resistors
  • Connector cables
  • Soldering materials (if the headers have not been soldered already)

Downloading Libraries

The process for hooking up the accelerometer with the Arduino has three main components.
1. Download libraries

Set Up Circuit

2. Solder headers to accelerometer (if this has not been done already) and set up circuit
3. Connect
Circuit diagram.pdf.png

Authors

  • Gillian Laming

Published fall 2018.

Group Link

Weekly log
Link to project page

External References

https://learn.sparkfun.com/tutorials/mma8452q-accelerometer-breakout-hookup-guide