LCD Car Accelerometer

The circuit is drawn for measurement of acceleration from 1000 mg until + 1000 mg. It can be placed in kantra'n the car and be supplied from the sheath of electric lighter. The circuit includes one indicative LED and a screen LCD. The measurement of acceleration becomes with the use of IC from Analog Devices, the ADXL202. The particular element contains 2 autonomous vertical between them sensors, for the measurement in two axes. For the particular application becomes use of only it's one. Acceleration meter measures dynamic or static acceleration from 2g until 2g (where g is the acceleration of gravity) and when this is equal to zero, exit is a signal PWM, with Duty Cycle 50%.

As long as the acceleration increases, increases also the Duty Cycle, with biggest response the 75% (in the 2g), while for acceleration 2g, the Duty Cycle is 25%. As conclusion from more, has that for change 1g, is altered also the Duty Cycle of exit at 12,5%. The measurement of Duty Cycle of response of acceleration meter becomes with the help of Timer1 (16 bit). The period of signal of expense, has been fixed in the 1,12 msec. The frequency of oscillation of microcontroller is in the 3,6864 MHz and this means that it's each circle of access lasts 0,27 * 10 -6 sec. Using timer1, in frequency of measurement ck/1, the biggest feasible counted time is the 65536 * 0.27 * 10 -3 msec = 17.778 msec, which is bigger than period (1,12 msec). So, any price Duty Cycle it is possible to be measured. Before the beginning of measurements, it precedes a process of accelerator?s initializing. At this process it is doing 16 measurements, and then is found their mean. In short time interval, it is considered that the acceleration was not altered also thus the result, us gives the point of null acceleration. In other words at this process becomes approach of value Duty Cycle, that corresponds in null acceleration. From now on, after each measurement, it will be removed from Duty Cycle, the null acceleration. With the shooting of switch of starter, the circuit is supplied. In the beginning, and as long as LED is power-off, becomes...

Leave Comment

characters left:

.