Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2024, 10:46:43 22:46


Login with username, password and session length


Pages: [1]
Print
Author Topic: Accelerometers (pcbs ,e.t.c)  (Read 3258 times)
0 Members and 1 Guest are viewing this topic.
kokos
Inactive

Offline Offline

Posts: 6

Thank You
-Given: 20
-Receive: 4


« on: December 11, 2007, 08:12:10 20:12 »

 ADXL202E pcb boards Eagle & Gif format

http://eis.comp.lancs.ac.uk/mat/archive.htm

Posted on: December 11, 2007, 09:04:33 21:04 - Automerged

.... and a link on how to solder this little thing  Wink

http://www.machinegrid.com/content/view/59/114/
Logged
nikhilele
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 2
-Receive: 22


WWW
« Reply #1 on: December 13, 2007, 01:49:41 13:49 »

this can be used to sense direction also..
Logged
Orcino Borges
Newbie
*
Offline Offline

Posts: 23

Thank You
-Given: 13
-Receive: 18


« Reply #2 on: December 14, 2007, 01:33:07 13:33 »

 Hi, i used this Accelerometer for a turn off motor a car with a crash.

            My english is bad, sorry.
Logged
prog
Guest
« Reply #3 on: April 17, 2008, 04:59:51 16:59 »

And i used this Accelerometer for a car motion sensor.
This is simple driver for read ADXL202E acceleration.

long T1x, T1y, T2;

short adxl_read(void)
{
    long Tc,Td;
   
    TMR1 = 0;
    TMR1IF = 0;

    while( c_port.xout && !TMR1IF); // X axis
    while(!c_port.xout && !TMR1IF);
    TMR1 = 0;
    while( c_port.xout && !TMR1IF);
    T1x = TMR1;

    while( c_port.yout && !TMR1IF); // Y axis
    while(!c_port.yout && !TMR1IF);
    Tc = TMR1;
    while( c_port.yout && !TMR1IF);
    Td = TMR1;

    T1y = Td - Tc;
    T2 = Td - (T1y + T1x) / 2;
   
    return TMR1IF;
}


In the enclosed file the simple schematic.
« Last Edit: April 17, 2008, 05:26:38 17:26 by prog » Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC