Home › Magazines › 2007 › April › Two-axis 2g accelerometer with SpYder and a...

Two-axis 2g accelerometer with SpYder and a Freescale micro

g-Force on LEDs

Published in issue 364, April 2007

Two-axis 2g accelerometer with SpYder and a Freescale micro
Here’s a playful yet educational application of a Freescale MC9S08 microcontroller. It continues from last month’s Attack of the SpYder article and should help you get to grips with the basics of migrating an MC9S08 micro from thinkware to hardware, all along an extremely low-cost route with three free items thrown in exclusively for Elektor readers.

Components

Resistors

R1 = 10Ω
R2 = 4kΩ7
R3-R7,R9,R12,R13 = 1kΩ
R8,R10,R11 = 100Ω
Capacitors
C1-C7 = 100nF
Semiconductors
D1 = zener diode 18V 500mW
D2-D5 = LED, green, low current, 3mm
D6,D7,D8,D11 = LED, amber or yellow, low current, 3mm
D9,D10,D12,D13 = LED, red, low current, 3mm
T1-T4 = BC547
IC1 = TS2950CT-3.3
IC2 = MC9S08QG8CPBE (16-pin PDIP; Freescale free sample service)
IC3 = MMA7260Q acceleration sensor on carrier board (free, see PCB set below)
Miscellaneous
K1 = 2-way pinheader for battery connection.
K2 = 6-way boxheader
K3 = 9-way SIL pinheader
K4 = 9-way receptacle for K3
S1,S2 = pushbutton, 1 make contact, footprint 6mm
4 PCB spacers, length = 10 mm
PCB set, includes two free MMA7260Q accelerometer devices (IC3). Order code 060297-71, see Elektor SHOP.
Project software, free download # 060297-11.zip
Supplementary documents, free download

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (U070446.pdf)
Free download
PCB layout (060297-PCB.pdf)
Free download
 

Free downloads 

060297-11.zip

Free download

060297-Datasheet.pdf

Free download

SpYder and Accelerometer Setup

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF