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

SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am
Malcolmaccek
Wed Apr 24 2024, 01:21 am