{"id":78,"date":"2026-03-02T22:34:14","date_gmt":"2026-03-02T20:34:14","guid":{"rendered":"http:\/\/wordpress\/?p=78"},"modified":"2026-03-04T11:44:03","modified_gmt":"2026-03-04T09:44:03","slug":"fancy-hydro-static-fuel-gauge-for-a-motorcycle","status":"publish","type":"post","link":"https:\/\/rokas.me\/index.php\/2026\/03\/02\/fancy-hydro-static-fuel-gauge-for-a-motorcycle\/","title":{"rendered":"Fancy hydro-static fuel gauge for a motorcycle"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>2.8\u2033 LCD <a href=\"https:\/\/nextion.tech\/datasheets\/nx3224t028\/\" target=\"_blank\" rel=\"noreferrer noopener\">NX3224T028<\/a><\/li>\n\n\n\n<li>Arduino mega board<\/li>\n\n\n\n<li>5psi 1\/8npt pressure sensors with Delphi gt150 3 pin connectors<\/li>\n\n\n\n<li>RTC ds3231<\/li>\n\n\n\n<li>Temperature indicator, source from DS3231<\/li>\n\n\n\n<li>Die-cast aluminum enclosure <a href=\"https:\/\/www.hammfg.com\/part\/1550D\" target=\"_blank\" rel=\"noreferrer noopener\">Hammond 1550D<\/a> with 3D printed lid<\/li>\n\n\n\n<li>Weipu SP13 connectors<\/li>\n\n\n\n<li>Screen sealed in with print on transparent labels <a href=\"https:\/\/www.apli.com\/en\/product\/01225\" target=\"_blank\" rel=\"noreferrer noopener\">Apli 01225<\/a> (gloss would be better)<\/li>\n\n\n\n<li>Bridge rectifier with a low impedance cap connected to LM2596 DC DC buck converter <\/li>\n\n\n\n<li>Dual sensors one for fuel the other for 2 stroke oil<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-video\"><video controls preload=\"auto\" src=\"https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152210399.mp4\"><\/video><\/figure>\n\n\n\n<p>Another fun little project to solve a real problem. I have an old motorcycle TDR125, that hasn&#8217;t got a fuel gauge and it&#8217;s a 2 stroke so any random fuel isn&#8217;t suitable it needs oil mixed in there as well. So it was asking for some modernization &#8211; digital fuel gauge based on hydro-static pressure. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Given<\/li>\n\n\n\n<li>Height of fuel tank 60cm<\/li>\n\n\n\n<li>Density of fuel 765kg\/m3<\/li>\n<\/ul>\n\n\n\n<p>We can calculate max pressure at the bottom of the tank using this formula:<\/p>\n\n\n\n<div class=\"wp-block-math\"><math display=\"block\"><semantics><mrow><mi>P<\/mi><mo>=<\/mo><mi>\u03c1<\/mi><mi>g<\/mi><mi>h<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">P=\\rho gh<\/annotation><\/semantics><\/math><\/div>\n\n\n\n<div class=\"wp-block-math\"><math display=\"block\"><semantics><mrow><mn>765<\/mn><mo>\u2217<\/mo><mn>9.81<\/mn><mo>\u2217<\/mo><mn>0.6<\/mn><mo>=<\/mo><mn>4502,79<\/mn><mi>P<\/mi><mi>a<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">765*9.81*0.6 = 4502,79Pa\n<\/annotation><\/semantics><\/math><\/div>\n\n\n\n<div class=\"wp-block-math\"><math display=\"block\"><semantics><mrow><mfrac><mn>4502.79<\/mn><mn>100000<\/mn><\/mfrac><mo>\u2217<\/mo><mn>14.5<\/mn><mo>=<\/mo><mn>0.65<\/mn><mi>P<\/mi><mi>s<\/mi><mi>i<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">\\frac{4502.79}{ 100000}*14.5 = 0.65Psi<\/annotation><\/semantics><\/math><\/div>\n\n\n\n<p>So now we know what maximum pressure our sensor would have to have. After quite a bit of searching I found only 5Psi sensor cheap enough to be used here &lt;20eur, I did find more sensitive sensors but they were either not compatible with fuel or very expensive. So settled on <a href=\"https:\/\/www.aliexpress.com\/w\/wholesale-5psi-1%252F8npt-0.5%2525252d4.5v.html?spm=a2g0o.detail.search.0\" target=\"_blank\" rel=\"noreferrer noopener\">these<\/a>.<\/p>\n\n\n\n<p>But having a sensor that is almost 10 times less sensitive than we would like and a 10bit ADC we may hit another problem, that our whole range will be only around a ~100 counts on the ADC<\/p>\n\n\n\n<div class=\"wp-block-math\"><math display=\"block\"><semantics><mrow><mfrac><mrow><mn>0.65<\/mn><mi>p<\/mi><mi>s<\/mi><mi>i<\/mi><\/mrow><mrow><mn>5<\/mn><mi>p<\/mi><mi>s<\/mi><mi>i<\/mi><\/mrow><\/mfrac><mo>\u2217<\/mo><mfrac><mrow><mn>1024<\/mn><mo>\u2217<\/mo><mo form=\"prefix\" stretchy=\"false\">(<\/mo><mn>4.5<\/mn><mo>\u2212<\/mo><mn>0.5<\/mn><mo form=\"postfix\" stretchy=\"false\">)<\/mo><mi>V<\/mi><\/mrow><mrow><mn>5<\/mn><mi>V<\/mi><\/mrow><\/mfrac><mo>=<\/mo><mn>106.5<\/mn><\/mrow><annotation encoding=\"application\/x-tex\">\\frac{0.65psi}{5psi}*\\frac{1024*(4.5-0.5)V}{5V} = 106 .5<\/annotation><\/semantics><\/math><\/div>\n\n\n\n<p>But we go ahead and continue, if it&#8217;s not enough we can always use one of <a href=\"https:\/\/www.aliexpress.com\/w\/wholesale-ADS1115.html?spm=a2g0o.detail.search.0\" target=\"_blank\" rel=\"noreferrer noopener\">these<\/a> or do some messing about with voltage references of the ADC. We can make a reading with the full 5V voltage reference to check if the sensor is in correct operating range 0.5-4.5V to check for broken or shorted cables or broken sensors, and then switch to the internal 1.1V or 2.56V voltage reference to make the actual measurement.<\/p>\n\n\n\n<div class=\"wp-block-math\"><math display=\"block\"><semantics><mrow><mfrac><mrow><mn>0.65<\/mn><mo>\u2217<\/mo><mn>4<\/mn><\/mrow><mn>5<\/mn><\/mfrac><mo>+<\/mo><mn>0.5<\/mn><mi>V<\/mi><mo>=<\/mo><mn>1.02<\/mn><mi>V<\/mi><\/mrow><annotation encoding=\"application\/x-tex\">\\frac{0.65*4}{5}+0.5V = 1.02V<\/annotation><\/semantics><\/math><\/div>\n\n\n\n<p>So using the 1.1V Vref could allow us to get back ~50% instead of ~10% of our 10bit ADC resolution.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<p>Well after writing the last sentence did the Vref trick and it works quite well. 5 times increased resolution is quite nice, because it allows me to make filtering even more aggressive. <\/p>\n\n\n\n<p>The only real problem is with the screen, it&#8217;s rather dim 180nits however there is a newer version of the screen and it&#8217;s a little brighter <a href=\"https:\/\/nextion.tech\/datasheets\/nx3224f028\/#\" target=\"_blank\" rel=\"noreferrer noopener\">NX3224F028<\/a>. What makes matters worse is that the screen has no &#8216;first party&#8217; way of being mounted and sealed, because it being a resistive touchscreen it needs to physically flex to function. This forces me to make the waterproofing layer flexible, durable, UV resistant but to make it look reasonably good I need it to be transparent in the center but have a nice black border to hide the ribbon cable and other uglier parts of the screen. This is rather difficult when you&#8217;re making one off thing and don&#8217;t want to custom order a very fancy sticker. Result is not very good due to my printers inability to print deep blacks and the line in the middle is due to the cut in backing paper of the label. The border is still visible because the display itself is no fully attached to the carrier PCB, so it isn&#8217;t flush all the way around the perimeter.<\/p>\n\n\n\n<p>Yet another mistake is using a matte label, I had to clear coat it because it would scatter the already small amount of light leaving the display and make it even dimmer, yet make external light sources scatter off the screen into your eyes no matter the angle.<\/p>\n\n\n\n<p>One of my sensors came with an interesting defect, it has an air leak in between the pins ( I assume) because it measures negative pressure for a good 10 minutes after plugging in a correctly sealed connector, it doesn&#8217;t do that with at least one seal removed from the connector.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a1cb4a924276&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a1cb4a924276\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1444\" height=\"2560\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/wordpress\/wp-content\/uploads\/2026\/03\/20260303_004249687-scaled.jpg\" alt=\"\" class=\"wp-image-87\" srcset=\"https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004249687-scaled.jpg 1444w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004249687-169x300.jpg 169w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004249687-578x1024.jpg 578w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004249687-768x1362.jpg 768w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004249687-866x1536.jpg 866w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004249687-1155x2048.jpg 1155w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Red piece is to prevent jacks from rotating when insert and tightening the plugs<\/figcaption><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a1cb4a924991&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a1cb4a924991\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1444\" height=\"2560\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/wordpress\/wp-content\/uploads\/2026\/03\/20260302_152848022-scaled.jpg\" alt=\"\" class=\"wp-image-73\" srcset=\"https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152848022-scaled.jpg 1444w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152848022-169x300.jpg 169w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152848022-578x1024.jpg 578w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152848022-768x1362.jpg 768w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152848022-866x1536.jpg 866w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_152848022-1155x2048.jpg 1155w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a1cb4a924f4e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a1cb4a924f4e\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1444\" height=\"2560\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/wordpress\/wp-content\/uploads\/2026\/03\/20260302_154550257-scaled.jpg\" alt=\"\" class=\"wp-image-82\" srcset=\"https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_154550257-scaled.jpg 1444w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_154550257-169x300.jpg 169w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_154550257-578x1024.jpg 578w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_154550257-768x1362.jpg 768w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_154550257-866x1536.jpg 866w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_154550257-1155x2048.jpg 1155w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a1cb4a9252f5&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a1cb4a9252f5\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1444\" height=\"2560\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/wordpress\/wp-content\/uploads\/2026\/03\/20260303_004613331-scaled.jpg\" alt=\"\" class=\"wp-image-88\" srcset=\"https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004613331-scaled.jpg 1444w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004613331-169x300.jpg 169w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004613331-578x1024.jpg 578w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004613331-768x1362.jpg 768w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004613331-866x1536.jpg 866w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260303_004613331-1155x2048.jpg 1155w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a1cb4a9257aa&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a1cb4a9257aa\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1444\" height=\"2560\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"http:\/\/wordpress\/wp-content\/uploads\/2026\/03\/20260302_155448845-scaled.jpg\" alt=\"\" class=\"wp-image-80\" srcset=\"https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_155448845-scaled.jpg 1444w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_155448845-169x300.jpg 169w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_155448845-578x1024.jpg 578w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_155448845-768x1362.jpg 768w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_155448845-866x1536.jpg 866w, https:\/\/rokas.me\/wp-content\/uploads\/2026\/03\/20260302_155448845-1155x2048.jpg 1155w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another fun little project to solve a real problem. I have an old motorcycle TDR125, that hasn&#8217;t got a fuel gauge and it&#8217;s a 2 stroke so any random fuel isn&#8217;t suitable it needs oil mixed in there as well. So it was asking for some modernization &#8211; digital fuel gauge based on hydro-static pressure. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":120,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":11,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions\/110"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/media\/120"}],"wp:attachment":[{"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rokas.me\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}