using tera term - getting outputs from adxl345

-deleted-
29 Nov 2012

Don't laugh at my questions, I'm a Civil Eng. but I ended up using the mbed for some acceleration measurements of a free fall. I have the mbed connected to tera term. So soon as it is connected, tera term window starts showing series of 0,0,0 s. when I move the accelerometer, the 0's change to - and + values. What are these values? How do I measure accelerometer? I managed to save a logfile of these values, but I have no idea what they represent. Please please someone help me. I have very limited time and knowledge for that matter. Thanks

29 Nov 2012

Generally it will either be in g's, or in m/s2. Since there is a factor 10 difference between them you should be able to find out. That you get only 0's in the beginning is a bit weird, since the earths gravity should always be present, then it must be in some kind of power down mode until it senses movement.

If you use the standard helloworld program, that seems to report it as raw data instead of nicely returning it in SI units. According to the comments in the program it is set for 4mg/LSB. So if you multiply what you get by 0.004, you got it in g's.

-deleted-
29 Nov 2012

Thanks for the reply. please do help me more. So this standard helloworld program, is it written to output acceleration? Is it available among the libraries in the mbed website? This is the kind of data I am getting from tera term.

/media/uploads/maryamsanaei/teraterm.log

01 Dec 2012

Hi Erik, it kind of depends on what code you are using to put the numbers out onto teraterm from the accelerometer on the mbed, do you have access to the code that was put on the mbed to read the accelerometer and write to teraterm? is it possible for you to post it ?