Nagarathna
New Member
Hi,
my project:determine the angle and position(tilt) of the I.C(accelerometer module).
I have an 3 axis accelerometer moudle which gives me x,y,z analog
output on three different pins.
controller : PIC16F877A
sensitvity of accelerometer : 1.5g 800mv/g
vref+ : 5v
vref- : 0v
10 bit adc
Help required in:
how to convert the analog values to voltage(Formula)?
how to calculate the tilt angle (formula) ?
how to detect the position of the accelerometer module i.e upside down
or side ways?
my project:determine the angle and position(tilt) of the I.C(accelerometer module).
I have an 3 axis accelerometer moudle which gives me x,y,z analog
output on three different pins.
controller : PIC16F877A
sensitvity of accelerometer : 1.5g 800mv/g
vref+ : 5v
vref- : 0v
10 bit adc
Help required in:
how to convert the analog values to voltage(Formula)?
how to calculate the tilt angle (formula) ?
how to detect the position of the accelerometer module i.e upside down
or side ways?