{"id":14426,"date":"2016-09-28T10:00:41","date_gmt":"2016-09-28T17:00:41","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=14426"},"modified":"2021-06-16T13:52:42","modified_gmt":"2021-06-16T20:52:42","slug":"exploring-the-mpemba-effect","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/exploring-the-mpemba-effect\/","title":{"rendered":"Exploring the Mpemba Effect with LabVIEW and Pmods"},"content":{"rendered":"<p>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Mpemba_effect\">Mpemba Effect <\/a>is when hot water freezes faster than cold water. Typically this effect is only seen in unique conditions that are\u00a0difficult to duplicate. The Mpemba Effect is named after Erasto Mpemba, who\u00a0noticed it in his childhood while mixing ice cream.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14415\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Plastic_test-600x338.jpg\" alt=\"Plastic_test\" width=\"600\" height=\"338\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Plastic_test-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Plastic_test-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Plastic_test-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Plastic_test-800x450.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Plastic_test-1200x675-cropped.jpg 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>He later brought up this observation to his classmates and teacher and was ridiculed about it. Years later, Erasto asked a visiting professor Dr. Osborne about his earlier observations. Initially Dr. Osbourne was skeptical but after experimentation Dr. Osborne and Erasto Mpemba verified the effect. They co-published their results in 1969.<\/p>\n<p>We were very interested in this effect after discovering it and its history, and we wanted to see if we\u00a0could observe\u00a0the Mpemba Effect\u00a0in\u00a0Digilent\u2019s break room freezer under more common conditions. We had read a case study in which\u00a0100 mL of hot water\u00a0froze faster than 100 mL of cold water. They used DI water for the cold (25\u00b0 C) and tap water for the hot (100\u00b0 C). They also used cookie sheet-like containers. For the hot water, this allowed more particulates and surface area being directly effected by the freezer.<\/p>\n<p><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\">For our Mpemba Effect project we froze two containers filled with\u00a0235mL of distilled water at different starting temperatures. We also used the following materials:<\/span><\/p>\n<p>1 Laptop with MPIDE and <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW\u00a0<\/a><\/p>\n<p>1 <a href=\"https:\/\/digilent.com\/shop\/chipkit-pro-mx7-advanced-peripherals-embedded-systems-trainer-board\/\">chipKIT pro<\/a> MX4 SKU: 410-295<\/p>\n<p>2\u00a0<a href=\"https:\/\/digilent.com\/shop\/pmodtc1-k-type-thermocouple-module-with-wire\/\">Pmod TC1<\/a> SKU:410-315<\/p>\n<p>2 Thermocouple Wire: 1 Meter SKU: 240-080<\/p>\n<p>1 <a href=\"https:\/\/digilent.com\/shop\/pmodtph-6-pin-test-point-header\/\">Pmod TPH2<\/a> SKU: 410-135<\/p>\n<p>2 6-pin MTE Cable SKU: 310-014<\/p>\n<p>2 1-pin MTE Caple SKU: 240-005<\/p>\n<p>1 235mL\/1 Cup Measuring Scoop<\/p>\n<p>1 Gallon Distilled Water<\/p>\n<p>1\u00a0Plastic Water Funnel<\/p>\n<p>2 Liquid Containers (I used the plastic cups with lids on the above picture)<\/p>\n<p><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\">We programmed the<a href=\"https:\/\/digilent.com\/shop\/chipkit-pro-mx7-advanced-peripherals-embedded-systems-trainer-board\/\"> chipKIT pro MX4 <\/a>with MPIDE and recorded the data with <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW. <\/a>Additionally we\u00a0set up an Instructable to walk you through setting up the hardware and software\u00a0used in our project. We also set up a Github for the<a href=\"http:\/\/Github: https:\/\/github.com\/jpeyron\/Mpemba-Effect\"> code!<\/a><\/span><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-14412 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_151045-1-600x338.jpg\" alt=\"20160525_151045\" width=\"598\" height=\"337\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_151045-1-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_151045-1-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_151045-1-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_151045-1-800x450.jpg 800w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\">The <a href=\"instructable: http:\/\/www.instructables.com\/id\/Mpemba-Effect\/\">Instructable <\/a>contains\u00a0a detailed walkthrough of the project, from installing the <a href=\"https:\/\/digilent.com\/shop\/pmodtc1-k-type-thermocouple-module-with-wire\/\">TC1 <\/a>library to connecting the hardware. We also included instructions on how to make text files and change\u00a0the path used for recording data in the MpembaDemo.vi in LabVIEW. The\u00a0<a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW <\/a>VI was made by a co-worker, Sudharsan Sukumar. <\/span><\/p>\n<p><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\">The most challenging part of this project was getting the two different SPI\u00a0<a href=\"https:\/\/digilent.com\/shop\/pmodtc1-k-type-thermocouple-module-with-wire\/\">Pmod TC1&#8217;s <\/a>to use one port on the chipKIT pro MX4. To overcome this issue we used the <a href=\"https:\/\/digilent.com\/shop\/pmodtph-6-pin-test-point-header\/\">Pmod TPH2 <\/a>to allow us to use the one port for both Pmod TC1&#8217;s. We also used pins at RG0 and RG1 for the chipselects.\u00a0The MPIDE MpembaDemo.pde code alternates which chipselect we are using to determine which Pmod TC1 we are using. The variable we used to determine which chipselect was used also determined which text file the LabVIEW VI writes data to.<\/span><\/p>\n<p><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14425\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150731_231104-1-600x338.jpg\" alt=\"20150731_231104\" width=\"600\" height=\"338\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150731_231104-1-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150731_231104-1-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150731_231104-1-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150731_231104-1-800x450.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150731_231104-1-1200x675-cropped.jpg 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\">Once we filled the cups with 235mL\/1 cups of distilled water it takes about 6 hours to completely freeze both containers. We made a couple of changes to our setup process. The first way we set up the experiment we measured and poured the cold into the liquid container. Then we poured 235mL in the pan. We boiled the distilled water in the pan and poured it into the measuring cup, then into the liquid container using a plastic funnel. This process involved\u00a0too much heat loss before getting the hot liquid container into the freezer. \u00a0We eventually found that the best way to get the highest temperature for the hot water in our kitchen was to boil the 235mL measured distilled water and then pour directly into the liquid container using a plastic liquid funnel.<\/span><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14413\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180056-600x338.jpg\" alt=\"20160525_180056\" width=\"600\" height=\"338\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180056-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180056-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180056-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180056-800x450.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180056-1200x675-cropped.jpg 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><span style=\"font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #606569;\">With the new process we were able to get the hot water container to about 70\u00b0 C and the cold container at room temperature (around 25\u00b0 Celsius).\u00a0 We used a few different containers but that did\u00a0not change\u00a0the outcome. At this point we have not been able to duplicate the Mpemba Effect, at least not yet.<\/span><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14418\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150801_115455-600x338.jpg\" alt=\"20150801_115455\" width=\"600\" height=\"338\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150801_115455-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150801_115455-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150801_115455-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150801_115455-800x450.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20150801_115455-1200x675-cropped.jpg 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\">Every minute we measured the temperature of each liquid container with the PmodTC1&#8217;s and recorded the temperature of each container to a text file with <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW<\/a>.<\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14411\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180117-600x338.jpg\" alt=\"20160525_180117\" width=\"600\" height=\"338\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180117-600x338.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180117-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180117-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/20160525_180117-800x450.jpg 800w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\">In an attempt to troubleshoot, we employed LabVIEW and the Pmods to examine what was going on. One interesting thing we found is that the cold water does not take as long to go below 0\u00b0C once at 0\u00b0C. It takes less than 10 minutes to go below 0\u00b0C.<\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14408\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/cold_freeze.jpg\" alt=\"cold_freeze\" width=\"342\" height=\"271\" \/><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\">Now the hot water takes about 190 minutes to go below 0\u00b0C once at 0\u00b0C.<\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14407\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Hot_freeze-600x103.jpg\" alt=\"Hot_freeze\" width=\"600\" height=\"103\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Hot_freeze-600x103.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Hot_freeze-768x132.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Hot_freeze-800x138.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Hot_freeze.jpg 870w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\">After troubleshooting and modifying the experiment based upon our discoveries, we finally got it to work! Here is the graph of our most recent experiment and as you can see the cold in red froze first and the hot in blue froze much later. Success! The data is available on\u00a0<a href=\"https:\/\/github.com\/jpeyron\/Mpemba-Effect\">Github<\/a>:<\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-14409\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Mpemba_test_may-600x246.jpg\" alt=\"Mpemba_test_may\" width=\"600\" height=\"246\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Mpemba_test_may-600x246.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Mpemba_test_may-768x315.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Mpemba_test_may-1024x420.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Mpemba_test_may-800x328.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/06\/Mpemba_test_may.jpg 1911w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"line-height: 19.5pt; vertical-align: baseline; text-align: start; margin: 0in 0in 22.3pt 0in;\">This was a very fun project to do! If this was interesting to\u00a0you, you should check out the <a href=\"http:\/\/www.instructables.com\/id\/Mpemba-Effect\/\">Instructable<\/a>\u00a0and make sure to let us know if you try this yourself!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-14426 jlk' data-task='like' data-post_id='14426' data-nonce='d8c4d58d14' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-14426 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-14426 jlk' data-task='unlike' data-post_id='14426' data-nonce='d8c4d58d14' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-14426 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-14426 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Jon demonstrates the Mpemba Effect with a fun experiment! <\/p>\n","protected":false},"author":44,"featured_media":16933,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1561],"tags":[],"ppma_author":[4496],"class_list":["post-14426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-applications"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/09\/20160525_151045-1-600x338.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4496,"user_id":44,"is_guest":0,"slug":"jpeyron","display_name":"Jon Peyron","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/53de74f1900230e7b64620c69fc0ea9c388b748493972864a44061e72fc8d1be?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/14426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=14426"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/14426\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/16933"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=14426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=14426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=14426"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=14426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}