Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

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

Collin Cunningham

Born, drew a lot, made video, made music on 4-track, then computer, more songwriting, met future wife, went to art school for video major, made websites, toured in a band, worked as web media tech, discovered electronics, taught myself electronics, blogged about DIY electronics, made web videos about electronics and made music for them … and I still do!


Related
blog comments powered by Disqus

Featured Products from the MakerShed

Follow

Get every new post delivered to your Inbox.

Join 25,494 other followers