Category Archives: How To

muCSense: Using Calibration

I just added some new code to the muCSense library to help calibrate accelerometers and magnetometers. I plan to use the framework to add calibrators for gyros and other sensors too. In this post, I’ll walk through an example sketch … Continue reading

Posted in Electronics, How To | Tagged , , , , , , , , , | 3 Comments

muCSense: Introduction and Example

In my last post I walked through the steps you need to take to establish a simple connection with the three sensors on SparkFun’s 9DoF Sensor Stick. If you took those code snippets, dumped them into one file, and ran … Continue reading

Posted in Electronics, How To | Tagged , , , , , , , | 5 Comments

Connecting to Sparkfun’s 9DOF “Sensor Stick”: I2C access to ADXL345, ITG-3200, and HMC5843

[Update 24 Aug 2012: This post gives good detail about how to communicate with the sensors on the 9DoF Sensor Stick, but if you want a cleaner solution (that has been updated for Arduino 1.0), have a look at this … Continue reading

Posted in Electronics, How To | Tagged , , , , , , , , , | 41 Comments

Accelerometer Calibration IV.1: Implementing Gauss-Newton on an ATMEGA

This is the third post in a series.   Introduction Simple Methods Least-Squares and Gauss Newton Implementing Gauss-Newton on an ATMEGA (this post) Error Analysis ? Quick Summary This post is short on explanations, I just wanted to something a … Continue reading

Posted in Electronics, How To | Tagged , , , , , , | 13 Comments

Getting Started with Accelerometers and Micro-controllers: Arduino + ADXL335

My first home electronics project — a device to measure leg acceleration and balance while skiing — involved connecting an ADXL335 on a Sparkfun breakout board to an Arduino Uno.  Going in, I was an experienced programmer but knew nothing … Continue reading

Posted in Electronics, How To | Tagged , , | 37 Comments