Nowadays everyone has accelerometer sensor in its own smartphone. It’s there for several reasons. First of all it’s used for detection of screen orientation relative to the gravity field. This is the sensor which gives your phone information when the screen should be switched from landscape mode to portrait. Beside this there are many other ideas how to use accelerometer.

One of them is pedometer. An app or device which uses accelerometer to track your steps. Application tries to analyse real time data from sensor to find peaks witch corresponding to human steps. Knowing average step length the program is able to calculate traveled distance.

Some guy from Hackday even made mechanical vibrations spectrum analyser using accelerometer and fourier transform decomposition. As you can see usefulness of this type of sensors is bounded only by your imagination 🙂

Such sensor may work as spirit level or angle reader to make something like ball on plate controlling machine just like this one bellow.

I though that it would be nice to have such a sensor in ordinary PC or Rasperry Pi computer for similar purposes so I designed one. My version is small, compact and Plug & Play.  You don’t need any Arduino or embedded coding. It’s just Plug & Play device which communicates with computer by USB port. If you are interested you can purchase it in electromake store.

USB Accelerometer fatures

  • The device uses well known ADXL345 accelerometer
  • USB bus communication
  • USB powered
  • This USB dongle following ADXL345 has user-selectable resolution
  • Fixed 10-bit resolution (from -512 to +511)
  • It is compatible with Linux and Windows OS
  • It is compatible with Raspberry Pi


Antoni · April 21, 2018 at 9:29 pm

Dzień dobry, skoro jesteś z Warszawy to piszę po polsku. Interesuje mnie twoje urządzenie i chciałbym zamówić jedną sztukę dla sprawdzenia jak działa. Zapewne więcej w niedalekiej przyszłości jeśli działa tak jak jest opisany. Odezwij się to ustalimy szczegóły. Dzięki.


    ElectroMake · May 8, 2018 at 7:32 pm

    Dzień dobry,
    Odpowiedziałem za pomocą email 🙂

How to plot serial data from Serial port or Arduino | ElectroMake · August 19, 2017 at 10:13 pm

[…] you need to visualize real time data from serial port like I had in my USB Accelerometer sensor project. You can reach that goal hard way by writing own software but there is no need to do so. […]

How to configure Ubuntu to program STM32 | ElectroMake · August 26, 2017 at 12:35 am

[…] am using ST-Link 2.1 programmer from NUCLEO-F401RE board and  STM32F103C8T6 procesor in my USB Accelerometer device connected to Nucleo by […]

Leave a Reply

Your email address will not be published. Required fields are marked *