Bullit Accelerometer – Accelerometer with microcontroller and display

The accelerometer can measure acceleration in two axis using Analog Devices ADXL202. +-2g can be measured in each axis. Look herefor datasheets and application notes.

Introduction

Features

The accelerometer can measure acceleration and time. Using the time and the acceleration it can calculate and display:

  • Time (s)
  • Average acceleration (m/s2)
  • Instantanous acceleration (min/max) (m/s2)
  • Speed (m/s & km/h)
  • Distance (m & km)

The mass of the object can also be input, the accelerometer can then also display:

  • Instantenous Force (N)
  • Average Force (N)
  • Instantenous Power (kW and HP) * .

See the User Manual.

Hardware

Bullit Accelerometer

The sensor is the Analog Devices ADXL202.

CPU is an ATMEL AT90S8535 running at 4Mhz. A 32768 Hz crystal is connected to the real time clock timer inputs (TIMER2) and is the time base for the accelerometer. This allows a ceramic resonator to be used instead of a crystal if desired. A ceramic resonator should provide even lower power consumption. Power to all subcomponents like display and accelerometer senser are controlled by the CPU so that they can be turned off to save power.

The ADXL is connected to the Input Capture Pin (ICP) and the analog comparator. Rset of the ADXL that controls the period time is set so that there is approximatly 20000 ticks to one period.

The LCD display have 3 rows and is connected to the CPU using two data pins. The LCD uses I2C protocol and uses a variant of this driver circuit. A negative voltage charge pump is driven by the CPU to generate the bias voltage needed by the display. By measuring the bias voltage voltage with the ADC the CPU can regulate the negative voltage. A voltage divider between the negative lcd bias and the battery makes the voltage in a range to be measured.

Vref to the ADC is connected directly to the battery. One of the ADC inputs is connected to a reference voltage from a zener diode. The zener is driven by one of the pins from the CPU. This minimises the current consumption by just turning on the reference voltage when Vbatt need to be calculated from measurements of the zener voltage.

 

For  more detail: Bullit Accelerometer – Accelerometer with microcontroller and display


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top