SlideShare a Scribd company logo
1 of 36
© Technical Spark
- SARVESH SINGH
1403213090
1
© Technical Spark
Hardware Software
Communication
SoftwareHardware
© Technical Spark
© Technical Spark
Code
© Technical Spark
Hardware
© Technical Spark
Arduino
• Open-Source Prototyping Platform
Accelerometer
• ADXL3xx
Bluetooth
• HC0x
© Technical Spark
Gesture Control
Wireless
Communication
Introduction ToAccelerometer
What’s Inside Accelerometer??
Various Classifications
Bluetooth
Master
Slave
© Technical Spark
Gesture Control
Wireless
Communication
Introduction To Accelerometer
Various Classifications
Bluetooth
Master
What’s Inside Accelerometer??
Slave
© Technical Spark
–Howit works???
It All Begins Here…
© Technical Spark
So, What is an accelerometer???
 Simply stated … It is a device that measures
acceleration
forces.
STATIC
(due to gravity)
DYNAMIC
(w.r.tDevice)
 Measures the tilt of
the device
(w.r.t. gravity)
 Analyze the way
device is moving
Vibrations & Shocks
© Technical Spark
So, What is an accelerometer???
 To put simply… It is a device that
measures
acceleration
forces.
STATIC
(due to gravity)
DYNAMIC
(w.r.tDevice)
 Measures the tilt of
the device
(w.r.t. gravity)
 Analyze the way
device is moving
Vibrations & Shocks
© Technical Spark
Understanding Accelerometer
Remember Hooke’s law:
fk =kx = mg
g=(kx)/m
Now Somehow mechanical displacement  electrical signal
piezoelectric, piezoresistive or capacitive components
© Technical Spark
These tiny crystal structures output electrical charge
when placed under mechanical stress ( e.g. acceleration).
Understanding Accelerometer
© Technical Spark
So, How does it work???
© Technical Spark
An accelerometer works on the principle of piezo electric effect.
Here, imagine a cuboidal box, having a small ball inside it, like
in the picture above. The walls of this box are made with piezo
electric crystals. Whenever you tilt the box, the ball is forced
to move in the direction of the inclination, due to gravity. The
wall with which the ball collides, creates tiny piezo electric
currents. There are totally, three pairs of opposite walls in a
cuboid. Each pair corresponds to an axis in 3D space: X, Y
and Z axes. Depending on the current produced from the piezo
electric walls, we can determine the direction of inclination
and its magnitude.
So, How does it work???
© Technical Spark
So, What is an accelerometer???
Simply stated… It is a ^ device that measures
acceleration force
electromechanical

Another Classification
Digital Accelerometer Vs Analog Accelerometer
© Technical Spark
So, What is an accelerometer??
Simply stated… It is a ^ device that measures
acceleration force
electromechanical

Another Classification
Digital Accelerometer Vs Analog Accelerometer
Digital accelerometers usually use pulse width modulation (PWM) for
their output. This means there will be a square wave of a certain
frequency, and the amount of time the voltage is high will be
proportional to the amount of acceleration.
© Technical Spark
So, What is an accelerometer??
Simply stated… It is a ^ device that measures
acceleration force
electromechanical

Another Classification
Digital Accelerometer Vs Analog Accelerometer
Analog style accelerometers output a continuous voltage
that is proportional to acceleration. E.g. 2.5V for 0g, 2.6V
for 0.5g, 2.7V for 1g and so on.
© Technical Spark
Digital Accelerometer
+ used when pure digital inputs are available in microcontroller
+ requires the knowledge of SPI(Serial PeripheralInterface)
or I2C(Inter Integrated Circuit Communication)
Analog Accelerometer
+ used when ADC inputs are available in microcontroller.
+ requires little knowledge of Programming acceleration=read_adc();
© Technical Spark
?Digital Accelerometer
+ used when pure digital inputs are available in microcontroller.
+ requires the knowledge of SPI(Serial Peripheral Interface)or
I2C(Inter Integrated Circuit Communication)
Analog Accelerometer
+ used when ADC inputs are available in microcontroller.
+ requires little knowledge of Programming acceleration=read_adc();
--Values flicker a bit
© Technical Spark
Two Axis Accelerometer Vs Three Axis Accelerometer
Responds to change in value in only 2 axes .
Corresponds to 4 different motion in space. (Still sufficient)
© Technical Spark
Two Axis Accelerometer Vs Three Axis Accelerometer
Responds to change in value in all 3 axes .
Corresponds to all different motion in space.
Cost is almost the same as Two Axis Accelerometer.
© Technical Spark
Accelerometers : u have seen them everywhere
 Used in mobile phones
here accelerometer is used to present
landscape or portrait views of the device's screen
 In Cricket
What about Cricket ???
 In Laptops
Many laptops feature an accelerometer which is used to detect drops. If a
drop is detected, the heads of the hard disk are parked to avoid data loss
and possible head or disk damage by the ensuing shock.
© Technical Spark
CONCLUSIONS:
How Should our Accelerometer be… ???
• It should measure both Static + Dynamic acceleration
• It should be an analog one.
• It should have 3 Axes.
• Sensitivity should be high
•ADXL335
© Technical Spark
ADXL335
Is Your Accelerometer Working Properly??
 Set this pin to 3V, an electrostatic force is exerted on the accelerometer beam.
 Check the voltages Vx , Vy , Vz on X , Y and Z pins respectively.
 If Vx= --(0.325)V and Vy= +(0.325)V and Vz=+(.550)V . Accelerometer is working
properly 
This ST pin can be left open-circuit or connected to common (COM) in normaluse
© Technical Spark
Now That We Have Got Our Required Accelerometer
WHAT’S NEXT??
Now we need to convert the available analog signal from
accelerometer to digital signal.
Use ADC Pins of ATMEGA 328(ARDUINO UNO)
 Connect Gnd & Vcc
 Use required Capacitors at X,Y & Z.
© Technical Spark
© Technical Spark
Alternate
Sensoduino
MPU6050
© Technical Spark
Communication
© Technical Spark
© Technical Spark
© Technical Spark
Master
Slave
© Technical Spark
© Technical Spark© Technical Spark

More Related Content

What's hot

PULSE GENERATOR_Hazzan Aj
PULSE GENERATOR_Hazzan AjPULSE GENERATOR_Hazzan Aj
PULSE GENERATOR_Hazzan Aj
Hazzan Ajao
 
basics of temperature data logger (with energia and stellaris)
basics of  temperature data logger (with energia and stellaris)basics of  temperature data logger (with energia and stellaris)
basics of temperature data logger (with energia and stellaris)
Zafer Genc
 

What's hot (20)

Speed measurement, tachometer
Speed measurement, tachometerSpeed measurement, tachometer
Speed measurement, tachometer
 
Vishal project1
Vishal project1Vishal project1
Vishal project1
 
Dc tachometer
Dc tachometerDc tachometer
Dc tachometer
 
Piezoelectric accelerometer
Piezoelectric accelerometerPiezoelectric accelerometer
Piezoelectric accelerometer
 
Faculty of Engineering & Technology , Gurukula Kangri University , Haridwar
Faculty of Engineering & Technology , Gurukula Kangri University , HaridwarFaculty of Engineering & Technology , Gurukula Kangri University , Haridwar
Faculty of Engineering & Technology , Gurukula Kangri University , Haridwar
 
Sensor, Transducers and Actuator in Robotics
Sensor, Transducers and Actuator in RoboticsSensor, Transducers and Actuator in Robotics
Sensor, Transducers and Actuator in Robotics
 
PULSE GENERATOR_Hazzan Aj
PULSE GENERATOR_Hazzan AjPULSE GENERATOR_Hazzan Aj
PULSE GENERATOR_Hazzan Aj
 
Tachometer
TachometerTachometer
Tachometer
 
Tachometer
TachometerTachometer
Tachometer
 
Tachometer and clamp meter
Tachometer and clamp meterTachometer and clamp meter
Tachometer and clamp meter
 
Tachometer
TachometerTachometer
Tachometer
 
Contactless tachometer using 8051 microcontroller2
Contactless tachometer using 8051 microcontroller2Contactless tachometer using 8051 microcontroller2
Contactless tachometer using 8051 microcontroller2
 
Tachometer
TachometerTachometer
Tachometer
 
Digital voltmeter project
Digital voltmeter projectDigital voltmeter project
Digital voltmeter project
 
Fluke making sense-of-electrical-signals
Fluke making sense-of-electrical-signalsFluke making sense-of-electrical-signals
Fluke making sense-of-electrical-signals
 
Spin Seminario L'Aquila - Activate
Spin Seminario L'Aquila - ActivateSpin Seminario L'Aquila - Activate
Spin Seminario L'Aquila - Activate
 
basics of temperature data logger (with energia and stellaris)
basics of  temperature data logger (with energia and stellaris)basics of  temperature data logger (with energia and stellaris)
basics of temperature data logger (with energia and stellaris)
 
Tachogenerator
TachogeneratorTachogenerator
Tachogenerator
 
Temperature Controller with Atmega16
Temperature Controller with Atmega16Temperature Controller with Atmega16
Temperature Controller with Atmega16
 
Frequency counter
Frequency counterFrequency counter
Frequency counter
 

Similar to Powerpoint Gesture Recognition

PC based Oscilloscope
PC based OscilloscopePC based Oscilloscope
PC based Oscilloscope
Sayyed Z
 

Similar to Powerpoint Gesture Recognition (20)

Free Ebooks Download
Free Ebooks DownloadFree Ebooks Download
Free Ebooks Download
 
Motorized pan tilt(Arduino based)
Motorized pan tilt(Arduino based)Motorized pan tilt(Arduino based)
Motorized pan tilt(Arduino based)
 
mechanical B presentaion in physics prentatation
mechanical B presentaion in physics prentatationmechanical B presentaion in physics prentatation
mechanical B presentaion in physics prentatation
 
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
 
Sensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controllerSensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controller
 
Swr
SwrSwr
Swr
 
2007 rew sensors_allegro
2007 rew sensors_allegro2007 rew sensors_allegro
2007 rew sensors_allegro
 
Oscilloscope tutorial
Oscilloscope tutorialOscilloscope tutorial
Oscilloscope tutorial
 
Introduction_to_Mechatronics_Chapter4.pdf
Introduction_to_Mechatronics_Chapter4.pdfIntroduction_to_Mechatronics_Chapter4.pdf
Introduction_to_Mechatronics_Chapter4.pdf
 
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
 
POSITION ANALYSIS OF DIGITAL SYSTEM
POSITION ANALYSIS OF DIGITAL SYSTEMPOSITION ANALYSIS OF DIGITAL SYSTEM
POSITION ANALYSIS OF DIGITAL SYSTEM
 
Vibration measurement
Vibration  measurementVibration  measurement
Vibration measurement
 
EEE project.pptx
EEE project.pptxEEE project.pptx
EEE project.pptx
 
Concept of Digital measurement, block Diagram & study of Voltmeter
Concept of Digital measurement, block Diagram & study of VoltmeterConcept of Digital measurement, block Diagram & study of Voltmeter
Concept of Digital measurement, block Diagram & study of Voltmeter
 
Detection & counting of missing pulses with generation
Detection & counting of missing pulses with generationDetection & counting of missing pulses with generation
Detection & counting of missing pulses with generation
 
PC based Oscilloscope
PC based OscilloscopePC based Oscilloscope
PC based Oscilloscope
 
Autobots
AutobotsAutobots
Autobots
 
Tachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor controlTachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor control
 
2008 sensor manual
2008 sensor manual2008 sensor manual
2008 sensor manual
 
Torque Sensors Explained
Torque Sensors ExplainedTorque Sensors Explained
Torque Sensors Explained
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Powerpoint Gesture Recognition

  • 5.
  • 8. Arduino • Open-Source Prototyping Platform Accelerometer • ADXL3xx Bluetooth • HC0x © Technical Spark
  • 9. Gesture Control Wireless Communication Introduction ToAccelerometer What’s Inside Accelerometer?? Various Classifications Bluetooth Master Slave © Technical Spark
  • 10. Gesture Control Wireless Communication Introduction To Accelerometer Various Classifications Bluetooth Master What’s Inside Accelerometer?? Slave © Technical Spark
  • 11. –Howit works??? It All Begins Here… © Technical Spark
  • 12. So, What is an accelerometer???  Simply stated … It is a device that measures acceleration forces. STATIC (due to gravity) DYNAMIC (w.r.tDevice)  Measures the tilt of the device (w.r.t. gravity)  Analyze the way device is moving Vibrations & Shocks © Technical Spark
  • 13. So, What is an accelerometer???  To put simply… It is a device that measures acceleration forces. STATIC (due to gravity) DYNAMIC (w.r.tDevice)  Measures the tilt of the device (w.r.t. gravity)  Analyze the way device is moving Vibrations & Shocks © Technical Spark
  • 14. Understanding Accelerometer Remember Hooke’s law: fk =kx = mg g=(kx)/m Now Somehow mechanical displacement  electrical signal piezoelectric, piezoresistive or capacitive components © Technical Spark
  • 15. These tiny crystal structures output electrical charge when placed under mechanical stress ( e.g. acceleration). Understanding Accelerometer © Technical Spark
  • 16. So, How does it work??? © Technical Spark
  • 17. An accelerometer works on the principle of piezo electric effect. Here, imagine a cuboidal box, having a small ball inside it, like in the picture above. The walls of this box are made with piezo electric crystals. Whenever you tilt the box, the ball is forced to move in the direction of the inclination, due to gravity. The wall with which the ball collides, creates tiny piezo electric currents. There are totally, three pairs of opposite walls in a cuboid. Each pair corresponds to an axis in 3D space: X, Y and Z axes. Depending on the current produced from the piezo electric walls, we can determine the direction of inclination and its magnitude. So, How does it work??? © Technical Spark
  • 18. So, What is an accelerometer??? Simply stated… It is a ^ device that measures acceleration force electromechanical  Another Classification Digital Accelerometer Vs Analog Accelerometer © Technical Spark
  • 19. So, What is an accelerometer?? Simply stated… It is a ^ device that measures acceleration force electromechanical  Another Classification Digital Accelerometer Vs Analog Accelerometer Digital accelerometers usually use pulse width modulation (PWM) for their output. This means there will be a square wave of a certain frequency, and the amount of time the voltage is high will be proportional to the amount of acceleration. © Technical Spark
  • 20. So, What is an accelerometer?? Simply stated… It is a ^ device that measures acceleration force electromechanical  Another Classification Digital Accelerometer Vs Analog Accelerometer Analog style accelerometers output a continuous voltage that is proportional to acceleration. E.g. 2.5V for 0g, 2.6V for 0.5g, 2.7V for 1g and so on. © Technical Spark
  • 21. Digital Accelerometer + used when pure digital inputs are available in microcontroller + requires the knowledge of SPI(Serial PeripheralInterface) or I2C(Inter Integrated Circuit Communication) Analog Accelerometer + used when ADC inputs are available in microcontroller. + requires little knowledge of Programming acceleration=read_adc(); © Technical Spark
  • 22. ?Digital Accelerometer + used when pure digital inputs are available in microcontroller. + requires the knowledge of SPI(Serial Peripheral Interface)or I2C(Inter Integrated Circuit Communication) Analog Accelerometer + used when ADC inputs are available in microcontroller. + requires little knowledge of Programming acceleration=read_adc(); --Values flicker a bit © Technical Spark
  • 23. Two Axis Accelerometer Vs Three Axis Accelerometer Responds to change in value in only 2 axes . Corresponds to 4 different motion in space. (Still sufficient) © Technical Spark
  • 24. Two Axis Accelerometer Vs Three Axis Accelerometer Responds to change in value in all 3 axes . Corresponds to all different motion in space. Cost is almost the same as Two Axis Accelerometer. © Technical Spark
  • 25. Accelerometers : u have seen them everywhere  Used in mobile phones here accelerometer is used to present landscape or portrait views of the device's screen  In Cricket What about Cricket ???  In Laptops Many laptops feature an accelerometer which is used to detect drops. If a drop is detected, the heads of the hard disk are parked to avoid data loss and possible head or disk damage by the ensuing shock. © Technical Spark
  • 26. CONCLUSIONS: How Should our Accelerometer be… ??? • It should measure both Static + Dynamic acceleration • It should be an analog one. • It should have 3 Axes. • Sensitivity should be high •ADXL335 © Technical Spark
  • 27. ADXL335 Is Your Accelerometer Working Properly??  Set this pin to 3V, an electrostatic force is exerted on the accelerometer beam.  Check the voltages Vx , Vy , Vz on X , Y and Z pins respectively.  If Vx= --(0.325)V and Vy= +(0.325)V and Vz=+(.550)V . Accelerometer is working properly  This ST pin can be left open-circuit or connected to common (COM) in normaluse © Technical Spark
  • 28. Now That We Have Got Our Required Accelerometer WHAT’S NEXT?? Now we need to convert the available analog signal from accelerometer to digital signal. Use ADC Pins of ATMEGA 328(ARDUINO UNO)  Connect Gnd & Vcc  Use required Capacitors at X,Y & Z. © Technical Spark
  • 36. © Technical Spark© Technical Spark