{"id":255,"date":"2011-01-26T00:25:16","date_gmt":"2011-01-26T08:25:16","guid":{"rendered":"http:\/\/www.roastgeek.com\/wordpress\/?p=255"},"modified":"2011-01-30T23:41:10","modified_gmt":"2011-01-31T07:41:10","slug":"im-not-dead-and-finally-having-spi-progress","status":"publish","type":"post","link":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/","title":{"rendered":"I&#8217;m not dead&#8230; And finally having SPI progress."},"content":{"rendered":"\r\n\t<!-- sfs forms added to the_content - adding as a comment so that it will not display, but will it fool spammers?\r\n\t<br>\r\n\t<br>\r\n\t<form action=\"https:\/\/www.roastgeek.com\/wordpress\/wp-comments-post.php\" method=\"post\" id=\"commentform1\">\r\n\t<p><input name=\"author\" id=\"author\" value=\"\" size=\"22\"  aria-required=\"true\" type=\"text\">\r\n\t<label for=\"author\"><small>Name (required)<\/small><\/label><\/p>\r\n\r\n\t<p><input name=\"email\" id=\"email\" value=\"\" size=\"22\"  aria-required=\"true\" type=\"text\">\r\n\t<label for=\"email\"><small>Mail (will not be published) (required)<\/small><\/label><\/p>\r\n\r\n\t<p><input name=\"url\" id=\"url\" value=\"\" size=\"22\" type=\"text\">\r\n\t<label for=\"url\"><small>Website<\/small><\/label><\/p>\r\n\t<p><textarea name=\"comment\" id=\"comment\" cols=\"58\" rows=\"10\" ><\/textarea><\/p>\r\n\r\n\t<p>\r\n\t<input name=\"comment_post_ID\" value=\"255\" id=\"comment_post_ID\" type=\"hidden\">\r\n\t<input name=\"comment_parent\" id=\"comment_parent\" value=\"0\" type=\"hidden\">\r\n\t<\/p>\r\n\r\n\t<p><input id=\"akismet_comment_nonce\" name=\"akismet_comment_nonce\" value=\"1f74737c40\" type=\"hidden\"><\/p>\r\n\t<\/form>\r\n\r\n\t<form id=\"setupform1\" method=\"post\" action=\"wp-signup.php\" >\r\n\r\n\t<input type=\"hidden\" name=\"stage\" value=\"validate-user-signup\"   \/>\r\n\t<p ><input id=\"akismet_comment_nonce\" name=\"akismet_comment_nonce\" value=\"1f74737c40\" type=\"hidden\"><\/p>\t\t\r\n\t<p>\r\n\t<input id=\"signupblog\" type=\"radio\" name=\"signup_for\" value=\"blog\"  checked='checked' \/>\r\n\t<label class=\"checkbox\" for=\"signupblog\">Gimme a site!<\/label>\r\n\t<br \/>\r\n\t<input id=\"signupuser\" type=\"radio\" name=\"signup_for\" value=\"user\"  \/>\r\n\t<label class=\"checkbox\" for=\"signupuser\">Just a username, please.<\/label>\r\n\t<\/p>\r\n\t<\/form>\r\n\r\n\t<form name=\"loginform1\" id=\"loginform1\" action=\"https:\/\/www.roastgeek.com\/wordpress\/wp-login.php\" method=\"post\">\r\n\t<p>\r\n\t<label for=\"user_login\">User Name<br \/>\r\n\t<input type=\"text\" name=\"log\"  value=\"\" size=\"20\"  \/><\/label>\r\n\t<\/p>\r\n\t<p>\r\n\t<label for=\"user_pass\">Password<br \/>\r\n\t<input type=\"password\" name=\"pwd\"  value=\"\" size=\"20\"  \/><\/label>\r\n\t<\/p>\r\n\t<p class=\"forgetmenot\"><label for=\"rememberme\"><input name=\"rememberme\" type=\"checkbox\" checked=\"checked\"  value=\"1f74737c40\"  \/>Remember Me<\/label><\/p>\r\n\t<p class=\"submit\">\r\n\t<input type=\"hidden\" name=\"testcookie\" value=\"1\" \/>\r\n\t<\/p>\r\n\t<input id=\"akismet_comment_nonce\" name=\"akismet_comment_nonce\" value=\"1f74737c40\" type=\"hidden\">\r\n\t<\/form>\r\n\r\n\r\n\r\n\t-->\r\n\t<p>So with all the holidays and other things going on I didnt get to spend much time working on the roaster. In addition due to the complications with the SPI not working all this time I wasn&#8217;t feeling very motivated. <\/p>\n<p>Last night after spending hours over many days reading blogs of people who regularly participate on Microchip&#8217;s forums I finally managed to get the MAX6675 to start transmitting actual temperature data to the PIC32. I&#8217;m not entirely sure why it works now but need to emphasize that it only works OUTSIDE my prototype roaster programming. In other words it is literally a single purpose program that reads a single temperature value from the MAX6675 chip. <\/p>\n<p>It seemed almost reliable by reporting similar temperatures most of the time for each reading for air temperatures and then goes up when I press the thermocouple against my hand and then drops significantly when I press it against a cold soda can. There was a rare spike to 120 plus degrees here and there but infrequently.  Otherwise the temperatures appear to be pretty close.<\/p>\n<p>When I return to my roaster program there appears to be something significantly wrong with the speed it communicates with a potential &#8220;shift&#8221; to the left. If I drop off several of the rightmost (0) bits the resulting numbers are what they are supposed to be with a random wrong bit mixed in. About 60% of the time the results are completely erroneous no matter what.  I&#8217;m pretty sure now that there is a setting somewhere affecting the communication speed that I&#8217;ve lost track of that is disrupting things.<\/p>\n<p>I&#8217;ve found that adding some longer delays around the CS changes seems to make the temperatures returned significantly more stable eliminating the 100 plus degree spikes and need to try them out in the roaster code too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So with all the holidays and other things going on I didnt get to spend much time working on the roaster. In addition due to the complications with the SPI not working all this time I wasn&#8217;t feeling very motivated. Last night after spending hours over many days reading blogs of people who regularly participate on Microchip&#8217;s forums I finally managed to get the MAX6675 to start transmitting actual temperature data to the PIC32. I&#8217;m not entirely sure why it works now but need to emphasize that it only works OUTSIDE my prototype roaster programming. In other words it is \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9,7,22,8,32,33],"tags":[26,59,129,60,4,27,14,29],"class_list":["post-255","post","type-post","status-publish","format-standard","hentry","category-electronics","category-general","category-pic32","category-roaster","category-sensors","category-temperature-sensors-electronics-roaster","tag-electronics-2","tag-max6675","tag-pic32","tag-spi","tag-sr500","tag-temperature","tag-testing","tag-thermocouple"],"wppr_data":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>I&#039;m not dead... And finally having SPI progress. - Roast Geek<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Steve S\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/\"},\"author\":{\"name\":\"Steve S\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/c2f0d5ff9658f24bcad79ef85aa194b6\"},\"headline\":\"I&#8217;m not dead&#8230; And finally having SPI progress.\",\"datePublished\":\"2011-01-26T08:25:16+00:00\",\"dateModified\":\"2011-01-31T07:41:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/\"},\"wordCount\":317,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#organization\"},\"keywords\":[\"electronics\",\"MAX6675\",\"PIC32\",\"spi\",\"sr500\",\"temperature\",\"testing\",\"thermocouple\"],\"articleSection\":[\"Electronics\",\"General\",\"PIC32\",\"Roaster\",\"Sensors\",\"Temperature\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/\",\"url\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/\",\"name\":\"I'm not dead... And finally having SPI progress. - Roast Geek\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#website\"},\"datePublished\":\"2011-01-26T08:25:16+00:00\",\"dateModified\":\"2011-01-31T07:41:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/2011\\\/01\\\/26\\\/im-not-dead-and-finally-having-spi-progress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"I&#8217;m not dead&#8230; And finally having SPI progress.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/\",\"name\":\"Roast Geek\",\"description\":\"Roasting Geekery - Coffee Roasting, Electronics, and Mechanical DIY\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#organization\",\"name\":\"RoastGeek\",\"url\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.roastgeek.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/03\\\/coffee_logo.png?fit=%2C&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.roastgeek.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/03\\\/coffee_logo.png?fit=%2C&ssl=1\",\"caption\":\"RoastGeek\"},\"image\":{\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoastGeek\\\/\",\"https:\\\/\\\/x.com\\\/RoastGeek\",\"https:\\\/\\\/www.instagram.com\\\/RoastGeek\\\/\",\"https:\\\/\\\/www.youtube.com\\\/RoastGeekTube\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.roastgeek.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/c2f0d5ff9658f24bcad79ef85aa194b6\",\"name\":\"Steve S\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/912e138474203e46e89840ff61730e06e2331382eb53044b22db89cb87ebe4c2?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/912e138474203e46e89840ff61730e06e2331382eb53044b22db89cb87ebe4c2?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/912e138474203e46e89840ff61730e06e2331382eb53044b22db89cb87ebe4c2?s=96&d=mm&r=pg\",\"caption\":\"Steve S\"},\"sameAs\":[\"http:\\\/\\\/www.roastgeek.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"I'm not dead... And finally having SPI progress. - Roast Geek","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/","twitter_misc":{"Written by":"Steve S","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/#article","isPartOf":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/"},"author":{"name":"Steve S","@id":"https:\/\/www.roastgeek.com\/wordpress\/#\/schema\/person\/c2f0d5ff9658f24bcad79ef85aa194b6"},"headline":"I&#8217;m not dead&#8230; And finally having SPI progress.","datePublished":"2011-01-26T08:25:16+00:00","dateModified":"2011-01-31T07:41:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/"},"wordCount":317,"commentCount":0,"publisher":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/#organization"},"keywords":["electronics","MAX6675","PIC32","spi","sr500","temperature","testing","thermocouple"],"articleSection":["Electronics","General","PIC32","Roaster","Sensors","Temperature"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/","url":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/","name":"I'm not dead... And finally having SPI progress. - Roast Geek","isPartOf":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/#website"},"datePublished":"2011-01-26T08:25:16+00:00","dateModified":"2011-01-31T07:41:10+00:00","breadcrumb":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.roastgeek.com\/wordpress\/2011\/01\/26\/im-not-dead-and-finally-having-spi-progress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.roastgeek.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"I&#8217;m not dead&#8230; And finally having SPI progress."}]},{"@type":"WebSite","@id":"https:\/\/www.roastgeek.com\/wordpress\/#website","url":"https:\/\/www.roastgeek.com\/wordpress\/","name":"Roast Geek","description":"Roasting Geekery - Coffee Roasting, Electronics, and Mechanical DIY","publisher":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.roastgeek.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.roastgeek.com\/wordpress\/#organization","name":"RoastGeek","url":"https:\/\/www.roastgeek.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.roastgeek.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.roastgeek.com\/wordpress\/wp-content\/uploads\/2012\/03\/coffee_logo.png?fit=%2C&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.roastgeek.com\/wordpress\/wp-content\/uploads\/2012\/03\/coffee_logo.png?fit=%2C&ssl=1","caption":"RoastGeek"},"image":{"@id":"https:\/\/www.roastgeek.com\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoastGeek\/","https:\/\/x.com\/RoastGeek","https:\/\/www.instagram.com\/RoastGeek\/","https:\/\/www.youtube.com\/RoastGeekTube\/"]},{"@type":"Person","@id":"https:\/\/www.roastgeek.com\/wordpress\/#\/schema\/person\/c2f0d5ff9658f24bcad79ef85aa194b6","name":"Steve S","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/912e138474203e46e89840ff61730e06e2331382eb53044b22db89cb87ebe4c2?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/912e138474203e46e89840ff61730e06e2331382eb53044b22db89cb87ebe4c2?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/912e138474203e46e89840ff61730e06e2331382eb53044b22db89cb87ebe4c2?s=96&d=mm&r=pg","caption":"Steve S"},"sameAs":["http:\/\/www.roastgeek.com"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1Rz8s-47","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/posts\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":8,"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/posts\/255\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/categories?post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.roastgeek.com\/wordpress\/wp-json\/wp\/v2\/tags?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}