<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Lesson 1.0. Let&#x27;s start. Hello, MacOS]]></title><description><![CDATA[<h2>The purpose of this lesson</h2>
<p dir="auto">Hi! Today we will learn how to connect M5STACK to Arduino IDE on MacOS (Fig. 1). Let's display "HELLO MAC".</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1a9de/Zl0dOPcp4kM.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 1</p>
<h2>A little theory</h2>
<p dir="auto">MacOS has significant differences from Windows, so the connection procedure is different too. The main part of the work will be done through the standard application Terminal. You must also know the password for your account, as it is required for the driver installer to make changes.</p>
<p dir="auto">More information about the Terminal app on the Wiki: <a href="https://en.wikipedia.org/wiki/Terminal_(macOS)" target="_blank" rel="noopener noreferrer nofollow ugc">here</a></p>
<h2><strong>List of components for the lesson</strong></h2>
<ul>
<li>Apple computer with MacOS;</li>
<li>M5STACK;</li>
<li>USB-C cable from the standard set.</li>
</ul>
<h2>Begin!</h2>
<h3>Step 1. Download and install the driver</h3>
<p dir="auto">We use the standard Safari browser to visit the official website of M5STACK (Fig. 2, 2.1).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aaa8/dcz-AHNBfFU.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2. The Safari browser on the dock bar</p>
<p dir="auto"><img src="https://pp.userapi.com/c847121/v847121105/18910/7fudO3Q5OaE.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.1. Address bar with the address entered</p>
<p dir="auto">Click on the section <strong>Download</strong>, then <strong>Mac Click here</strong> (Fig. 2.2).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847217/v847217105/193f5/-9JXmnvjQcU.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.2</p>
<p dir="auto">The download will begin. When the download is completed, click on the magnifying glass icon to open the driver installer folder (Fig. 2.3).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aaaf/u9VpXANqGRo.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.3</p>
<p dir="auto">Open the driver installer by holding down <strong>ctrl</strong> on the keyboard and right-clicking on the icon (Fig. 2.4).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aab7/bxErYJdt9L0.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.4</p>
<p dir="auto">Similarly, open the driver unpack (Fig. 2.5).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa1e/bWJUhK6cD48.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.5</p>
<p dir="auto">Go through all the steps according to figures 2.6 - 2.11.</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa2e/-_4KE_eStRM.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.6</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa26/4Wxz1r-4uO0.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.7</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa36/H0eRnoeLBlM.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.8</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa3e/b9onlfYO61Y.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.9</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa45/Dw-NRz7d27M.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.10</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aaa1/bgBCxDGrT4k.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.10.1</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa4d/-17EE_UB1JA.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.11</p>
<p dir="auto">Next, you need to unlock the software driver developer. To do this, click on the Apple in the upper right corner and select the section <strong>System Preferences...</strong> (rice. 2.12).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa54/ABrw43BEQ8o.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.12</p>
<p dir="auto">Next, open the <strong>"Security &amp; Privacy"</strong> section (Fig. 2.13).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa5c/wAIsbt_AI-k.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.13</p>
<p dir="auto">In the tab <strong>General</strong> click on the button <strong>Allow</strong> opposite this developer (Fig. 2.14).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa64/9wU7iz5DUUY.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2.14</p>
<p dir="auto">This completes the driver installation safely!</p>
<h3>Step 2. Download and install the Arduino IDE</h3>
<p dir="auto">Download Arduino IDE for MacOS under <strong>SOFTWARE</strong> on the official Arduino website <a href="https://www.arduino.cc/en/Main/Software" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> (Fig. 3)</p>
<p dir="auto"><img src="https://pp.userapi.com/c834401/v834401966/10f627/pAnp6mZ9Db8.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3</p>
<p dir="auto">After the download is complete, open the <strong>Arduino</strong> file from the downloads folder (Fig. 3.1). After the program opens, close it.</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa76/vpd9gd3PNQk.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.1</p>
<p dir="auto">Now add libraries using the <strong>Terminal</strong> application. To do this, click the mouse on the magnifying glass icon in the upper right corner and write the name of the application (Fig. 3.2). Next, double-click to launch the application itself.</p>
<p dir="auto"><img src="https://pp.userapi.com/c834100/v834100847/107cfd/4-Fh01aoKJw.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.2</p>
<p dir="auto">Copy (⌘C) from <strong>all</strong> text and paste (⌘V) it in <strong>Terminal</strong>, then click <strong>Enter</strong> (Fig. 3.3).</p>
<pre><code>mkdir -p ~/Documents/Arduino/hardware/espressif &amp;&amp; \
cd ~/Documents/Arduino/hardware/espressif &amp;&amp; \
git clone https://github.com/espressif/arduino-esp32.git esp32 &amp;&amp; \
cd esp32 &amp;&amp; \
git submodule update --init --recursive &amp;&amp; \
cd tools &amp;&amp; \
python get.py
</code></pre>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1a9fc/1V1Uml7e4_k.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.3</p>
<p dir="auto">The download and installation of the required components will begin (Fig. 3.4).</p>
<p dir="auto"><img src="https://pp.userapi.com/c841325/v841325572/7e32b/rIv0FroT7T8.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.4</p>
<p dir="auto">At the end of the installation on the last line written will be <strong>Done</strong> (Fig. 3.5). After that, the terminal must be closed.</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa0c/O8B-9a5Vkps.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.5</p>
<p dir="auto">This completes the installation of the libraries!</p>
<h3>Step 3. First sketch</h3>
<p dir="auto">Start <strong>Arduino IDE</strong>, see Fig. 3.1. Copy and paste the following text into the Arduino IDE (Fig. 4):</p>
<pre><code>#include &lt;m5stack.h&gt;

void setup() {
M5.begin();
M5.Lcd.print ("HELLO, MacOS");
}

void loop() {

}
</code></pre>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa7f/KKIrquANsqc.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4</p>
<p dir="auto">Next, set up the Board. To do this, select in the menu item <strong>Tools</strong> in the section <strong>Board:</strong> Board <strong>"M5Stack-Core-ESP32"</strong> (Fig. 4.1).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa89/Qq9hGF0im8g.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4.1</p>
<p dir="auto">Select a port. To do this, select the menu item <strong>Tools</strong> under <strong>Port:</strong> port <strong>/dev/cu.SLAB_USBtoUART</strong> (Fig. 4.2).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa92/1C73qxXdNcA.jpg" alt="" class=" img-fluid img-markdown" /><br />
Figure 4.2</p>
<p dir="auto">Nearly ready! Connect your M5 to your Mac using a USB-C cable and press the <strong>Upload</strong> button (Fig. 4.3).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120105/1aa99/3oYXwHH3MLk.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4.3</p>
<p dir="auto">After the firmware is successfully loaded into the device, the text will appear on the screen (Fig. 4.4).</p>
<p dir="auto"><img src="https://pp.userapi.com/c847120/v847120908/18dc1/dC-NivE744k.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4.4</p>
<p dir="auto">This lesson is over 👨‍💻</p>
]]></description><link>https://community.m5stack.com/topic/161/lesson-1-0-let-s-start-hello-macos</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:45:48 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/161.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Apr 2018 09:10:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Lesson 1.0. Let&#x27;s start. Hello, MacOS on Thu, 30 May 2019 06:55:29 GMT]]></title><description><![CDATA[<p dir="auto">FYI,  We can use <code>Arduino Board Manager</code> now. (Figure 3.1 ~ 3.4 can skip.)</p>
<blockquote>
<ul>
<li>Start Arduino and open Preferences window.</li>
<li>Enter <a href="https://dl.espressif.com/dl/package_esp32_index.json" target="_blank" rel="noopener noreferrer nofollow ugc">https://dl.espressif.com/dl/package_esp32_index.json</a> into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.</li>
<li>Open Boards Manager from Tools &gt; Board menu and install esp32 platform (and don't forget to select your ESP32 board from Tools &gt; Board menu after installation).</li>
</ul>
</blockquote>
<p dir="auto"><a href="https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md" target="_blank" rel="noopener noreferrer nofollow ugc">arduino-esp32/boards_manager.md at master · espressif/arduino-esp32</a></p>
]]></description><link>https://community.m5stack.com/post/4448</link><guid isPermaLink="true">https://community.m5stack.com/post/4448</guid><dc:creator><![CDATA[ymmtyuhei]]></dc:creator><pubDate>Thu, 30 May 2019 06:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.0. Let&#x27;s start. Hello, MacOS on Tue, 23 Oct 2018 19:35:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimi" aria-label="Profile: Dimi">@<bdi>Dimi</bdi></a> Nice one, was going to add a version to my post but you covered it well.</p>
]]></description><link>https://community.m5stack.com/post/1812</link><guid isPermaLink="true">https://community.m5stack.com/post/1812</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 23 Oct 2018 19:35:51 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.0. Let&#x27;s start. Hello, MacOS on Sun, 21 Oct 2018 19:29:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimi" aria-label="Profile: dimi">@<bdi>dimi</bdi></a> 在 <a href="/post/743">Lesson 1.0. Let's start. Hello, MacOS</a> 中说：</p>
<blockquote>
<p dir="auto">#include &lt;m5stack.h&gt;</p>
<p dir="auto">void setup() {<br />
M5.begin();<br />
M5.Lcd.print ("HELLO, MacOS");</p>
</blockquote>
<p dir="auto">Shouldn't this be <code>#include &lt;M5Stack.h&gt;</code> now (upper case M and S)?</p>
]]></description><link>https://community.m5stack.com/post/1789</link><guid isPermaLink="true">https://community.m5stack.com/post/1789</guid><dc:creator><![CDATA[fhisg]]></dc:creator><pubDate>Sun, 21 Oct 2018 19:29:44 GMT</pubDate></item></channel></rss>