No video

Simple Guide on Accelorometer, Magnetometer, Digitial Gyro, GPS, Barometer Pros and Cons

  Рет қаралды 78,160

Carlos Pineiro

Carlos Pineiro

Күн бұрын

A Simple quick and dirty video on picking a sensor for your Arduino, Raspberry Pi, Beagle Bone Black, Parallax, and so on.
We speak about Accelerometer, Magnetometer, Digital Gyro, GPS, Barometer Pros and Cons. What they Sense and what they are best used for.
Here is a Video of someone Testing 3 Sensors in real time : • Testing my self made 9...
How an Accelerometer works and is made: • How a Smartphone Knows...
How a GPS works using Atomic Clock: • How an atomic clock wo...
Thank You
-----------------
Don’t have Uber / Lyft yet? Try out for FREE! Your first Ride on Me. Up to $20.
www.uber.com/i...
www.lyft.com/i...
---------------
Want to Drive and Make money with your car? Up to $500 Bonus in most cities!
get.uber.com/d....
www.lyft.com/d...
-------------
Already Drive for Lyft and/or SideCar? And want to sign up for Uber? Up to $500 Bonus
get.uber.com/c....
----========--------
Self Employed? Easiest Credit Card Processer with your Smartphone. Swipes are 2.75% and punch-ins are 3.5%+$.15. No Hidden Costs. Card Reader is Free and Money deposited in 1 to 2 Business days!
Sign-up with this link squareup.com/i...
You will get $1000 in transactions at no processing cost to you! $1000 up to 180 days. The reader, App, and signing up cost you ZERO and you will receive the reading within a couple of days in the mail.
--This link will show you how to use to process Tips on Uber with a Credit card
• Receive Uber Tips quic...
======================
If this video helped you and would like to donate;
via PayPal = cashebiz@CARLOSystems.com
via BitCoin = 1LznbzF2CVWgaLZL8AGCFFu5gegQfUgBtf
.. ****** THANK YOU *****

Пікірлер: 104
@AlanGresham
@AlanGresham 5 жыл бұрын
Thanks, a very time-efficient rundown that helped this noob get a grip on what my device will need to achieve the outcome that I'm after.
@shahadalrawi6744
@shahadalrawi6744 9 жыл бұрын
Thank you very much, first time to know the difference between these sensors
@cashe18
@cashe18 9 жыл бұрын
Shahad Alrawi Thank you for watching. The best thing is these chips keep getting cheaper and FASTER plus all in one.
@MrNewAmerican
@MrNewAmerican 3 жыл бұрын
Thanks Carlos - such a cogent and clear explanation
@aaronlowe3156
@aaronlowe3156 8 жыл бұрын
Thanks for posting this. If my project turns out right, I owe my knowledge on MPUs to you!
@cashe18
@cashe18 8 жыл бұрын
+Aaron Lowe I hope it works for you... Here is a freebie. Take the outputs and read it 10 times, Average the readings and use that answer. It will smooth out the output from noise and spikes.
@aaronlowe3156
@aaronlowe3156 8 жыл бұрын
Alright. I can code that
@amor8973
@amor8973 4 жыл бұрын
Thank you
@KazenoniKakuremi
@KazenoniKakuremi 9 жыл бұрын
Awesome....I was searching sensor individually lol...this is perfect.....can you do one on the range and distance sensors i.e. lidar, IR reflective etc
@cashe18
@cashe18 9 жыл бұрын
Harri v'Jah Great Idea, I will consider it. As those too many benefits and drawbacks.
@navneetpatil6600
@navneetpatil6600 7 жыл бұрын
very nicely explained sir, in a very basic understandable manner. thank you very much
@iamjameswong
@iamjameswong 4 жыл бұрын
Great explanation
@BiancaDianaT
@BiancaDianaT 4 жыл бұрын
Beautiful explanation
@cashe18
@cashe18 4 жыл бұрын
I hope it helped. Thanks
@BiancaDianaT
@BiancaDianaT 4 жыл бұрын
@@cashe18 it helped a great deal! It illustrated many aspects perfectly I further checked your channel for calibration of IMU sensors, I couldn't find that but if any practical resources come to mind, very appreciated! In any case, thank you for the awesome video!
@jhamgarces9770
@jhamgarces9770 5 жыл бұрын
A Big THANK YOU for this very informative video. Now I know the Differences and purposes of this sensors. I just have one question to clarify about Magnetometer. What will happen if you install the magnetometer on a quad copter in a slant (3 to 5 degree angle) position? Does it have a negative effect to the navigation of the quad?
@cashe18
@cashe18 5 жыл бұрын
I have only heard that putting the sensor too close to the motors will cause you error data because the magnetic fields produced.
@hectormargarito148
@hectormargarito148 4 жыл бұрын
Nice introduction!
@rjk81
@rjk81 6 жыл бұрын
Great Explanation Thank you
@cashe18
@cashe18 6 жыл бұрын
Thanks for watching. It really comes down to wht you want to do with your project.
@iansterling9150
@iansterling9150 8 жыл бұрын
Awesome vid, thanks for the simple explanations
@cashe18
@cashe18 8 жыл бұрын
+Ian Sterling Thank you for watching. I hope it helps you.
@kerron_
@kerron_ 6 жыл бұрын
very good video
@varunh.2606
@varunh.2606 8 жыл бұрын
Wonderful explanation!
@cashe18
@cashe18 8 жыл бұрын
Thank you for watching. I hope it helps.
@haihai2999
@haihai2999 6 жыл бұрын
Now i know. THank you... Very clear explanation.....
@Chris-hy6tj
@Chris-hy6tj 3 жыл бұрын
Thanks, nice explanations. Is there a mems module or, even bettet, a shield fpr Arduino (or other microcontroller) that has all these sensors merged?
@cashe18
@cashe18 3 жыл бұрын
I'm pretty sure there are. This video is a bit old to today's standards. So many companies made modules for arduino since it's open sourced, You will find what you are looking for. Thanks for watching.
@jccasava2035
@jccasava2035 6 жыл бұрын
Thanks Carlos, I found your video very useful!!!
@kamatihasheela2995
@kamatihasheela2995 8 жыл бұрын
thanks a lot for the explanation
@cashe18
@cashe18 8 жыл бұрын
Glad it helped.. Thank you for watching.
@Avelx
@Avelx 9 жыл бұрын
Great video! However at 6:00 you said 'east would be the Y' which your diagram and other diagrams show east as X. Also would it be correct to say: Positive Y is north Negative Y is south Positive X is east Negative X is west?
@cashe18
@cashe18 9 жыл бұрын
Avelx That is a GREAT observation! You are Right and kinda wrong too. I will explain. If you use the chip as intended, then you are 100% correct. But here is where is gets tricky. You must think about the position and location of the chip itself. Say you are working on a tracking project, then you will place chip close to center of project's mother/bread board with top cover of chip aimed to the sky. Then you are correct. BUT let's say we are talking about a handheld like a smart phone where a designer is expecting the phones normal position is right up in you palm, so the motherboard is actually sideways, and the chip's bottom is actually facing you behind the screen. This type of design would swap what the true X,Y,Z actually are. These things must always be taken in account. So Unless it's the Magnetometer which uses the earths magnetic field to point North and East no matter what you try, the other sensors (Not counting GPS) output are set by the programmers normal set orientation for the output. Where X means up or upside down, Z means it's on it's side. The GPS is a different ballgame as it's positions is ALL based on the math output from timing the signal received. This is why most every Smartphone maker tried there best to place the sensor in the center of the board, and gps chip close to top of phone(by ear speaker). FYI, You can't have the magnetometer close to speaker or mic because they have magnets and will hurt your output. Thank you for watching and catching that!
@Avelx
@Avelx 9 жыл бұрын
Cool thanks for that detailed explanation, much appreciated and I like your teaching style. Keep it up :)
@cashe18
@cashe18 9 жыл бұрын
Avelx I try my best. Taking the technical manuals and turning it into simple English and real world examples. I will make more soon. Thank you
@malgailany
@malgailany 8 жыл бұрын
Interesting and informative video. In some devices were the orientation is the only required measurement, a combination of Gyro and Accelerometer are used. My question is why do thy need to add Accelerometer with the Gyro ? Thanks.
@cashe18
@cashe18 8 жыл бұрын
+Mohammed Algailani GREAT QUESTION! Here are a few reasons... The Gyro chip was created way after the accelerometer was already in MANY popular devices. The Iphone 1 and the Nintendo Wii Controller had no Gyro to name a few. The iphone 1 used alot of math plus battery AND the Wii used inferred lights you set on top of screen to detect gyro movement. Later Wii added the gyro chip. Since so many devices were using the accelerometer already, it was easier to put the gyro in the same chip and the device makers would transition the programming slowly. Also manufacturing both in 1 is way cheaper. Also you can create a calculation with both inputs to smooth your data output to be not so shaky. Lastly the gyro is always processing, so a battery saving trick is to put to sleep until the accelerometer detects a quick jerking which indicates a movement to wake the gyro. This is a common battery saving programming used in many smart battery running devices. Thank you for watching!
@malgailany
@malgailany 8 жыл бұрын
+Carlos Pineiro Thanks Carlos for the thorough replay. In addition to what you said, an accelerometer measures inertial force, such as gravity (and ideally only by gravity), but it might also be caused by acceleration (movement) of the device. Even if the accelerometer is relatively stable, it is very sensitive to vibration and mechanical noise. A gyroscope is less sensitive to linear mechanical movements, the type of noise that accelerometer suffers from. Gyroscopes have other types of problems like drift (not coming back to zero-rate value when rotation stops). Averaging the data that comes from accelerometers and gyroscopes can produce a better estimate of orientation than obtained using accelerometer data alone. (Source: CSCI 373/EGM 360 Mechatronics Design, sensor fusion.)
@yuchengoh3236
@yuchengoh3236 9 жыл бұрын
Hi, everyone. I am still a newbie on understanding how sensors works. I wish to use Arduino for my project. May I know what is/are the suitable sensor(s) to use to simply measure a human fall? Thanks in advance
@cashe18
@cashe18 9 жыл бұрын
Yu Chen Goh 9.8 meters a second squared will be the drop rate. But the sensor you want is the accelerator. Gyro will only tell you the orientation of the falling body. Thank you for watching.
@danysize
@danysize 9 жыл бұрын
Nice Explanation !! Thanks for sharing !
@cashe18
@cashe18 9 жыл бұрын
Daniel Saiz Thank you for watching. I hope it helps. Take a minute to read the comments as many have asked GREAT questions which might fill in missing gaps.
@rupganjpowerplantsummitpow1344
@rupganjpowerplantsummitpow1344 7 жыл бұрын
Nice presentation boss
@cashe18
@cashe18 7 жыл бұрын
Thank you. I hope it helps
@MrBie
@MrBie 7 жыл бұрын
Great video
@cashe18
@cashe18 7 жыл бұрын
Thank you for watching. I know it was long But they all have little differences that matter.
@djimavicpilot3285
@djimavicpilot3285 7 жыл бұрын
what app you are show as on your phone? ... i want that app
@bobvincent5921
@bobvincent5921 5 жыл бұрын
Thanks it all makes sense. How was the V2 rocket guided towards London Inn WW2?
@cashe18
@cashe18 5 жыл бұрын
That one took a while to figure out until one didn't blow up allowing army to look inside. It was mechanical. It had a mechanical dial that would spin to cause delay. Once time was up, a rod would push the tail fin to cause the rocket to aim down.
@OynxBlack
@OynxBlack 8 жыл бұрын
I know nothing about electronics but I am trying to build or find a very small tilt sensor that will light a small green LED when I am at a perfect 0° horizontal, +/- 2°. I would like to have the device light a small red led when I am more than 3° tilted on either side. I was hoping you would be able to direct me which products I need to make this happen. Any and all information you can give will be greatly appreciated.
@cashe18
@cashe18 8 жыл бұрын
wow, That would actually be VERY easy.. A simple arduino Uno and equivalent and a gyro chip. The coding would be very simple. Goto adafruit.com and you will find everything you need. there also Level apps on your smart phone.
@OynxBlack
@OynxBlack 8 жыл бұрын
+Carlos Pineiro I was thinking one of us you giving me a quote to build something like this, to me this is like a rocket scienceand I would not know where to begin even if I did buy the materials from that website :-). Contact me at deepersshit@gmail.com if you will and we should do business
@cashe18
@cashe18 8 жыл бұрын
It's not a complicated built, just a time consuming device. What you are asking to do is VERY simple. a few KZfaq videos and you can do it yourself with no help.
@thevijayraj34
@thevijayraj34 8 жыл бұрын
Thanks for the explanation
@cashe18
@cashe18 8 жыл бұрын
+SonyX64 I hope it helps.. Thank you for watching
@DurgaPrasad-lp6vb
@DurgaPrasad-lp6vb 3 жыл бұрын
Hi I have a doubt what happens to output of accelerometer when accelerometer is moved with same speed for some time will it be zeros or some constant km/s^2
@cashe18
@cashe18 3 жыл бұрын
That is a great question. Which is a great reason the gyroscope chip was made. Accelerometer can only detect change of itself. It's very sensitive but say you are on a train. Eventually the train remains at a constant speed, the accelerator will zero out. Only detecting the slightest bumps and shifts til braking or it speeds up. Imagine drinking a soda in the car with no lid. Steady enough the drink calms. At least these sensors usually have mag, gyro and accel all in one chip now.
@DurgaPrasad-lp6vb
@DurgaPrasad-lp6vb 3 жыл бұрын
@@cashe18 But when place an accelerometer on table it's velocity or speed is zero but the accelerometer output is approximately 9.8m/s^2 in z -axis
@bkekria1
@bkekria1 8 жыл бұрын
the accelerometre detects the tilting, also detects the direction you're going in, that's due to it's coordinate system you use in the beginning.
@cashe18
@cashe18 8 жыл бұрын
not the solo chips. like the original wii controller
@ronen124
@ronen124 8 жыл бұрын
a good explanation thanks
@cashe18
@cashe18 8 жыл бұрын
+Ronen Shemesh Thank you for Watching.. Glad you enjoyed
@iamcreasy
@iamcreasy 6 жыл бұрын
That was a great video. How can I measure the movement of a rover moving in a straight line with zero acceleration? (Without using GPS)
@BiancaDianaT
@BiancaDianaT 4 жыл бұрын
You probably figured it out by now but a common approach is rotary encoders for rovers
@muhammadsameer883
@muhammadsameer883 7 жыл бұрын
excellent video bro
@cashe18
@cashe18 7 жыл бұрын
Thank you for watching. I hope it helps. There really is so many options today and each one has it's bugs and advantages.
@WRAND2208
@WRAND2208 8 жыл бұрын
+CarlosPineiro i see you a BB fan. awesome vid btw. thanks a lot.
@cashe18
@cashe18 8 жыл бұрын
+WEKRAYS YOU BET!! Was a GREAT show... Thank you for Watching.
@shivakumarcd
@shivakumarcd 7 жыл бұрын
Thanks a lot for the video
@shivakumarcd
@shivakumarcd 7 жыл бұрын
Could you please tell me which one will be cheapest operation cost wise...
@daisyfernandez7870
@daisyfernandez7870 6 жыл бұрын
Thank you !!!
@avibank5115
@avibank5115 9 жыл бұрын
Thank you !
@cashe18
@cashe18 9 жыл бұрын
Your welcome. I hope it helped you some.
@thomle984
@thomle984 5 жыл бұрын
AWESOME!!!
@Piccolo_Sun
@Piccolo_Sun 5 жыл бұрын
nice vid bro but the barometer is needed. that is only think i did not agree with, because more sensors are better then less.
@fatimaisra9143
@fatimaisra9143 5 жыл бұрын
Heyo, quick question: are these sensors used on satellites too, or can they be used on satellites and then observed on earth?
@AngelofHogwarts
@AngelofHogwarts 5 жыл бұрын
Yes, satellites do use sun sensor, star sensor, magnetometer, gyroscopes.
@jcaz76
@jcaz76 9 жыл бұрын
What app are you using on your phone to do this?
@cashe18
@cashe18 9 жыл бұрын
You mean to create the video? I didn't use a phone. I used a handheld HiDef JVC SD cam. Then I used Movie Maker to cut the extra out and add the on screen Texts. Movie Maker is a free Program from Microsoft.
@jcaz76
@jcaz76 9 жыл бұрын
No, the part where you displayed the gyro and accelerometer on your phone during the presentation. The app you used for that.
@cashe18
@cashe18 9 жыл бұрын
Justin Cazares OOOooo Yes... I forgot about that part.. I'm sorry. It's a Free Android app Called "GPS Status". It has many features including logging ability and even a tracker where you enter long and lat and it points to the place like a Hide and Seek.
@jcaz76
@jcaz76 9 жыл бұрын
Thanks! Your presentation was great by the way, cleared up some questions I had about the differences between the two. Do you work with these on a regular basis?
@cashe18
@cashe18 9 жыл бұрын
Justin Cazares I will not say regularly but I do and have. Mostly making small items and tinkering. I'm a fan of the Arduino which these sensors work amazingly well. You will now find these chips with both Accelorometer and Digital Gyro in one chip because with a little math, you will get a much more smooth output. example is the Gyro is mega sensitive, so you slow the reading when the Accelorometer is in or close to the 0g state. The Magnetometer is the least popular, I would say cause without the gyro, It you don't know what direction the device is pointing, your math can and will be off.Now if you are building a device that will be bolted into a car or plane, the magnetometer who do well since you chip can be placed to always be in the center aimed to front of machine. Apple does it's best to always place the Digital Gyro smack in the center of phone.
@timlazenby4430
@timlazenby4430 8 жыл бұрын
How difficult/expensive is it to build a potassium magnetometer??
@cashe18
@cashe18 8 жыл бұрын
I need more details.
@Francis8NY
@Francis8NY 8 жыл бұрын
Excellent !!! very well explained. Thank you ,Carlos=)
@cashe18
@cashe18 8 жыл бұрын
+Francis Chan Thank you for watching... Hope it helps
@yxhankun
@yxhankun 9 жыл бұрын
what is name of apps running on your mobile?
@cashe18
@cashe18 9 жыл бұрын
It's a Free Android app Called "GPS Status". It has many features including logging ability and even a tracker where you enter long and lat and it points to the place like a Hide and Seek. Thanks for watching.
@Sam19600
@Sam19600 9 жыл бұрын
Refer to your video, Accelerometer detects moving, not turning, (at 1:43), Gyro detects turning (at 4:06). Why from video “How an Accelerometer works and is made” www.youtube.com/watch?v=KZVgK... , it said, Accelerometer detects turning? Should it be Gyro? Thank you.
@cashe18
@cashe18 9 жыл бұрын
Sam19600 Thank you Sam for watching.. That link is a GREAT video. I love his stuff! Here is the deal. The Gyro chip came after the first smart phones, like the iphone 1 didn't have a gyro. So turning was detected with accelerometer because the chip actually had 3 in 1. X Y Z axis. by detecting which had the strongest force and reverse the result, you know what way you turned the device. The limitation is that it can only detect movement if the speed is changing. If you are in a car going 40mph steady, you would have 0g forces on you and the Accelerometer would not detect movement. unless you speed up or slow down the chip will not detect movement. Gyro detects turning, correct. So many to smooth the results do an average of the output to figure out movement. GPS is still the best for speed and long movement.
@garrypowell1086
@garrypowell1086 8 жыл бұрын
I enjoyed your presentation. Your explanation of the accelerometer is incorrect in that you say it is responding to gravity. Gravity is a force of attraction of 32 ft/sec2. or 9.8m/sec2 at sea level on the Earth. That exists as an attraction between the object (phone) and the center of the earth. All objects follow this law. As an example: If you are falling then you are weightless. This meter reacts to Newton’s three laws. A body in motion will remain in motion unless acted on by a force; or remain motionless. That force will provide acceleration to the object. A plane doing a tight turn at speed will place several g's of force (times the normal gravity) on the pilot. It is demonstrated simply as F=ma where ‘m’ is the mass of the object and ‘a’ is the acceleration imposed on it. The video refers to gravity as being the instigator whereas acceleration is the true parameter - brought about by an outside force acting on the object. i.e. afterburner, throttle, pushing etc.
@cashe18
@cashe18 8 жыл бұрын
I'm pretty sure I spoke about this in the video where the issue with the Accelerometer is if you are in a constant speed, where you are NOT making any speed changes, the sensor is useless because it doesn't detect changes in forces. One of the main factors the electric gyro was added to so many devices. but the gyro will not detect speed changes. As a battery saving technic,you put all sensors to sleep and wake when accelerometer gets a mass detection(Shock). Thank you for the info and for watching.
@bennylofgren3208
@bennylofgren3208 8 жыл бұрын
I understand where you're coming from, but accelerometers are actually not at all useless in your described case where the readings (changes in acceleration) are zero. Which is also useful information, it tells us there have been no change to our state since last time we looked. What we would do is to keep track of any changes in the force vectors in all three dimensions. If we do that at all times we will know where we are because we knew where we started from (let's assume) and we know what changes in acceleration have been made up to this point in all directions. If all acceleration changes are zero, we are simply continuing in exactly the same state (direction + velocity) as we were the last time we sampled the device. This is in principle how intertial navigation systems work. Google that (INS) and "dead reckoning" for more information on the techniques used. (Edited to correct typos.)
@cashe18
@cashe18 8 жыл бұрын
+Benny Löfgren once you hit terminal velocity then it's also useless. like a speed train and or an airplane on a clear day, once the speed is steady, the accelerometer will read you x0,y0,z0. this is where one must become very clever in what you want to use that sensor with. Here is an example; say you want to make a simple display for a little plane that will show you the angle of the plane but you only use an accelerometer, then it will do ok as long has you calibrate and set to warm start from the ground. The math can do ok. do a cold start in the air and it's a hit or miss once once you are at a clear steady speed, you will get x0y0z0. the gyroscope chip will work better with less math required in this can. this was one of the major reasons the original first wii controllers looked at 2 infrared lights placed on the screen to know it's angle and placement. the speed of gravity is great but the outside forces matter. resistance, hitting a wall, a quick jerk of the board will read maximum force 16x,16y which can ready mess the numbers a bit. I prefer the combination of gyro and accelerometer for fast feedback with less errors. then there is the plane going at 20mph thrust with counter winds coming at 15mph. This is another issue but a job for the gps.
@bennylofgren3208
@bennylofgren3208 8 жыл бұрын
***** You are right about that, the combination of gyro and accelerometer is better, since a gyro will measure angular velocity changes and not be as sensitive to sudden movements and "noise". Gyros are susceptible to drift over time though. But I still have to object to you calling accelerometers "useless" in their null range, they certainly are not. The accelerometer measures the *change* in your velocity in the three axes, and to know that your state vector has not changed since your last sample is a very useful piece of information. The GPS is a totally different beast. It gives you a position *fix* in 3D space, and even though as you said in the video you can use it to calculate speed and heading, that is of course not its primary use, and unlike the other two sensor types, a GPS *does* become worthless for that secondary purpose when you are standing still or moving very slowly. Before the days of GPS, people could still navigate the seas and the skies, using just gyros and accelerometers (or a compass and speed measurements) and dead reckoning. :-)
@stevenmalone438
@stevenmalone438 7 жыл бұрын
Let's be more specific about this... He stated "it is measuring the pressure of gravity" - which is not accurate, but it is pointing out the accurate variable of pressure. You also stated that the accelerometer is measuring acceleration, which isn't entirely accurate either. Acceleration is the change in velocity (speed) over time [a=Δv/Δt]. Since the device isn't measuring velocity or time, it can't possibly be measuring acceleration.... at least not directly. On the other hand, physics tells us that F=ma (Force = Mass x Acceleration) - which can be changed to a = F/m (Acceleration = Force / Mass). If you know the mass of an object, and you can measure the force applied to it, you can calculate Acceleration. So how does the accelerometer work?? A common accelerometer consists of a material of mass and a interesting material known as piezoelectric material. When force is applied to piezoelectric material, a measurable voltage is emitted - so where does the force come into play? All objects of mass have inertia. Inertia is the resistance of an object of mass to move out of its 'inertial frame of reference'. An object at rest as well as an object moving at a constant speed of 100mph are both stationary within a frame of reference. If a force is applied to the object and its speed or direction changes, it will move outside of this frame of reference into another. When this happens, a force is applied to the object of mass in the opposite direction, known as Inertial Force. Back to the example with in a car. When you accelerate in a car, you feel a force against your back pressing to the seat. Likewise, when you make a sharp turn you feel your body move away from the turn (more precisely perpendicular to the change in direction - aka centrifugal force). If you were to place piezoelectric material between your body and the seat, a measurable voltage could be detected when you accelerated forward (or likewise when you slam on your breaks). This is essentially how the accelerometer works. When a material of mass applies PRESSURE to the piezoelectric material through inertial forces, a voltage is detected and can be used to calculate force. Since the developers of the accelerometer sensor knows the mass of the material also, you now have the two variables needed to calculate acceleration (a = F/m). For anyone who is still confused by all this physics jargon, an easy way to understand an accelerometer is to think of it like a tiny bathroom scale. When you stand on a scale, it detects your weight. Gravity applies a force to your body, and since the scale is on the ground, it resists moving, thus a pressure is applied between your feet and the scale, which it measures that pressure. Most modern accelerometers measure on 3-axis - X (left-right), Y (forward-backward), and Z (up-down). Now knowing that the accelerometer works much like scale - you could now draw the conclusion that even at rest, a force would be applied to the Z-axis... and you would be right. Even at rest, an accelerometer will draw a constant measurement in the downward direction on the Z-axis. This is easily resolvable by applying an offset of the measurement against the final reading. However, you wouldn't want this offset if your accelerometer is in space or on another planet/moon as the force of gravity wouldn't be the same. Hope you enjoyed this explanation!
@electronicjo1
@electronicjo1 6 жыл бұрын
1 minute in "If you are in a car and you are not moving, then you have zero forces on all directions". Uhhh not quite. You have gravity, which is a force. The accl. will read 9.8m/s/s even when you are not moving.
@cashe18
@cashe18 6 жыл бұрын
No. The accelerometer detects changes in force. The gyro is found to be better in detecting direction of chip. Here is an example. If you are in a car accelerating 0 to 60, you feel the g forces and it pushes you into your seat. But once the car stays steady at a speed, you no longer will feel the force cause you and car are moving at same speed. 9.8m/s/s kenetic energy does help the chip know direction if you move it a lot which requires doing an 8 shape to calibrate. If you open the sensor on an ipad going 700mph in a plane, it will show steady that you can even place on tray and it not fall. A good mix of sensors help. Rarely will you now see accelerometer chip without a gyro in one, these days.
@electronicjo1
@electronicjo1 6 жыл бұрын
Your example scenario is correct and reaches a valid conclusion, but your first statement is false: the accelerometer does NOT measure changes in force. I think you mean to say it measures changes in velocity. An accelerometer will only read zero in all directions if it is under free-fall of gravity, all other scenarios will have non-zero readings. Imagine an accel. made out of a box with equal sized springs on all walls, suspending a mass in the center. If the box isn't moving (resting on a table), what is the length of the springs? The top spring will be longer than the bottom one because of gravity pulling on the center mass. The length of this spring is proportional the amount of acceleration (due to gravity!!). The MEMS accel works on the same principle. It uses plates/capacitance instead of springs. It gets complicated because you can do tilt sensing with a 3-axis accel(Gyro not needed).
@cashe18
@cashe18 6 жыл бұрын
What you say makes sense but there is no springs in these chips and the accelerometers I have used and codes when powered up from rest reads me 0,0,0 . And I know I'm not free falling. The first wii controllers only had accelerometers and to solve the position issue, Nintendo used 2 IRs in front to a sensor on top of tv know twist better. Later the dual acceleration & gyro chip was then used. If the current chips of today accelerometers read the gravity when at rest then it's a huge plus since I have not used one in about 4 years.
@fatimaisra9143
@fatimaisra9143 5 жыл бұрын
This was a very useful discussion , you two :)
How a Smartphone Knows Up from Down (accelerometer)
4:25
engineerguy
Рет қаралды 1,9 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 11 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 6 МЛН
The bizarre flashing lights on a smartwatch
13:29
Steve Mould
Рет қаралды 2,8 МЛН
FreeIMU/MPU-6050 Drift Free AHRS and Motion Detection
8:01
CyberMerln
Рет қаралды 92 М.
Defeating Microwave Weapons! - Part 1
29:28
Tech Ingredients
Рет қаралды 1,1 МЛН
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 143 М.
Wirtz pumps are really clever
12:05
Steve Mould
Рет қаралды 13 МЛН
Getting Started with LIDAR
47:27
DroneBot Workshop
Рет қаралды 1,4 МЛН
How waterproofing works (and fails)
15:33
TechAltar
Рет қаралды 112 М.
3D Tracking with IMU
3:28
SebMadgwickResearch
Рет қаралды 550 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 11 МЛН