{"id":2534,"date":"2025-03-26T22:39:00","date_gmt":"2025-03-26T22:39:00","guid":{"rendered":"https:\/\/www.uselesspickles.com\/portfolio\/?page_id=2534"},"modified":"2025-04-01T00:17:34","modified_gmt":"2025-04-01T00:17:34","slug":"motorcycle-fuel-map-switching","status":"publish","type":"page","link":"https:\/\/www.uselesspickles.com\/portfolio\/motorcycle-fuel-map-switching\/","title":{"rendered":"Motorcycle Fuel Map Switching"},"content":{"rendered":"\n<div class=\"wp-block-uagb-container uagb-block-4bfaa38a alignfull uagb-is-root-container\"><div class=\"uagb-container-inner-blocks-wrap\">\n<h1 class=\"wp-block-heading has-ast-global-color-5-color has-text-color has-link-color wp-elements-08e3122a3703e65b38a27b3547ac5398\">Motorcycle Fuel Map Switching<\/h1>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Why would I want to switch fuel maps?<\/h2>\n\n\n\n<p>I have an aftermarket fuel tuning device on my motorcycle that can store two different fuel maps, and can switch between fuel maps on demand via an external input (e.g., a button). I wanted to calibrate one fuel map for pure performance and smoothness, and the other fuel map for fuel economy. This gives me the &#8220;best of both worlds&#8221;. I can use the &#8220;economy&#8221; map whenever I&#8217;m cruising fairly steadily, then with the push of a button, have maximum power and smoothness whenever I want\/need it. But pushing a button is annoying, so I would tend to leave it in the &#8220;power&#8221; mode most of the time for guaranteed smoothness around corners and other city driving situations. I would only switch to &#8220;economy&#8221; mode when I was on the freeway for a long time. If only I could automate this&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-1024x768.jpg\" alt=\"\" class=\"wp-image-2426\" srcset=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-1024x768.jpg 1024w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-300x225.jpg 300w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-768x576.jpg 768w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-1536x1152.jpg 1536w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">My 2009 Yamaha FJR1300 motorcycle<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Automation is better than a manual button<\/h2>\n\n\n\n<p>Why press a button if I could be lazy and automate the decision to switch fuel maps? An automated process isn&#8217;t annoyed by pressing a button, so it would switch me into &#8220;economy&#8221; mode more often to help me save money on gas! So I developed a simple electronic device with a microcontroller that monitors the throttle position and engine speed, and automatically switches between fuel maps. If the throttle position and engine speed are fairly steady, then I&#8217;m &#8220;cruising&#8221; and the &#8220;economy&#8221; fuel map should be used. Otherwise, the &#8220;power&#8221; fuel map should be used to ensure I have smooth, predictable, and maximum power delivery immediately if needed.<\/p>\n\n\n\n<p>Here&#8217;s what the custom electronics look like. It&#8217;s just a microcontroller and a few components to power the microcontroller from the motorcycle&#8217;s 12V electrical system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher.jpg\" alt=\"\" class=\"wp-image-2536\" srcset=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher.jpg 800w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-300x225.jpg 300w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-768x576.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Fuel map switcher<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-inside.jpg\" alt=\"\" class=\"wp-image-2535\" srcset=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-inside.jpg 800w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-inside-300x225.jpg 300w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-inside-768x576.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Inside the fuel map switcher<\/figcaption><\/figure>\n\n\n\n<p>There&#8217;s a lot of details involved, like smoothing the input signals, setting reasonable thresholds for rates of change that mark the transition between &#8220;steady&#8221; and &#8220;not steady&#8221;, and applying a &#8220;cooldown timer&#8221; to prevent switching back to &#8220;economy&#8221; mode if inputs are only very briefly &#8220;steady&#8221;. I generally calibrated it to only use the &#8220;economy&#8221; mode when I&#8217;m really sure that I&#8217;m cruising fairly steadily.<\/p>\n\n\n\n<p>Here&#8217;s an example of a data log showing vehicle speed, engine speed (RPM), throttle position (TP), and the fuel map selection input (DigIn). The top most line in the graph is high when the &#8220;power&#8221; fuel map is selected, and low when the &#8220;economy&#8221; fuel map is selected.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-data-log.webp\" alt=\"\" class=\"wp-image-2537\" srcset=\"https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-data-log.webp 800w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-data-log-300x225.webp 300w, https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/Motorcycle-fuel-map-switcher-data-log-768x576.webp 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Read More<\/h2>\n\n\n\n<p>I documented my progress and some of the complexities\/complications I encountered along the way on the <a href=\"https:\/\/www.fjrforum.com\/threads\/fuel-economy-and-smoothness-without-compromise.137994\/\" title=\"\">FJRForum motorcycle forum<\/a>. You&#8217;ll also find links to other forum threads about the fuel tuning device that I&#8217;m using.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Motorcycle Fuel Map Switching Why would I want to switch fuel maps? I have an aftermarket fuel tuning device on my motorcycle that can store two different fuel maps, and can switch between fuel maps on demand via an external input (e.g., a button). I wanted to calibrate one fuel map for pure performance and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2426,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-2534","page","type-page","status-publish","has-post-thumbnail","hentry"],"aioseo_notices":[],"uagb_featured_image_src":{"full":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-scaled.jpg",2560,1920,false],"thumbnail":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-150x150.jpg",150,150,true],"medium":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-300x225.jpg",300,225,true],"medium_large":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-768x576.jpg",768,576,true],"large":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-1024x768.jpg",1024,768,true],"1536x1536":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-1536x1152.jpg",1536,1152,true],"2048x2048":["https:\/\/www.uselesspickles.com\/portfolio\/wp-content\/uploads\/2025\/03\/IMG_3400-2048x1536.jpg",2048,1536,true]},"uagb_author_info":{"display_name":"UselessPickles","author_link":"https:\/\/www.uselesspickles.com\/portfolio\/author\/uselesspickles_hc12f0\/"},"uagb_comment_info":0,"uagb_excerpt":"Motorcycle Fuel Map Switching Why would I want to switch fuel maps? I have an aftermarket fuel tuning device on my motorcycle that can store two different fuel maps, and can switch between fuel maps on demand via an external input (e.g., a button). I wanted to calibrate one fuel map for pure performance and&hellip;","_links":{"self":[{"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/pages\/2534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/comments?post=2534"}],"version-history":[{"count":6,"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/pages\/2534\/revisions"}],"predecessor-version":[{"id":2633,"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/pages\/2534\/revisions\/2633"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/media\/2426"}],"wp:attachment":[{"href":"https:\/\/www.uselesspickles.com\/portfolio\/wp-json\/wp\/v2\/media?parent=2534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}