Raspberry Pi Pico W LESSON 42: Measuring Tilt With an MPU6050 Accelerometer

  Рет қаралды 4,601

Paul McWhorter

Paul McWhorter

Күн бұрын

Пікірлер: 53
@vaughntaylor2855
@vaughntaylor2855 Жыл бұрын
Paul, please continue teaching all the math. Yes there are those who would rather use existing libraries and they can do so. But speaking for myself, I enjoy trying to understand the math!, Thank you and God Bless you and yours!
@scottwait3585
@scottwait3585 Жыл бұрын
I agree, the math behind the work is really important to understand. It really helps a lot!
@robakers6127
@robakers6127 Жыл бұрын
my opion as well. I hate to use code with no understanding but it works, so use it. Thank you.
@TheTechRancher
@TheTechRancher Жыл бұрын
I also agree 150%. Math is the fuel in the Electrical Engineer's Mind.
@richardvanworkum4964
@richardvanworkum4964 Жыл бұрын
I was able to do the homework assignment. After having it on my mind for four days it came to me in the shower. The direction of the tilt was quite simple. The direction of tilt is the direction of, in this case, yAccel. One if statement…..LEGEND! Thanks for the challenging homework.😊
@leeg.1402
@leeg.1402 Жыл бұрын
I agree with Vaughn, Please continue teaching the math involved. Libraries are fine and have their place, but I like the details of what is actually happening and how to get there. Nine times out of ten it includes math!! Thanks for all that you do.
@qzorn4440
@qzorn4440 Жыл бұрын
First of all Paul it is very cool to find out you worked with these devices in the early development days. 🥳 As for myself the math is the main thing I want to understand. Then writing the code makes more sense if all these trig terms are second nature. The creative thinking kicks in when the MPU6050 mystery is understood. 😎 Thank you so much.
@Klaus-b1u
@Klaus-b1u Жыл бұрын
Great video! Thanks. I like the way you present this motivating people to understand the math behind.
@ttguitarstringstt1550
@ttguitarstringstt1550 27 күн бұрын
Keep giving the math. Wish It would have been cool to have this while learning math.
@ÖmerYılmaz-n2i
@ÖmerYılmaz-n2i 2 ай бұрын
Perfect video as always, i like the way you teaching
@dariush_derki
@dariush_derki 2 ай бұрын
Thank you Paulo, it was very important material, I used it, thank you
@bobvines00
@bobvines00 Жыл бұрын
Paul, like most of the other commenters, I ask that you continue covering the math to teach how to think like an Engineer rather than those who simply try to find libraries or code instead of developing their own solutions. I don't have a Sunfounder kit yet, but hope to get one between now and Christmas so I can restart these lessons from scratch and develop my solutions.
@albrody8861
@albrody8861 Жыл бұрын
I like the direction you are sending us.
@garethhunt6220
@garethhunt6220 Жыл бұрын
hi Paul absolutely love where we are going wirh this right now i love you explainations and how this should be done right! keep up the good work sir
@peterhartshauser5176
@peterhartshauser5176 Жыл бұрын
Feels like a straight road from idea to something tangible, without math - red lights, getting in the way.
@cvicracer
@cvicracer Жыл бұрын
Keep up the explanation exercises it helps alot in the learning process
@nejatpolat
@nejatpolat 11 ай бұрын
Great! This is just what I want to learn behind the theory.
@lorisrobots
@lorisrobots 10 ай бұрын
Great video! This kind of "physics" thinking does not come easily to me. It is a bit more than just math thinking IMO. I appreciate you taking the time to explain it carefully and drawing those helpful diagrams.
@paulmcwhorter
@paulmcwhorter 10 ай бұрын
Thanks! Hope to see more homework solutions from you soon.
@lorisrobots
@lorisrobots 10 ай бұрын
@@paulmcwhorter I am trying to catch up so may just make a video once we get to the full tilt-o-meter project. I didn't have any unique takes on any of the homework so far. If I do, I will share it. Thanks for all you do!
@pieretjo
@pieretjo 11 ай бұрын
excellent video thanks
@scottwait3585
@scottwait3585 Жыл бұрын
Thank you so much Paul!
@TheTechRancher
@TheTechRancher Жыл бұрын
You gave enough
@deniszawad
@deniszawad Жыл бұрын
Great solution
@justmc62
@justmc62 11 ай бұрын
Thank you Paul for all your work you put into these tutorials .. I have a question regarding the math .. I see the formula written to go from Radians to Degrees as "degrees = theta/2*pi * 360 but when you code it it's written " thetaDeg= theta/2/pi*360 .. what am I missing ? They don't appear to use the same computation... TY !
@chrisb7250
@chrisb7250 3 ай бұрын
I never thought to use the Z axis. I assumed I had to work with xAcel to find theta X. Silly mistake. I was using cos(1-xAcel/1) it would give an accurate reading from 0 to 90, but would give an error every time xAcel went below 0. I tried adding Abs() - for absolute value - but that didn't fix it. So I folded up like a cheap walmart lawn chair! haha
@stephenlightkep1621
@stephenlightkep1621 Жыл бұрын
Thanks Paul. Math rocks keep it coming! What type of critter was swimming in the river behind you?
@edSabio572
@edSabio572 Жыл бұрын
Thanks Paul! I was going to use libraries but thought better of it. Will try again with the math. By the way,🤔 someone was swimming in the background... But never came up (?)
@paulmcwhorter
@paulmcwhorter Жыл бұрын
Didnt notice that, but those guys are fishermen. Sometimes they go down to work on their nets. They stay under a really long time, and sometimes come up what seems like a half mile away. Incredible lung capacity.
@patrickfox-roberts7528
@patrickfox-roberts7528 Жыл бұрын
Thanks again
@kenblanch4178
@kenblanch4178 Жыл бұрын
Hi I am following this lesson and I get a tilt angle reading of aprox 19 deg sitting flat on the table is this a problem with my Accelerometer. ps. love your work
@paulmcwhorter
@paulmcwhorter Жыл бұрын
Check your program very carefully. It should be way more accurate than that. Very unusal for one of these components to be bad, so check your work carefully.
@hermanngeness679
@hermanngeness679 7 ай бұрын
I'm having the same problem. My MPU sitting on the table reads between 25 and 28 degrees. And its not even a static value. Did you manage to solve this?
@louisdirect
@louisdirect Жыл бұрын
Please keep up the math!
@charlotteswift
@charlotteswift Жыл бұрын
Here is my video for lesson 41 (very late due to thunder and lightning, floods, trees falling down, power cuts, no internet or telephone etc) : kzbin.info/www/bejne/aoe9doCVg9iKgq8
@paulmcwhorter
@paulmcwhorter Жыл бұрын
LEGEND!
@jamescullins2709
@jamescullins2709 10 ай бұрын
Teach us how to do the math,, best way I think
@philkelsall1207
@philkelsall1207 10 ай бұрын
25:07 I need to understand first principles of the maths (UK spelling) so can work things out in future projects.
@Bob-zg2zf
@Bob-zg2zf Жыл бұрын
@_technitium
@_technitium Жыл бұрын
@brucemilyko8549
@brucemilyko8549 11 ай бұрын
I thought I had a solution, but kept gettin math errors when the angle got to 90° for x & y or 0° for z
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Yes, if you are using atan, it will error at 90 degrees. So we have to treat that as a special case.
@peterkarlsson7801
@peterkarlsson7801 Жыл бұрын
My Z gives a maximum of 0.88 G instead of the expected ~1 G : - (
@briankelly4095
@briankelly4095 5 ай бұрын
It took me weeks to feel that I had a proper solution for lesson 42. Here's my homework for 41 & 42 combined. kzbin.info/www/bejne/aJ2VeGmmd8adms0 Thanks for all the work you put into these lessons Paul. Keep the math coming !
@paulmcwhorter
@paulmcwhorter 5 ай бұрын
LEGEND!
@PhysicsAssignmentHelp
@PhysicsAssignmentHelp Жыл бұрын
I think i did this homework last week... Positive pitching raises the nose and lowers the tail of aircraft, and positive rolling raises the left wing and lowers the right wing. I'm sharing it again kzbin.info/www/bejne/j5jbnqmQmrKnr80
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 109 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,1 МЛН
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
Raspberry Pi Pico W Simple Web Server C Tutorial - HTTP Server with SSI & CGI
19:46
WAY faster than a Raspberry Pi-but is it enough?
17:26
Jeff Geerling
Рет қаралды 684 М.
Detailed MPU6050 Tutorial
55:34
Maker's Wharf
Рет қаралды 41 М.
Raspberry Pi Pico W: WiFi  Controlled Robot
17:56
ExplainingComputers
Рет қаралды 93 М.
How on Earth does ^.?$|^(..+?)\1+$ produce primes?
18:37
Stand-up Maths
Рет қаралды 375 М.
15 | Combine a gyroscope and accelerometer to measure angles - precisely
9:49
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 109 МЛН