Discussion in "Project Help" started by    Praneeth1299    Jun 1, 2017.
Thu Jun 01 2017, 04:39 pm
#1
Hi all,

I'm using ADXL335 accelerometer sensor for accident detection interfacing it with lpc2148
microcontroller, the sensor part works fine i.e., when sensor detects it generates the value 1
else 0, but it run's inside a particular function I mean it won't detect at any point of time, so
I added the interrupt function to enable the sensor value at any point when the sensor is
detected. Now the problem is i'm not getting the sensor value when it's detected, presently
testing the sensors by hand movement variation, when the sensor is detected 1 will be printed on hypertext else 0.
I have attached code for reference, kindly tell me where I'm doing mistake.

Thank you.

Fri Jun 02 2017, 03:19 am
#2
I tried to build your project but got lots of errors, possibly because I'm using Keil 5.
I don't see any reference to the ADXL335.
The ADXL335 does not generate in interrupt, so how are you generating it ?



[ Edited Fri Jun 02 2017, 08:21 am ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am