--- Lee Barker wrote: > What I was trying to do was send the raw data back > to the PC, then I would > try the > acceleration calculation as well as calibrating it. > Right now I only get > zeros or numbers > that make no sense to me. Hopefully someone can > point me in the right > direction as > to what I'm doing wrong. > My first suggestion is to break this down into small chunks you can debug independently. Many things could go wrong on the path from accelerometer to PC. I think the first thing to check is that you have the accelerometer hooked up properly. You can do this without a PIC by using a DMM that can measure duty cycle. Connect the DMM to your circuit and tilt the accelerometer along its axes. The duty cycle should react accordingly (as specified in the data sheet). If you can't measure duty cycle, you could at least measure the voltage at the Xfilt/Yfilt pins and see if they react as expected. (By the way, the capacitors on the Xfilt/Yfilt pins are definitely required for a meaningful duty cycle output). In my experience, hooking up the accelerometer and understanding what it was giving me was the hardest part. The firmware was comparatively easy after that! __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body