{"id":2674,"date":"2020-10-10T13:00:00","date_gmt":"2020-10-10T12:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2674"},"modified":"2020-10-09T15:38:20","modified_gmt":"2020-10-09T14:38:20","slug":"moving-the-raspberry-pi-cluster-to-a-raspberry-pi-4b-4gb","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2674\/moving-the-raspberry-pi-cluster-to-a-raspberry-pi-4b-4gb\/","title":{"rendered":"Moving the Raspberry Pi Cluster to a Raspberry Pi 4B 4GB"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"254\" data-attachment-id=\"2682\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2674\/moving-the-raspberry-pi-cluster-to-a-raspberry-pi-4b-4gb\/raspberry_pi_4\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?fit=800%2C300&amp;ssl=1\" data-orig-size=\"800,300\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"raspberry_pi_4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2682\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberry_pi_4.jpg?resize=50%2C19&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>Today I am talking about moving the Raspberry Pi Cluster primary node to a Raspberry Pi 4B 4GB model. I also discuss the improvements that the Raspberry Pi 4B has made over previous generations.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Why move to a Raspberry Pi 4B<\/h2>\n\n\n\n<p>Generally running the cluster does not require a large amount of compute capability. However having more processing power available will increase the amount of services the primary node can run.<\/p>\n\n\n\n<p>In addition, in comparison to the earlier models the cluster currently uses, the Raspberry Pi 4B has wireless and bluetooth included as standard. This allows it to interface more easily with the network and other devices.<\/p>\n\n\n\n<p>The increase in RAM will also be useful for running more programs at once on the Pi.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Specifications of the 4B model <\/h2>\n\n\n\n<p>There are currently four variants of the Raspberry Pi 4B (one of these has been discontinued). These only difference in these is the amount of RAM installed.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Released<\/strong><\/td><td>June 2019 (May 2020 for 8GB variant)<\/td><\/tr><tr><td><strong>CPU<\/strong><\/td><td>ARM Cortex-A72<\/td><\/tr><tr><td><strong>No. Cores<\/strong><\/td><td>4<\/td><\/tr><tr><td><strong>CPU Speed<\/strong><\/td><td>1.5GHz<\/td><\/tr><tr><td><strong>RAM<\/strong><\/td><td>1GB \/ 2GB \/ 4GB \/ 8GB<\/td><\/tr><tr><td><strong>GPU<\/strong><\/td><td>Broadcom VideoCore VI @&nbsp;500 MHz<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The 1GB model was phased out when the 8GB model was introduced. However it is still possible to purchase these from back-stock.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Useful Improvements made over earlier models<\/h2>\n\n\n\n<p>One of the big improvements over previous models is the GPU and two micro-HDMI ports on the board. This means that the Raspberry Pi 4B can now support two 4K displays and makes it ideal for displaying data.<\/p>\n\n\n\n<p>In addition the CPU has been improved from the 1.2 GHz Cortex-A53 to the 1.5GHz Cortex-A72 which gives a bit more power to the Raspberry Pi.<\/p>\n\n\n\n<p>This does however mean that the Raspberry Pi may require more power. There have been reported issues with low quality power supplies not being able to power the Pi properly. It is recommended to buy an official Raspberry Pi power supply to ensure you are able to provide enough current for the Pi.<\/p>\n\n\n\n<p>The ability to purchase a Raspberry Pi with increased RAM also means you are able to run more at once. This reduces the need to swap memory which should increase the speed that the Raspberry Pi can run at.<\/p>\n\n\n\n<p>The two USB3 ports allow you to connect the Raspberry Pi to external devices requiring more power and bandwidth to operate. This is also paired with a &#8220;true&#8221; Gigabit ethernet allows the Raspberry Pi to work as a more standard desktop computer.<\/p>\n\n\n\n<p>This Raspberry Pi is another good step forward for the Raspberry Pi and provides various useful features over the Raspberry Pi 3.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Plans for the cluster<\/h2>\n\n\n\n<p>With the new master I am planning to first move the primary node infrastructure onto this node.<\/p>\n\n\n\n<p>Once that is done, I will be reviewing all code, upgrading it to Python 3, and continuing the work on it. <\/p>\n\n\n\n<p>The first &#8220;big&#8221; project planned with the cluster is to allow control from the primary web interface and storing temporal data in InfluxDB.<\/p>\n\n\n\n<p>The full Raspberry Pi cluster code is <a href=\"https:\/\/github.com\/chewett\/RaspberryPiCluster\/\" target=\"_blank\" rel=\"noreferrer noopener\">available on Github<\/a>, any comments or questions can be raised there as issues or posted below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I am talking about moving the Raspberry Pi Cluster primary node to a Raspberry Pi 4B 4GB model. I also discuss the improvements that the Raspberry Pi 4B has made over previous generations.<\/p>\n","protected":false},"author":1,"featured_media":2684,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"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":"Today I talk about moving the #RaspberryPiCluster to a #RaspberryPi 4B 4GB variant and the future plans for the cluster!","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[122],"tags":[37,392,101,133],"class_list":["post-2674","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-cluster","tag-raspberry-pi","tag-raspberry-pi-4","tag-raspberry-pi-cluster","tag-raspberry-pi-comparison"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/raspberrypi_4_posticon_OUTPUT.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-H8","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2816,"url":"https:\/\/chewett.co.uk\/blog\/2816\/makerhawk-raspberry-pi-4b-armor-case-temperature-drop-review\/","url_meta":{"origin":2674,"position":0},"title":"MakerHawk Raspberry Pi 4B Armor Case Temperature Drop review","author":"Chewett","date":"February 27, 2021","format":false,"excerpt":"Today I am showing the temperature drop over time while using the MakerHawk Raspberry Pi 4B Armor Case. What is theMakerHawk Raspberry Pi 4B Armor Case I talked more about the MakerHawk Raspberry Pi 4B Armor Case on my previous blog post. It is an aluminium case with two fans\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/makerhawk_raspi4_case_temperature_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/makerhawk_raspi4_case_temperature_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/makerhawk_raspi4_case_temperature_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/makerhawk_raspi4_case_temperature_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/makerhawk_raspi4_case_temperature_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2685,"url":"https:\/\/chewett.co.uk\/blog\/2685\/reviewing-the-makerhawk-raspberry-pi-4b-armor-case-and-benchmarking-it\/","url_meta":{"origin":2674,"position":1},"title":"Reviewing the MakerHawk Raspberry Pi 4B Armor Case and benchmarking it","author":"Chewett","date":"November 7, 2020","format":false,"excerpt":"Here I talk about adding the MakerHawk Raspberry Pi 4B Armor case to my Raspberry Pi. In addition I run some benchmarks over it to see how much of an effect on temperature it has. Reviewing the Case Image showing top of aluminium mount The MakerHawk Raspberry Pi 4B Armor\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/makerhawk_raspi4_case_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/makerhawk_raspi4_case_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/makerhawk_raspi4_case_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/makerhawk_raspi4_case_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/makerhawk_raspi4_case_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1054,"url":"https:\/\/chewett.co.uk\/blog\/1054\/raspberry-pi-tutorial-website-online-now\/","url_meta":{"origin":2674,"position":2},"title":"Raspberry Pi Tutorial Website online now!","author":"Chewett","date":"March 10, 2018","format":false,"excerpt":"This post talks about the new page on my website with linking to all my Raspberry Pi Cluster tutorials. Raspberry Pi Cluster Tutorial Webpage Now I have a couple Raspberry Pi Cluster tutorials I decided to link to all of them on my website. This will form the basis of\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/rpi_tutorial_website_online.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/rpi_tutorial_website_online.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/rpi_tutorial_website_online.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/rpi_tutorial_website_online.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":367,"url":"https:\/\/chewett.co.uk\/blog\/367\/overview-raspberry-pi-cluster\/","url_meta":{"origin":2674,"position":3},"title":"Overview of the Raspberry Pi Cluster","author":"Chewett","date":"June 17, 2017","format":"gallery","excerpt":"Now I have the power supply and built the stacking system\u00a0I can show off the clusters initial state. Every Raspberry Pi in\u00a0the cluster Here are the 7 initial Pi's that are to become part of the cluster. Each have been given a codename to designate\u00a0its position in the cluster.\u00a0The Raspberry\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/05\/cluster_uncovered.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/05\/cluster_uncovered.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/05\/cluster_uncovered.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/05\/cluster_uncovered.jpg?resize=700%2C400 2x"},"classes":[]},{"id":423,"url":"https:\/\/chewett.co.uk\/blog\/423\/comparison-raspberry-pi-b-models\/","url_meta":{"origin":2674,"position":4},"title":"A comparison of Raspberry Pi B Models","author":"Chewett","date":"July 8, 2017","format":false,"excerpt":"Since the first Raspberry Pi was released in 2012 there have been a number of changes to their design. Since I plan to include a number of different models in my cluster I will review and test each model to find its weakness and strengths. This review focuses on the\u2026","rel":"","context":"In &quot;Raspberry Pi Cluster&quot;","block_context":{"text":"Raspberry Pi Cluster","link":"https:\/\/chewett.co.uk\/blog\/category\/raspberry-pi-cluster\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/07\/raspberry_pi_a_comparison.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/07\/raspberry_pi_a_comparison.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/07\/raspberry_pi_a_comparison.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/07\/raspberry_pi_a_comparison.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":307,"url":"https:\/\/chewett.co.uk\/blog\/307\/adding-a-creator-ci20-to-the-cluster\/","url_meta":{"origin":2674,"position":5},"title":"Adding a Creator CI20 to the cluster","author":"Chewett","date":"October 17, 2018","format":false,"excerpt":"This post talks about the Creator CI20 and explains the differences between it and the Raspberry Pi. What is the Creator CI20? The Creator CI20 is a small Linux based computer that is similar to the Raspberry Pi. I have been looking at these for a while and decided to\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/10\/creator_main_post_image.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2674"}],"version-history":[{"count":7,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2674\/revisions"}],"predecessor-version":[{"id":2695,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2674\/revisions\/2695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2684"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}