Tagged: lis

Library 35- LIS302DL or LIS3DSH accelerometer 62

Library 35- LIS302DL or LIS3DSH accelerometer

Maybe you’ve noticed one chip between four leds on STM32F4-Discovery board. This chip is accelerometer. On market, there are 2 versions of STM32F4-Discovery board. First release had LIS302DL (old board) and new release (current) has LIS3DSH device. LIS3DSH has 5 selectables full scales (2/4/6/8/16G), old LIS302DL has only 2 (2.3/9.2G). I made a simple library which supports both devices. Library automatically recognize connected device, if there is any. You just have to check which is on board, because different devices...