{"id":232,"date":"2015-12-26T19:19:29","date_gmt":"2015-12-26T19:19:29","guid":{"rendered":"http:\/\/jb0.de\/?p=232"},"modified":"2017-09-28T06:16:59","modified_gmt":"2017-09-28T06:16:59","slug":"project-mpi3-display-additional-data","status":"publish","type":"post","link":"https:\/\/jb0.de\/?p=232","title":{"rendered":"Project MPi3 &#8211; Display additional Data"},"content":{"rendered":"<p>Previous:\u00a0<a href=\"http:\/\/jb0.de\/?p=227\">Fully working prototyle<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>With a controller connected to my Vehicles CAN-bus, I don&#8217;t want to limit the use of it to song-title and music controls. So I started to look for some more interesting values to get from the bus.<br \/>\nSadly the &#8220;MS-CAN&#8221; (entertainment bus), which I am connected to cause of the info display, doesn&#8217;t allow communication to the ECU (also,\u00a0this factprevents me from messing with the engine or other critical components).<\/p>\n<p>The components connected to the bus do have some interresting informations and GM built a diagnostic protocol that lets you ask the controller for the actual values. This leads to the folling data:<\/p>\n<pre><strong>248 # 06 AA 01 01 07 10 11<\/strong> - Ask the A\/C controller (0x0248) for measuringblocks 01, 07, 10 and 11\r\nAnswer:\r\n<strong>548 # 01 03 A5 00 00 01 9C 00<\/strong> - 01: 0x03A5: Solar sensor: 4.665V - 0x019C: Indoor temp sensor: 2.06V\r\n<strong>5<\/strong><strong>48 # 07 00 90 04 3D FE 70 00<\/strong> - 07: 0x90: Voltage: 14.4V\r\n<strong>5<\/strong><strong>48 # 10 00 91 02 B2 03 1E 96<\/strong> - 10: 0x0091: Out-temp: 14.5\u00b0C - 0x02B2: Engine temp: 69.0\u00b0C\r\n<strong>5<\/strong><strong>48 # 11 08 ED 00 30 01 FE 23<\/strong> - 11: 0x08ED: RPM: 2285 - 0x30: Speed: 48 km\/h - 0x23: LED: 35%<\/pre>\n<p>The described values are only the ones that I already figured out.<\/p>\n<p>My software now listens for this data\u00a0on the bus and writes the values on the display.<\/p>\n<p><div id=\"wpbgallery_container\"><ul id=\"wpbgallery\" class=\"clearfix\"><li><a href=\"https:\/\/jb0.de\/wp-content\/uploads\/2016\/01\/IMG_20150927_1236471.jpg\" title=\"IMG_20150927_123647\" data-gallery=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jb0.de\/wp-content\/uploads\/2016\/01\/IMG_20150927_1236471-150x150.jpg\" width=\"150\" height=\"150\" alt=\"IMG_20150927_123647\" \/><\/a><\/li><\/ul><\/div><div id=\"blueimp-gallery\" class=\"blueimp-gallery\" data-useBootstrapModal=\"1\" data-fullScreen=\"0\">\r\n            <div class=\"slides\"><\/div>\r\n            <h3 class=\"title\"><\/h3><a class=\"prev\">&#xffe9;<\/a>\r\n        <a class=\"next\">&#xffeb;<\/a>\r\n        <a class=\"close\">&#120;<\/a>\r\n        <a class=\"play-pause\"><\/a>\r\n        <ol class=\"indicator\"><\/ol>\r\n        <div class=\"modal fade\">\r\n            <div class=\"modal-dialog\">\r\n                <div class=\"modal-content\">\r\n                    <div class=\"modal-header\">\r\n                        <button type=\"button\" class=\"close\" aria-hidden=\"true\">&times;<\/button>\r\n                        <h4 class=\"modal-title\"><\/h4>\r\n                    <\/div>\r\n                    <div class=\"modal-body next\"><\/div>\r\n                    <div class=\"modal-footer\">\r\n                        <button type=\"button\" class=\"btn btn-default pull-left prev\">\r\n                            Previous\r\n                        <\/button>\r\n                        <button type=\"button\" class=\"btn btn-primary next\">\r\n                            Next\r\n                        <\/button>\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div><br \/>\nThe displaymode can be switched with the number keys on the headunit (which are also unused in aux mode)<\/p>\n<p>&nbsp;<\/p>\n<p>Next:\u00a0<a href=\"http:\/\/jb0.de\/?p=248\">New housing and published all souce code<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Previous:\u00a0Fully working prototyle &nbsp; With a controller connected to my Vehicles CAN-bus, I don&#8217;t want to limit the use of it to song-title and music controls. So I started to look for some more interesting values to get from the bus. Sadly the &#8220;MS-CAN&#8221; (entertainment bus), which I am connected to cause of the info [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":247,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,3],"tags":[],"class_list":["post-232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-can-bus","category-car-mediacenter"],"_links":{"self":[{"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jb0.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232"}],"version-history":[{"count":9,"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions\/267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jb0.de\/index.php?rest_route=\/wp\/v2\/media\/247"}],"wp:attachment":[{"href":"https:\/\/jb0.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jb0.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jb0.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}