{"id":100,"date":"2026-10-26T08:40:18","date_gmt":"2026-10-26T16:40:18","guid":{"rendered":"https:\/\/www.demaria.net\/?p=100"},"modified":"2026-10-26T15:01:05","modified_gmt":"2026-10-26T23:01:05","slug":"omg-my-phone-felt-my-trucks-vibration-correlating-iphone-motion-sensors-with-engine-logs","status":"publish","type":"post","link":"https:\/\/www.demaria.net\/?p=100","title":{"rendered":"OMG, My Phone Felt My Truck&#8217;s Vibration: Correlating iPhone Motion Sensors with Engine Logs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>OMG, this is so cool!!!!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Update, Oct 26:<\/strong> it was the tire balance, and the data proved it. <a href=\"#update\">Jump to the before and after.<\/a><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On my drive across the Rockies, my truck started vibrating weirdly at Montana speeds. A deep harmonic, the kind you feel in the seat. I didn&#8217;t like it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Worse, it came and went with no obvious trigger. Same road, same speed, and it would build, fade away, and come right back.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Was it something I was already logging?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I was already logging 53 engine sensors with OBD Fusion on my iPhone (<a href=\"https:\/\/www.demaria.net\/?p=94\">here&#8217;s how I set that up<\/a>). So my first thought was: is this something mechanical I&#8217;m already capturing? Turbo flutter? The transmission? Something in the drivetrain?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then I had a second thought. My iPhone has an accelerometer and a gyro. Could the phone <em>feel<\/em> the vibration too? And if it could, could I line that up against the engine logs on the same clock and see what the vibration moves with?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OBD Fusion can log the phone&#8217;s own motion sensors right alongside the engine data, in the same file. So I turned that on, mounted the phone solidly in the dash mount, and drove. Four hours of data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">And lo and behold&#8230; it DID!!!!<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-chart.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1320\" height=\"880\" src=\"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-chart.png\" alt=\"Chart of phone-measured cab vibration and vehicle speed. Vibration swells and fades in waves at 80 mph and goes quiet at 65 to 70 mph. A bar chart below shows the same engine rpm is smooth in 5th gear but shakes in 6th gear at 80 mph.\" class=\"wp-image-99\" srcset=\"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-chart.png 1320w, https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-chart-300x200.png 300w, https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-chart-1024x683.png 1024w\" sizes=\"auto, (max-width: 1320px) 100vw, 1320px\" \/><\/a><figcaption class=\"wp-element-caption\">Top: cab vibration measured by the iPhone (orange) against speed (blue). Bottom: same engine rpm, different road speed. The shake follows the wheels, not the engine.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The phone only samples motion 5 times a second. That&#8217;s way too slow to measure the vibration frequency directly, and I honestly didn&#8217;t expect much. But it&#8217;s plenty to measure how hard the cab is shaking from moment to moment, and that was enough to crack it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What the data showed<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>It&#8217;s speed dependent.<\/strong> At 80 mph the shake swells and fades in waves, about once a minute. At 65 to 70 it goes quiet. Every time I went back to 80, it came back.<\/li>\n\n\n<li><strong>It&#8217;s NOT the turbo or the engine.<\/strong> At the same 2,000 to 2,200 rpm, 5th gear (about 65 mph) was smooth and 6th gear (about 80 mph) shook. Same engine speed, different road speed.<\/li>\n\n\n<li><strong>Throttle and load didn&#8217;t change it at all.<\/strong> That rules out the usual driveline-under-load suspects.<\/li>\n\n\n<li><strong>The waves are the giveaway.<\/strong> Two slightly out-of-balance wheels spinning at almost the same speed will line up, add together, then cancel out, over and over. That&#8217;s exactly the &#8220;comes and goes with no trigger&#8221; feeling.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">So the turbo is off the hook, and the next stop is a road-force balance, not a parts cannon.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The bigger lesson<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is the same thing I do in IT operations every day, and it&#8217;s so satisfying to see it work on a truck: when something is intermittent, don&#8217;t guess. Get every signal onto a common clock, line them up, and let the pattern tell you which system it belongs to. Sometimes the best sensor is the one already in your pocket.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to try this yourself, my <a href=\"https:\/\/www.demaria.net\/?p=94\">how-to for the OBD Fusion dashboards and logging<\/a> has the setup and downloadable files. In OBD Fusion, the motion sensors are in the data logging PID list alongside the engine PIDs; check the Accel, Rotation Rate, GPS Speed, and Altitude items.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"update\">Update: the balance fixed it!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I got the tires balanced the next day and logged the drive afterward with the phone in the same mount. The data says it all:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-before-after.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1430\" height=\"572\" src=\"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-before-after.png\" alt=\"Before and after chart. Before the tire balance, cab vibration at 80 mph swelled and faded in waves up to about 6 m\/s squared. After the balance, it stays flat around 1.5 to 2. Median vibration at 76 to 83 mph dropped from 3.5 to 1.7.\" class=\"wp-image-103\" srcset=\"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-before-after.png 1430w, https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-before-after-300x120.png 300w, https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-before-after-1024x410.png 1024w\" sizes=\"auto, (max-width: 1430px) 100vw, 1430px\" \/><\/a><figcaption class=\"wp-element-caption\">Same phone, same mount, highway speed. Orange: before the balance. Green: after. The waves are gone and the shake is cut in half.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>About 51% less shake at highway speed.<\/strong> Median vibration at 76 to 83 mph dropped from 3.5 to 1.7 m\/s\u00b2.<\/li>\n\n\n<li><strong>The waves are gone.<\/strong> Before, the shake built and faded about once a minute. Now it stays flat.<\/li>\n\n\n<li><strong>Even 65 to 70 mph got smoother,<\/strong> so the imbalance was adding vibration at lower speeds too.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">No parts cannon. No guessing. One balance job, confirmed by a phone sensor and a pile of log data. So satisfying!<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>My truck developed a weird vibration at highway speed that came and went with no trigger. I had my iPhone log its motion sensors alongside 53 engine sensors, and the data pointed straight at the wheels.<\/p>\n","protected":false},"author":1,"featured_media":99,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.demaria.net\/wp-content\/uploads\/2026\/10\/colorado-vibration-chart.png","_links":{"self":[{"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.demaria.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=100"}],"version-history":[{"count":3,"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/posts\/100\/revisions\/105"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.demaria.net\/index.php?rest_route=\/wp\/v2\/media\/99"}],"wp:attachment":[{"href":"https:\/\/www.demaria.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.demaria.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.demaria.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}