{"id":6491,"date":"2024-07-07T03:28:54","date_gmt":"2024-07-07T03:28:54","guid":{"rendered":"https:\/\/surinlearninglab.com\/?p=6491"},"modified":"2025-05-02T01:53:35","modified_gmt":"2025-05-02T01:53:35","slug":"crypto-mining-with-duino-coin","status":"publish","type":"post","link":"https:\/\/surinlearninglab.com\/th\/2024\/07\/07\/crypto-mining-with-duino-coin\/","title":{"rendered":"Crypto Mining with Duino-Coin"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"6491\" class=\"elementor elementor-6491\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7fd99fab elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7fd99fab\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f5d1f8c\" data-id=\"f5d1f8c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7b87b7fb elementor-position-top elementor-widget elementor-widget-image-box\" data-id=\"7b87b7fb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-image-box-wrapper\"><figure class=\"elementor-image-box-img\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/crypto-mining-with-duino-coin.webp?fit=700%2C400&#038;ssl=1\" title=\"crypto mining with duino coin\" alt=\"crypto mining with duino coin\" loading=\"lazy\" \/><\/figure><div class=\"elementor-image-box-content\"><h2 class=\"elementor-image-box-title\">Crypto Mining with Duino-Coin, Display Stats on 0.96 OLED<\/h2><p class=\"elementor-image-box-description\">Hey Science Enthusiasts! Today, we\u2019re going to dive into a fantastic project: integrating a 0.96\" OLED display with an ESP32 to monitor mining statistics in real time. This setup is perfect for anyone engaged in Duino-Coin mining who wants to keep an eye on their rig's performance directly from their device. So gear up for some fun with hardware and coding! Let\u2019s get started!<\/p><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e356928 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"7e356928\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-60f0a7ff elementor-widget elementor-widget-heading\" data-id=\"60f0a7ff\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0e27\u0e31\u0e2a\u0e14\u0e38\u0e17\u0e35\u0e48\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49:<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7dab1570 elementor-widget elementor-widget-text-editor\" data-id=\"7dab1570\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>ESP32 Development Board<\/strong>: The brain of our mining operation.<\/li><li><strong>0.96&#8243; OLED Display (SSD1306)<\/strong>: For displaying the mining stats.<\/li><li><strong>Jumper Wires<\/strong>: To connect the OLED display to the ESP32.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6614e710 elementor-widget elementor-widget-image-gallery\" data-id=\"6614e710\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image-gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-image-gallery\">\n\t\t\t<div id='gallery-2' class='gallery galleryid-6491 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"6614e710\" data-elementor-lightbox-title=\"esp32\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjI2OCwidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wN1wvZXNwMzIuanBnIiwic2xpZGVzaG93IjoiNjYxNGU3MTAifQ%3D%3D\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/esp32.jpg?ssl=1\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/esp32.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-6268\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-6268'>\n\t\t\t\tESP32\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"6614e710\" data-elementor-lightbox-title=\"jump wires\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjIxNiwidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNlwvanVtcC13aXJlcy5qcGciLCJzbGlkZXNob3ciOiI2NjE0ZTcxMCJ9\" data-elementor-lightbox-description=\"Bread Board Jump Wires\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/jump-wires.jpg?ssl=1\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/jump-wires.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"Bread Board Jump Wires\" aria-describedby=\"gallery-2-6216\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/jump-wires.jpg?w=225&amp;ssl=1 225w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/jump-wires.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/jump-wires.jpg?resize=12%2C12&amp;ssl=1 12w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-6216'>\n\t\t\t\tJump WIres\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"6614e710\" data-elementor-lightbox-title=\"SSD1306 OLED Display\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjI0NywidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wN1wvU1NEMTMwNi1PTEVELURpc3BsYXkuanBnIiwic2xpZGVzaG93IjoiNjYxNGU3MTAifQ%3D%3D\" data-elementor-lightbox-description=\"Bread Board Jump Wires\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/SSD1306-OLED-Display.jpg?ssl=1\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/SSD1306-OLED-Display.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-6247\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/SSD1306-OLED-Display.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/SSD1306-OLED-Display.jpg?zoom=2&amp;resize=150%2C150&amp;ssl=1 300w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-6247'>\n\t\t\t\tSSD1306 OLED Display\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-33a72323 elementor-widget elementor-widget-heading\" data-id=\"33a72323\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 1: \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e2e\u0e32\u0e23\u0e4c\u0e14\u0e41\u0e27\u0e23\u0e4c<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-42d7aae9 elementor-widget elementor-widget-text-editor\" data-id=\"42d7aae9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>First things first, let&#8217;s hook up the OLED display to the ESP32:<\/p><ul><li><strong>VCC<\/strong> to ESP32 <strong>3.3V<\/strong><\/li><li><strong>GND<\/strong> to ESP32 <strong>GND<\/strong><\/li><li><strong>SCL<\/strong> to ESP32 <strong>GPIO 22<\/strong> (default I2C SCL pin on most ESP32 boards)<\/li><li><strong>SDA<\/strong> to ESP32 <strong>GPIO 21<\/strong> (default I2C SDA pin on most ESP32 boards)<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2362bd50 elementor-widget elementor-widget-image\" data-id=\"2362bd50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/wiring.png?fit=1024%2C512&amp;ssl=1\" class=\"attachment-large size-large wp-image-6498\" alt=\"fritzing wiring diagram, esp32 duino-coin miner\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/wiring.png?w=1159&amp;ssl=1 1159w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/wiring.png?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/wiring.png?resize=1024%2C512&amp;ssl=1 1024w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/wiring.png?resize=768%2C384&amp;ssl=1 768w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/wiring.png?resize=18%2C9&amp;ssl=1 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-387e505b elementor-widget elementor-widget-heading\" data-id=\"387e505b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 2: Software Setup<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2a13fa58 elementor-widget elementor-widget-text-editor\" data-id=\"2a13fa58\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Now, let\u2019s set up our ESP32 with the necessary code to drive the OLED display.<\/p><h5>Install Required Libraries<\/h5><p>Open your Arduino IDE and ensure you have the necessary libraries:<\/p><ul><li>Navigate to <strong>Sketch &gt; Include Library &gt; Manage Libraries\u2026<\/strong><\/li><li>Search for and install <strong>Adafruit SSD1306<\/strong> and <strong>Adafruit GFX<\/strong> libraries.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-471336bd elementor-button-info elementor-align-center elementor-widget elementor-widget-button\" data-id=\"471336bd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/github.com\/Surin-Learning-Lab\/ESP32_DuinoCoinMiner\/tree\/main\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fab fa-github\"><\/i>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Click here for Arduino Sketch<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1a6c599a elementor-widget elementor-widget-text-editor\" data-id=\"1a6c599a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Update the Sketch<\/p><ul><li style=\"list-style-type: none;\"><ul><li>Connect your Arduino to your computer using the USB cable.<\/li><li>Select the correct board and port from <strong>Tools<\/strong>.<\/li><li>Click the <strong>Upload<\/strong> button.<\/li><\/ul><\/li><li>Integrate the OLED display into your mining code (available from <a href=\"https:\/\/duino-coin.com\" target=\"_new\" rel=\"noreferrer\">duino-coin.com<\/a>):<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7cb2006 elementor-widget elementor-widget-text-editor\" data-id=\"7cb2006\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>At the top of your sketch, include the libraries:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3eb602b elementor-widget elementor-widget-image\" data-id=\"3eb602b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"529\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?fit=1024%2C529&amp;ssl=1\" class=\"attachment-large size-large wp-image-6499\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?resize=1024%2C529&amp;ssl=1 1024w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?resize=768%2C396&amp;ssl=1 768w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?resize=1536%2C793&amp;ssl=1 1536w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/include-librarys.png?resize=18%2C9&amp;ssl=1 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ca6dd5 elementor-widget elementor-widget-text-editor\" data-id=\"3ca6dd5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Define and initialize your display:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-49c68f0 elementor-widget elementor-widget-image\" data-id=\"49c68f0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"529\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?fit=1024%2C529&amp;ssl=1\" class=\"attachment-large size-large wp-image-6500\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?resize=1024%2C529&amp;ssl=1 1024w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?resize=768%2C396&amp;ssl=1 768w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?resize=1536%2C793&amp;ssl=1 1536w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/initialize-the-display.png?resize=18%2C9&amp;ssl=1 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d36d7a0 elementor-widget elementor-widget-text-editor\" data-id=\"d36d7a0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0e43\u0e19 <code>setup()<\/code> function, start the display:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-051ffea elementor-widget elementor-widget-image\" data-id=\"051ffea\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"529\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?fit=1024%2C529&amp;ssl=1\" class=\"attachment-large size-large wp-image-6501\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?resize=1024%2C529&amp;ssl=1 1024w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?resize=768%2C396&amp;ssl=1 768w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?resize=1536%2C793&amp;ssl=1 1536w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display.png?resize=18%2C9&amp;ssl=1 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-97fd993 elementor-widget elementor-widget-text-editor\" data-id=\"97fd993\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Create a function to update the display with mining stats:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0fda04e elementor-widget elementor-widget-image\" data-id=\"0fda04e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"529\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?fit=1024%2C529&amp;ssl=1\" class=\"attachment-large size-large wp-image-6502\" alt=\"Create a function to update the display with mining stats:\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?resize=1024%2C529&amp;ssl=1 1024w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?resize=768%2C396&amp;ssl=1 768w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?resize=1536%2C793&amp;ssl=1 1536w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/07\/In-the-setup-function-start-the-display-1.png?resize=18%2C9&amp;ssl=1 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ee21ea2 elementor-widget elementor-widget-heading\" data-id=\"ee21ea2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 3: Compile and Upload<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5267e5cc elementor-widget elementor-widget-text-editor\" data-id=\"5267e5cc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Connect your ESP32 to your computer using the USB cable.<\/li><li>Select the correct board under <strong>Tools &gt; Board<\/strong> and the correct port under <strong>Tools &gt; Port<\/strong>.<\/li><li>Upload your sketch to the ESP32.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a8bb744 elementor-widget elementor-widget-heading\" data-id=\"a8bb744\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 4: Monitor Your Mining Stats<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-82e73fd elementor-widget elementor-widget-text-editor\" data-id=\"82e73fd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Once the code is uploaded and running:<\/p><ul><li>The OLED display will light up and start displaying the current mining statistics.<\/li><li>You can monitor the hashrate, number of shares, and temperature directly from your ESP32.<\/li><\/ul><h3>\ud83c\udf1f Voil\u00e0! Your ESP32 Duino-Coin Mining Monitor is Ready! \ud83c\udf1f<\/h3><p>This setup not only gives you a real-time overview of your mining operation but also serves as a great educational tool to understand how microcontrollers can interact with cryptocurrencies. Keep tweaking the display and code to fit your specific needs and enjoy mining with a bit of extra flair!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Crypto Mining with Duino-Coin, Display Stats on 0.96 OLED Hey Science Enthusiasts! Today, we\u2019re going to dive into a fantastic project: integrating a 0.96&#8243; OLED display with an ESP32 to monitor mining statistics in real time. This setup is perfect for anyone engaged in Duino-Coin mining who wants to keep an eye on their rig&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":412,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-6491","post","type-post","status-publish","format-standard","hentry","category-esp32"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts\/6491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/comments?post=6491"}],"version-history":[{"count":4,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts\/6491\/revisions"}],"predecessor-version":[{"id":6505,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts\/6491\/revisions\/6505"}],"wp:attachment":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/media?parent=6491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/categories?post=6491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/tags?post=6491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}