{"id":101,"date":"2014-03-10T23:44:32","date_gmt":"2014-03-10T23:44:32","guid":{"rendered":"http:\/\/int03.co.uk\/blog\/?p=101"},"modified":"2019-02-11T21:47:31","modified_gmt":"2019-02-11T21:47:31","slug":"replacing-the-gaggia-classic-thermostat-with-a-ds18b20","status":"publish","type":"post","link":"https:\/\/int03.co.uk\/blog\/2014\/03\/10\/replacing-the-gaggia-classic-thermostat-with-a-ds18b20\/","title":{"rendered":"Replacing the Gaggia Classic Thermostat with a DS18B20"},"content":{"rendered":"<p>For my <a title=\"Project Coffee: Es(pi)resso Machine\" href=\"http:\/\/int03.co.uk\/blog\/project-coffee-espiresso-machine\/\">Espiresso Machine<\/a>, I needed to replace the stock thermostat on the Gaggia Classic with a DS18B20 (Digital Thermometer). My first attempt was pretty basic, and consisted of smearing the DS18B20 with thermal paste and using a cable tie to tether it the side of the boiler (just beneath the steam thermostat). This actually worked well in practice, but I wanted to come up with a better mounting technique.<\/p>\n<p>Someone on the <a title=\"Gaggia Users Group\" href=\"http:\/\/www.gaggiausersgroup.com\" target=\"_blank\">Gaggia Users Group<\/a> forum <a title=\"Re: Raspberry pi PID\" href=\"http:\/\/www.gaggiausersgroup.com\/index.php\/topic,335.msg3354.html#msg3354\" target=\"_blank\">suggested<\/a> modifying this&nbsp;<a title=\"M4x0.7 Circuit Board Standoff\" href=\"http:\/\/www.mscdirect.com\/product\/75251231\" target=\"_blank\">Circuit Board Standoff<\/a>, which would have been perfect but unfortunately all the UK stock seem to be 7mm AF instead of 10mm AF, which wouldn&#8217;t be large enough to drill out.<\/p>\n<p>Instead, I decided to make a mounting block for the sensor. I used some 10x10mm square section Aluminium bar stock, cut it down to 25mm length, drilled and countersunk a 4.5mm hole through the bar at 5mm from one end. This is designed to mount on the side of the boiler in place of the existing coffee thermostat, using an M4x0.7mm brass screw. There&#8217;s another&nbsp;perpendicular 6mm hole along the length of the bar, to accomodate the DS18B20 sensor (this is the waterproof version, which is encapsulated in a stainless steel tube).<\/p>\n<p>The picture below shows the original thermostat (left), and the new mounting block, M4 brass screw and encapsulated DS18B20:<\/p>\n<p><a href=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_vs_tstat.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-102\" alt=\"ds18b20_mount_vs_tstat\" src=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_vs_tstat.jpg\" width=\"500\" height=\"318\" srcset=\"https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_vs_tstat.jpg 500w, https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_vs_tstat-300x190.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a>The 6mm hole intersects the 4.5mm hole, so that it can be filled with thermally conductive paste to ensure a good contact with the temperature sensor.&nbsp;The picture below shows the sensor and brass screw inserted into the block. The screw has been cut down to leave about 6mm of thread exposed, to match the existing thermostat.<\/p>\n<p><a href=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_inserted.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-103\" alt=\"ds18b20_mount_inserted\" src=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_inserted.jpg\" width=\"400\" height=\"313\" srcset=\"https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_inserted.jpg 400w, https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_inserted-300x234.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>The final picture shows the sensor block mounted on the side of the boiler in place of the existing coffee thermostat (taking care not to over-tighten).<\/p>\n<p><a href=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_in_situ.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-104\" alt=\"ds18b20_mount_in_situ\" src=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_in_situ.jpg\" width=\"500\" height=\"383\" srcset=\"https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_in_situ.jpg 500w, https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2014\/03\/ds18b20_mount_in_situ-300x229.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>It was a challenge to tighten the screw in situ! Ideally I would have preferred an aluminium socket cap screw, but decided to use the materials to hand, rather than wait on another delivery \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For my Espiresso Machine, I needed to replace the stock thermostat on the Gaggia Classic with a DS18B20 (Digital Thermometer). My first attempt was pretty basic, and consisted of smearing the DS18B20 with thermal paste and using a cable tie to tether it the side of the boiler (just beneath the steam thermostat). This actually &hellip; <a href=\"https:\/\/int03.co.uk\/blog\/2014\/03\/10\/replacing-the-gaggia-classic-thermostat-with-a-ds18b20\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Replacing the Gaggia Classic Thermostat with a DS18B20<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/101"}],"collection":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":4,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":786,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions\/786"}],"wp:attachment":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}