Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 25

Name: Turki Alfagheeh Student ID: 08407301

Graduation Project(1) 20/05/2011

EYE LEVEL STABILIZER

Contents
 The project
Introduction Project objectives Applications + example Briefly how

 Current progress
Hardware wise + circuit diagrams Software wise + code sections

 Problem faced
Hardware problems Software problems Current problems

 The Time plan

Introduction
 It is a setting that consists of an

accelerometer sensing any tilt and two servo motors that would act to compensate for the change
 Keeping the camera on level with the horizon

at all time regardless to motion.

Project Objectives
 Studying the applications of the    

Accelerometer sensors. Getting familiar with interfacing servo motors. Assemble the project for the most portability. Utilize the MCU code for efficiency. Manipulate speed versus accuracy.

Applications
 Provide more stable surveillance.  Introduced new military vehicle black box.  Making the shooting of sports on first person

view smoother.  When attached to a motor biker helmet , it keeps the camera with road level regardless of any tilt of the bike or the driver looking at the panel.

Briefly how

The sensor

Movement concept

Current gravitational acceleration + the new one

Briefly how

MCU converting it into PWM signal Capturing each axis voltage

PWM control the direction and angle of the Servo

Two Servo attached for both axis

Current Progress
 70% of prototype.  Full sensor communication.  Calibrated servo motors.  Filtered noise.

Hardware
Part name AVR Atmega 128 MMA7260Q 3-axis accelerometer Hitec HS-311 motor Voltage regulator KIA278R33PI AVR ISP MKll DC adapter Capacitors Resistors
Quantity

Reasons for usage Familiarity + multiple timers with internal clock High sensitivity+ availability of English datasheet Easy to configure + light weight + affordable To provide 3.3 volts required for the sensor. Flashing the MCU with code. Powering the whole prototype. Filtering and interfacing Surge protection + interfacing

1 1 2 1 1 1 11 9

Hardware Current progress

Hardware Current progress

Hardware Current progress

Hardware (Circuit Diagram)

Hardware (Circuit Diagram)

Power regulating Servo motors interfacing

Hardware (Circuit Diagram)

Sensor Pins configuration Sensor interfacing

Software current progress


 80% of total desired progress.  Array setup to accomplish 2 channel in-out/  Resetting position at start up.  Utilizing 80 degree of the servo motor on

each direction.  Offsetting the center position.

Code sections

Code sections

Code sections

Problem Faced (Hardware)


 Servo Motor response varies greatly with

noise, solved by extra filtering.  Burned accelerometer due to excessive current.  Finding parts that are common in my country or accelerometer with proper English Date sheet.

Problem Faced (Software)


 Started writing the program as direct data conversion one line which result in complex logic when declaring

interchangeable variables.

Solved by making many functions and small simple main function.


 Started by programming only for one axis and one reading which made it difficult to add another channel.
Solved by using array reading variables nested in multi loops.

Current problems
 Getting both speed and accuracy from the

servo motor is tricky because the servo motor has only 50 steps for the range of 90 degree which cause vibration.
 Finding a suitable camera module to

demonstrate the prototype.  Making the project source independent without losing power for motors.

Time Plan
Tasks
Getting the Hardware
Design Hardware circuit

Mar

Apr

May

Jun

July

Aug

Sep

Oct

Nov

Dec

Coding sensor readings


Coding outputs to Servos

Calibration and filtering Testing initial prototype Fix speed issue Change powering source Repackage in smaller size Testing final project

Thank You for Listening

You might also like