The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 07, 2016, 05:20:43 17:20


Login with username, password and session length


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

Posts: 9

Thank You
-Given: 7
-Receive: 4


« on: December 11, 2007, 09:12:10 21: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, 02:49:41 14:49 »

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

Posts: 23

Thank You
-Given: 13
-Receive: 18


« Reply #2 on: December 14, 2007, 02:33:07 14: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, 05:59:51 17: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, 06:26:38 18: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