{"id":5023,"date":"2026-03-24T14:35:21","date_gmt":"2026-03-24T05:35:21","guid":{"rendered":"https:\/\/www.freelifemakers.org\/wordpress\/?p=5023"},"modified":"2026-03-24T14:51:45","modified_gmt":"2026-03-24T05:51:45","slug":"arduino-esp32-werserver-macos","status":"publish","type":"post","link":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/2026\/03\/24\/arduino-esp32-werserver-macos\/","title":{"rendered":"[Arduino]ESP32\uc6f9\uc11c\ubc84\ub9cc\ub4e4\uae30\/Create an ESP32 Web Server(MacOS)"},"content":{"rendered":"\n<div class=\"wp-block-cover is-light\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"857\" class=\"wp-block-cover__image-background wp-image-5034 size-large\" alt=\"\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-1024x857.jpg\" data-object-fit=\"cover\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-1024x857.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-300x251.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-768x642.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-400x335.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-800x669.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output.jpg 1456w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\" style=\"background-color:#b2b4b4\"><\/span><div class=\"wp-block-cover__inner-container is-layout-constrained wp-block-cover-is-layout-constrained\">\n<p class=\"has-text-align-center has-large-font-size\">Esp32 webserver<\/p>\n<\/div><\/div>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uc544\ub798\ub294 \uac04\ub2e8\ud55c \uc6f9\uc11c\ubc84 \ub9cc\ub4dc\ub294 \uc21c\uc11c \uc785\ub2c8\ub2e4.<br>Below is the procedure for creating a simple web server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1)Arduino IDE\uc5d0\uc11c\u00a0File -> New \uc120\ud0dd <br>Select File -> New from Arduino IDE<\/h3>\n\n\n\n<p>\u2714\ufe0f IDE\uc5d0 \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<br>Add the code below to the IDE.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;WiFi.h&gt;\n#include &lt;WebServer.h&gt;\n\nconst char* ssid = \"your_id\";\nconst char* password = \"your_password\";\n\nWebServer server(80);\n\nvoid handleRoot() {\n  server.send(200, \"text\/html\", \"&lt;h1&gt;ESP32 Web Server&lt;\/h1&gt;&lt;p&gt;Hello Silver Hand!&lt;\/p&gt;\");\n}\n\nvoid setup() {\n  Serial.begin(115200);\n\n  WiFi.begin(ssid, password);\n  Serial.print(\"Connecting\");\n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(\".\");\n  }\n\n  Serial.println();\n  Serial.print(\"IP: \");\n  Serial.println(WiFi.localIP());\n\n  server.on(\"\/\", handleRoot);\n  server.begin();\n}\n\nvoid loop() {\n  server.handleClient();\n}\n<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \ucf54\ub4dc \ucd94\uac00\ud558\uae30 \uc804 \/ Before adding code<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"780\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode-1024x780.jpg\" alt=\"\" class=\"wp-image-5027\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode-1024x780.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode-300x229.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode-768x585.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode-400x305.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode-800x609.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/1.newcode.jpg 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<p>\u2714\ufe0f \ucf54\ub4dc \ucd94\uac00 \ud6c4 \/ After adding code<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"875\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode-1024x875.jpg\" alt=\"\" class=\"wp-image-5028\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode-1024x875.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode-300x256.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode-768x656.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode-400x342.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode-800x684.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/2.addcode.jpg 1114w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">2)\ubcf4\ub4dc \uc120\ud0dd \/ Board selection:<br>\u00a0Tools -> Board :&#8221; ESP32 Dev Module&#8221;->Esp32->Esp32 DevModule<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"391\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-1024x391.jpg\" alt=\"\" class=\"wp-image-5030\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-1024x391.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-300x114.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-768x293.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-1536x586.jpg 1536w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-2048x781.jpg 2048w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-1870x713.jpg 1870w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-400x153.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/3.devmodule-800x305.jpg 800w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3)\ud3ec\ud2b8 \uc120\ud0dd\/Select a port:<br>\u00a0Tools -> Port\uc5d0\uc11c \uc5f0\uacb0\ub41c \ud3ec\ud2b8(Port:&#8221;\/dev\/cu.usbserial-120&#8243;)<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-1024x490.jpg\" alt=\"\" class=\"wp-image-5033\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-1024x490.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-300x143.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-768x367.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-1536x735.jpg 1536w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-400x191.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_-800x383.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/4.port_.jpg 1606w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">4) \uc5c5\ub85c\ub4dc \uc18d\ub3c4\ub97c \uc870\uc815\ud569\ub2c8\ub2e4.\/Adjust the upload speed.<br>Tools-&gt;UploadSpeed-&gt;11520<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">5)Wi\u2011Fi (\uacf5\uc720\uae30)\uc815\ubcf4\uc785\ub825\/Enter \u2011 WiFi (router) information:<br>&nbsp;ssid\/password \uc785\ub825 \/ Enter ssid\/password<\/h3>\n\n\n\n<p>&#8212; Arduino IDE\uc5d0\uc11c \ucf54\ub4dc\ub97c \uc218\uc815\ud569\ub2c8\ub2e4. \/ Modify the code in Arduino IDE.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6)\uc5c5\ub85c\ub4dc \ud6c4,&nbsp;Tools -&gt; Serial Monitor&nbsp;\uc5f4\uae30 (115200 baud)<br>After upload, open Tools -&gt; Serial Monitor (115200 baud)<\/h3>\n\n\n\n<p>\u2714\ufe0f \uc5c5\ub85c\ub4dc \uc644\ub8cc \/ Upload completed<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"857\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-1024x857.jpg\" alt=\"\" class=\"wp-image-5034\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-1024x857.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-300x251.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-768x642.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-400x335.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output-800x669.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/5.output.jpg 1456w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<p>\u2714\ufe0f Serial Monitor\uc5d0\uc11c \ucd9c\ub825\uacb0\uacfc \ud655\uc778 \/ Check the Output Results in Serial Monitor<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"646\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor-1024x646.jpg\" alt=\"\" class=\"wp-image-5035\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor-1024x646.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor-300x189.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor-768x485.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor-400x252.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor-800x505.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/6.serialMonitor.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">7)\ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \uc811\uc18d \/ Accessing from a browser<\/h3>\n\n\n\n<p>\u2714\ufe0f Serial Monitor\uc5d0\uc11c \ud655\uc778\ub41c \uc544\uc774\ud53c\uc8fc\uc18c\ub85c \ube0c\ub77c\uc6b0\uc800\uc5d0 \uc811\uc18d\ud569\ub2c8\ub2e4.<br>Access the browser with the IP address identified by Serial Monitor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"374\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver-1024x374.jpg\" alt=\"\" class=\"wp-image-5037\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver-1024x374.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver-300x110.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver-768x281.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver-400x146.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver-800x293.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/03\/7.webserver.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc49\ud83c\udffb \uc544\ub798\ub294 \uac04\ub2e8\ud55c \uc6f9\uc11c\ubc84 \ub9cc\ub4dc\ub294 \uc21c\uc11c \uc785\ub2c8\ub2e4.Below is the procedure for creating a simple web server. 1)Arduino IDE\uc5d0\uc11c\u00a0File -> New \uc120\ud0dd Select File -> New from Arduino IDE \u2714\ufe0f IDE\uc5d0 \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.Add the code below to the IDE. \u2714\ufe0f \ucf54\ub4dc \ucd94\uac00\ud558\uae30 \uc804 \/ Before adding code \u2714\ufe0f \ucf54\ub4dc \ucd94\uac00 \ud6c4 \/ After adding code [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,1],"tags":[],"class_list":["post-5023","post","type-post","status-publish","format-standard","hentry","category-arduino","category-uncategorized","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=5023"}],"version-history":[{"count":12,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5023\/revisions"}],"predecessor-version":[{"id":5042,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5023\/revisions\/5042"}],"wp:attachment":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=5023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=5023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=5023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}