How-To: Using an accelerometer with an AVR microcontroller

Technology
How-To: Using an accelerometer with an AVR microcontroller

EMSLADXLAVR_cc.jpg

Evil Mad Scientist Labs posted a thorough update to their accelerometer tutorial using ADXL335 breakout board, ATMega168 chip, and LEDs as indicators –

The big idea is that when there is no acceleration in (say) the X-axis direction, both X-axis LEDs are off. When it detects acceleration one way, the red LED lights up (and brighter, the higher the acceleration is) and it lights up blue for acceleration in the opposite direction. (Naturally, the other two axes work the same way.)

The full step-by-step + source code can be found on EMSL’s site.

 

Related:


Using an ADXL330 accelerometer with an AVR microcontroller

arduinoXbeeWirelessAccel_cc.jpg
Arduino & XBee wireless accelerometer

2 thoughts on “How-To: Using an accelerometer with an AVR microcontroller

  1. VJ says:

    I made a good project with accelerometer :)

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK