{"id":3607,"date":"2025-04-21T05:00:13","date_gmt":"2025-04-21T05:00:13","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=3607"},"modified":"2025-06-10T12:01:54","modified_gmt":"2025-06-10T12:01:54","slug":"thermistors-generating-the-splat-code","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/","title":{"rendered":"Thermistors: Generating the SPLat code"},"content":{"rendered":"\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><tbody><tr><td>In January 2012 we introduced the&nbsp;<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/hash-commands-and-functions\/thermistor-hash-command\/\">Thermistor hash command<\/a>, which generates the code. Let SPLat\/PC do all the hard work for you!<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Coding the SPLat program to make the conversion is easy &#8230; we&#8217;ve done it for you. The following is the conversion code, with a particular set of polynomial coefficients. What we have done is copy the whole equation as a comment, removed spaces between +\/- signs and the numbers, and then manually copied and pasted the coefficients into the code. One floating point location (4-bytes of storage) is required to hold the intermediate and final result.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">;y = -1.124166E-10x5 +1.014140E-07x4 -3.985487E-05x3 <br>;    +8.462339E-03x2 -1.219136E+00x +1.133853E+02<br>;Come here with a raw analog input value in <a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o3808\">X<\/a><br>      Float<br>      fStore       Temperature<br>      fLoadQ       -1.124166E-10      ;&lt;&lt; X^5 coefficient<br>      fMul<br>      fLoadQ       +1.014140E-07      ;&lt;&lt; X^4 coefficient<br>      fAdd<br>      fRecallQ     Temperature<br>      fMul<br>      fLoadQ       -3.985487E-05      ;&lt;&lt; X^3 coefficient<br>      fAdd<br>      fRecallQ     Temperature<br>      fMul<br>      fLoadQ       +8.462339E-03      ;&lt;&lt; X^2 coefficient<br>      fAdd<br>      fRecallQ     Temperature<br>      fMul<br>      fLoadQ       -1.219136E+00      ;&lt;&lt; X^1 coefficient<br>      fAdd<br>      fRecallQ     Temperature<br>      fMul<br>      fLoadQ       +1.133853E+02      ;&lt;&lt; X^0 coefficient<br>      fAdd<br>      fStore       Temperature        ;Final result<\/pre>\n\n\n\n<p>The only other thing you need to do is to ensure that the Vfeed voltage is initialized, if you are using a programmed voltage. The spreadsheet gives you the value to output to the analog output port in the case of&nbsp;<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o364\">MMi99<\/a>&nbsp;or SL99 (the AnOut value in the pink cell). For OEM36 you would always put out 255.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In January 2012 we introduced the&nbsp;Thermistor hash command, which generates the code. Let SPLat\/PC do all the hard work for you! Coding the SPLat program&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3598,"menu_order":8,"template":"","class_list":["post-3607","spl_knowledgebase","type-spl_knowledgebase","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Thermistors: Generating the SPLat code - SPLat Controls<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Thermistors: Generating the SPLat code - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"In January 2012 we introduced the&nbsp;Thermistor hash command, which generates the code. Let SPLat\/PC do all the hard work for you! Coding the SPLat program...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T12:01:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/\",\"name\":\"Thermistors: Generating the SPLat code - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-04-21T05:00:13+00:00\",\"dateModified\":\"2025-06-10T12:01:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials, application notes and white papers\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tutorial: Thermistor temperature measurement\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Thermistors: Using the supplied spreadsheets\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Thermistors: Generating the SPLat code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"name\":\"SPLat Controls\",\"description\":\"OEM Embedded Machine Controllers\",\"publisher\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\",\"name\":\"SPLat Controls\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"caption\":\"SPLat Controls\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Thermistors: Generating the SPLat code - SPLat Controls","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Thermistors: Generating the SPLat code - SPLat Controls","og_description":"In January 2012 we introduced the&nbsp;Thermistor hash command, which generates the code. Let SPLat\/PC do all the hard work for you! Coding the SPLat program...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/","og_site_name":"SPLat Controls","article_modified_time":"2025-06-10T12:01:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/","name":"Thermistors: Generating the SPLat code - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-04-21T05:00:13+00:00","dateModified":"2025-06-10T12:01:54+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/thermistors-generating-the-splat-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Tutorials, application notes and white papers","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/"},{"@type":"ListItem","position":3,"name":"Tutorial: Thermistor temperature measurement","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/"},{"@type":"ListItem","position":4,"name":"Thermistors: Using the supplied spreadsheets","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/tutorial-thermistor-temperature-measurement\/thermistors-using-the-supplied-spreadsheets\/"},{"@type":"ListItem","position":5,"name":"Thermistors: Generating the SPLat code"}]},{"@type":"WebSite","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","name":"SPLat Controls","description":"OEM Embedded Machine Controllers","publisher":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization","name":"SPLat Controls","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","caption":"SPLat Controls"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/3607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase"}],"about":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/types\/spl_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/users\/1"}],"up":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/3598"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=3607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}