32blit: our retro-inspired handheld with open-source firmware. Go back, way back, to the start, with a single hardware platform and a great set of game creation tools.

Adafruit FLORA Accelerometer / Compass Sensor - LSM303 - v1.0

Add motion and direction sensing to your wearable FLORA project with this high precision 3-axis Accelerometer & Compass sensor. 

  • Classic 3-axis accelerometer can tell which direction is down by measuring gravity or how fast the board is accelerating in 3D space
  • Magnetometer can sense where the strongest magnetic force is coming from (generally magnetic north)
  • I2C interface
  • Attaching it to the FLORA is simple: line up the sensor so its adjacent to the SDA/SCL pins and sew conductive thread from the 3V, SDA, SCL and GND pins. They line up perfectly so you will not have any crossed lines. 

You can only connect one of these sensors to your FLORA, but you can connect other I2C sensors/outputs by using the set of SCL/SDA pins on the opposite side. 

Get started with the FLORA Accelerometer with the guide on the Adafruit Learning System! It uses the same Arduino library as their conventional form LSM303 breakout. The example and library code will work 'out of the box' with FLORA. Simply download the library and connect the 3V/SCL/SDA/GND pins, install the library properly and upload the test program to read out accelerometer and magnetic field data.