<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ittigorn Tradussadee on Medium]]></title>
        <description><![CDATA[Stories by Ittigorn Tradussadee on Medium]]></description>
        <link>https://medium.com/@ittigorn?source=rss-27ba06894136------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*V6dyl1nmMdzHt7k0nWNo0Q.png</url>
            <title>Stories by Ittigorn Tradussadee on Medium</title>
            <link>https://medium.com/@ittigorn?source=rss-27ba06894136------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 08:44:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ittigorn/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Export Multi-Colored Models from TinkerCAD to Bambu Studio]]></title>
            <link>https://ittigorn.medium.com/export-multi-colored-models-from-tinkercad-to-bambu-studio-de26f5d92876?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/de26f5d92876</guid>
            <category><![CDATA[tinkercad]]></category>
            <category><![CDATA[3d-printing]]></category>
            <category><![CDATA[3d-modeling]]></category>
            <category><![CDATA[bambu-lab]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 10:55:35 GMT</pubDate>
            <atom:updated>2026-11-05T10:55:35.639Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TfqOixSHIfQJJC9oZZEg8Q.jpeg" /></figure><p>This is a short tutorial that I hope could help you fill the gap between TinkerCAD and Bambu Studio to help streamlining your process of 3D printing.</p><p>I will assume that you know quite a bit about TinkerCAD and Bambu Studio already so I’ll get right to the core process.</p><h3>Create your model</h3><p>Create your model in TinkerCAD using multiple colors. Try using colors that are visibly very different from each other. Avoid using similar colors.</p><p>Note: The colors don’t have to match the final product. There will be a step where you can map them to other colors in Bambu Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OEb6EHxPTfE_TSIGXgA_HA.png" /><figcaption>Multi-colored model</figcaption></figure><h3>Tips on merging multiple parts together</h3><p>Note: Merging is <strong>not required </strong>in order to export multiple parts as a single model.</p><p>If you need to merge multiple parts together but want them to have different colors then don’t forget to turn on the “<strong>Multicolor</strong>” option in the color panel after merging.</p><p>Sometimes, the merged parts could be buried under the surrounding area. For example: Text sinks underneath the frame after merging and becomes invisible. This can be fixed by nudging it upward (or outward) slightly. In this scenario here I turn the “Snap Grid” value to “Off” and nudging the inner text up just slightly from the frame. This tiny nudge will not affect the outcome of the product since the nudge is way thinner than the layer line when sliced and printed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qyqqSzrLwwg1UsDnAPCAw.png" /><figcaption>The “<strong>Multicolor</strong>” option</figcaption></figure><h3>Export the model from TinkerCAD</h3><p>From TinkerCAD, <strong>select the parts</strong> that you want to export or <strong>leave nothing selected</strong> if you want to export all parts in the project.</p><p>Click “Export” button on the upper-right hand corner.</p><p>Under the “For 3D Print” section, click “.OBJ”.</p><p>A .zip file will be downloaded to your computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*NI4WIFmFaWTRkHq0BACFMw.png" /></figure><h3>Extracting the .zip file</h3><p>Extract the .zip file and you’ll get .mtl and .obj files. Keep them together. The import process needs both files to work properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*GPESOsWhR3ZwRS633oGNwA.png" /></figure><h3>Importing the model into Bambu Studio</h3><p>With Bambu Studio opened, switch to the “Prepare” tab if you’re not already on it.</p><p>Drag the .obj file into the print plate. You’ll be presented with the “Import Model” popup window.</p><p>The latest Bambu Studio version (2.9.1.70) should be smart enough to correctly detect how many colors are in the model. You can also merge similar colors by simplifying the colors here if you want.</p><p>If you’re using an older version of Bambu Studio then make sure you increase the number of colors to match your model if needed.</p><p><strong>Important extra step</strong>: Click on “Advanced settings” and set “Boundary Smoothness” to “0” to prevent loss of details such as small text corners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*r1zd1DaFvlVWxlM6Ml3muQ.png" /><figcaption>Set “Boundary Smoothness” to “0” to prevent loss of details</figcaption></figure><p>Click on “Next” and you will enter the filament matching step. Here you can select or add filaments that you want to use. You can also remap any color to any filament color here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*9OkQLrDTem-EJJrDjYDdng.png" /><figcaption>Map to a filament (can remap to other colors)</figcaption></figure><p>Click “Confirm” and it’s imported! Slice the plate to see the preview.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9zqczp72Ip2Dg-O_CMMjA.png" /><figcaption>Slice the plate to see the preview.</figcaption></figure><p>Hope this helps and please feel free to leave comments or suggestions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de26f5d92876" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create an Android emulator using the Official Samsung Emulator Skins]]></title>
            <link>https://ittigorn.medium.com/create-an-android-emulator-using-the-official-samsung-emulator-skins-ecd915dbcfbd?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecd915dbcfbd</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[samsung]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Sat, 08 Aug 2026 09:13:54 GMT</pubDate>
            <atom:updated>2026-08-08T09:13:54.846Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E8aC7UyukimRlKHW1pfzLA.png" /></figure><p>This is a short tutorial on how to create an Android emulator using the official skins from Samsung (or any other sources).</p><h3>Prerequisites</h3><ul><li>Android Studio installed on your computer</li></ul><h3>Agenda</h3><ol><li>Download the skin</li><li>Extract the skin file</li><li>Create a custom hardware profile</li><li>Create a new device using the custom hardware profile</li></ol><h3>Download the skins</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F12O0eL8JCuuxRgrpwFWTQ.png" /></figure><p>Go to the <a href="https://developer.samsung.com/galaxy-emulator-skin">Samsung Galaxy Emulator Skins</a> page. Sign in or register for a developer account for the first time but it’s free. The skin files will be in .zip format.</p><p>Once downloaded, extract the file content. The content should already have its own folder. We’re going to move this extracted folder into the skins folder later on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*EPizF3j2EPNP_k1j1ipupA.png" /><figcaption>Unzip the file content</figcaption></figure><h3>Create hardware profile in Android Studio</h3><p>Open Android Studio. Under “More Actions” choose “Virtual Device Manager”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*iwXPpVier7_sUI4smXdd7w.png" /></figure><p>Click the “+” icon, this should bring up the “Add Device” window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*D2l8qqH0fMJiOACk5QHZkQ.png" /></figure><p>On the “Add Device” popup window, click “New hardware profile…” button, the “Hardware Profile Configuration” window should pop up.</p><p>Fill in the information that matches your targeted device. Make sure to scroll down to check all the available settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*zTffHRcZ7uYCjthIDoWkrw.png" /><figcaption>Make sure to scroll down to check all the settings</figcaption></figure><p>To use the downloaded skin, scroll down under the “Configure this hardware profile” section to find the “Default Skin” settings and click the folder icon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*zswth9W2IJmJu3tKtCTVHw.png" /><figcaption>Find the “Default Skin” settings and click the folder icon</figcaption></figure><p>A file explorer should pop up showing the skins directory. Here you can paste the extracted custom skin you have prepared. Then select the pasted folder and click “Select Folder”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*6LCsvGQIdtjwgG3Of1UeIw.png" /><figcaption>Paste your extracted custom skin folder here</figcaption></figure><p>The “Default Skin” settings should not display your custom skin folder name. Click “Finish”. Now your hardware profile is ready to be used to create a new device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*Ibl0e2tTIhvsqotVcaMCHQ.png" /><figcaption>Click “Finish”</figcaption></figure><p>You should now be back on the “Add Device” popup window. Select your newly created hardware profile and click “Next”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*oUCir6rvpoRo_AzBH9pw3A.png" /></figure><p>On this “Configure virtual device” page, select the right API level for your device then make sure to select the system image from the list. Click “Finish” to create the device.</p><p>Tips on finding the API level: You can just do a quick Google search for it such as “samsung s26 ultra android api level”</p><p>If this is the first time you have a device with the selected API level then Android Studio will download the system image automatically. You will be asked to confirm the download operation, just click “Yes”. Once the download is finished, click “Finish”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*yPtK8yIfH5sXwKnsYrfoeg.png" /><figcaption>Just click “Yes”</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*nl0dnnmExZHNbYf8kxSSnQ.png" /><figcaption>Wait for the download to finish. Once the download is finished, click “Finish”.</figcaption></figure><p>At this stage, your emulator is ready to go. Hit the play button to start. It might take a while for the first time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*3Pa4a1ZftRbRI1HWi4sByA.png" /><figcaption>Click the play button to start</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*A5g8EWqzS1fFgebSl2cFEw.png" /><figcaption>A device with a custom skin</figcaption></figure><p>That’s it! Enjoy building your apps and feel free to leave questions or comments.</p><h3>Tips for VSCode users</h3><p>Your emulator will be available to use for debugging in VSCode and can be selected in the IDE itself so it starts up automatically when debugging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*6HLxR-RvaAIU7HVTTFaLkg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecd915dbcfbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pulling Images from Your Hilook / Hikvision IP Cameras via RTSP]]></title>
            <link>https://ittigorn.medium.com/pulling-images-from-your-hilook-hikvision-ip-cameras-via-rtsp-de9d14b6ff90?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/de9d14b6ff90</guid>
            <category><![CDATA[hilook]]></category>
            <category><![CDATA[hikvision]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[rtsp]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 10:57:25 GMT</pubDate>
            <atom:updated>2026-07-24T10:57:25.592Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RxqH-NwvSJR2UKImfaf3ww.png" /></figure><p>You have a <strong>Hilook </strong>or<strong> Hikvision </strong>camera and want to programmatically pull images from it? This short guide would help you do exactly that.</p><p>In this article, I’ll try to keep it as simple as possible so it’s easy to do as a POC. We’ll start with a basic setup with the camera and the computer running this script on the same local network.</p><h3>Agenda</h3><p>We’ll use a short Python script to programmatically pull an image from a Hilook / Hikvision IP Camera via the same local network. The steps include:</p><ul><li>Setting up camera-specific configs for the script</li><li>Getting and configuring the script</li><li>Running the script</li></ul><h3>Programming language of choice</h3><p>In this guide, we’ll be using <strong>Python </strong>for ease of understanding, rapid prototyping and vast machine learning / AI library supports. With that said, please be aware that RTSP is a standard protocol and you can use other programming languages to connect to your camera in the same manner.</p><h3>Prerequisites</h3><ul><li>Basic knowledge of Python</li><li>Installation of Python and Pipenv</li><li>The computer running this script must be on the same local network as the camera</li><li>Access to the physical device (to get the verification code on it)</li><li>Access to the Internet router (to get the local IP address)</li></ul><h3>Getting the verification code</h3><p>The “<strong>Verification Code</strong>” is to be used as the <strong>password </strong>when requesting through RTSP. It’s written under the camera itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CU7dLych2pNiGeCm-dqMeA.jpeg" /></figure><h3>Getting the local IP address</h3><p>To connect to your camera, we’ll also need the local <strong>IP address </strong>of the camera.</p><p>Log into your Internet router (usually 192.168.1.1) and look for a device with a matching name as the serial number (<strong>SN</strong>) written on the bottom of your camera.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AVUozfPlowT0S0JhG74oCg.jpeg" /><figcaption>Take note of your device’s serial number (SN)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*7Y6d50Fop825uJPqao6IEA.png" /><figcaption>Look for the matching serial number (SN) in the device list of your Internet router</figcaption></figure><h3>Getting the script</h3><p>Clone the code from the following GitHub repository.</p><p><a href="https://github.com/ittigorn-tra/demo-rtsp-connect-hilook">GitHub - ittigorn-tra/demo-rtsp-connect-hilook: A sample project to test the local connection of the Hilook IP camera.</a></p><h3>Creating the required .env file</h3><p>From the content of env-template.txt file, save it as .env file and edit the following content with your own info.</p><ul><li>CAMERA_PASS</li><li>CAMERA_IP</li></ul><p>The CAMERA_PASS should be the “<strong>Verification Code</strong>” you got from the earlier step.</p><p>The default username is “admin”. No need to change this.</p><h3>Creating a virtual Python environment with Pipenv</h3><p>pipenv install</p><h3>Running the script</h3><p><strong>Activating the virtual environment</strong></p><p>pipenv shell</p><p><strong>Running the script</strong></p><p>python sample.py</p><p>The result will be saved as temp/captured_frame.jpg</p><h3>Camera Channel (Stream Configuration)</h3><p>There are 2 streams you can use to get the images. This is configurable in the .env file. By default, I’ve already put it as CAMERA_CHANNEL=102 but it’s worth mentioning what that means and what are the options.</p><ul><li>Channel 101 (Main Stream): High resolution and high bitrate. Best suited for high-quality recording and large-screen viewing where maximum detail is required.</li><li>Channel 102 (Sub Stream): Lower resolution and lower bandwidth. Recommended for high frame rate processing. Requesting this stream in quick succession will less likely to saturate the network bandwidth.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de9d14b6ff90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pulling Images from Your Tapo IP Cameras via RTSP]]></title>
            <link>https://ittigorn.medium.com/pulling-images-from-your-tapo-ip-cameras-via-rtsp-180a1f72b14b?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/180a1f72b14b</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cctv]]></category>
            <category><![CDATA[rtsp]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Wed, 22 Jul 2026 07:45:31 GMT</pubDate>
            <atom:updated>2026-07-22T07:54:55.270Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UJV9j5V1nCzghYeoPuge5Q.png" /></figure><p>You have a <strong>Tapo </strong>camera and want to programmatically pull images from it? This short guide would help you do exactly that.</p><p>In this article, I’ll try to keep it as simple as possible so it’s easy to do as a POC. We’ll start with a basic setup with the camera and the computer running this script on the same local network.</p><h3>Agenda</h3><p>We’ll use a short Python script to programmatically pull an image from a Tapo IP Camera via the same local network. The steps include:</p><ul><li>Enabling RTSP connection on “Tapo” mobile app</li><li>Setting up camera-specific configs for the script</li><li>Getting and configuring the script</li><li>Running the script</li></ul><h3>Programming language of choice</h3><p>In this guide, we’ll be using <strong>Python </strong>for ease of understanding, rapid prototyping and vast machine learning / AI library supports. With that said, please be aware that RTSP is a standard protocol and you can use other programming languages to connect to your camera in the same manner.</p><h3>Prerequisites</h3><ul><li>Basic knowledge of Python</li><li>Installation of Python and Pipenv</li><li>The computer running this script must be on the same local network as the camera</li><li>Access to “Tapo” mobile app (to enable RTSP connection) with the target camera already activated in the app</li></ul><h3>The “Tapo” mobile app</h3><p>This app is required in order to create a per-camera account and enabling RTSP connection. You should already have this app installed on your phone since it’s the only approach of activating your camera.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ehrUVuu1m3sGlCmHfOWV_A.jpeg" /><figcaption>Tapo app is available on app stores</figcaption></figure><h3>Enabling RTSP connection</h3><p>To enable RTSP, we’ll need to create an account for each camera. Open the “Tapo” app and open the camera you wish to enable then follow the steps in the picture below.</p><p>Don’t forget to write down the username and password. We’ll need this later in the code configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s1EexzkTruFYMPG1NDyHDw.png" /><figcaption>Follow these steps to create an account for each camera</figcaption></figure><h3>Getting the local IP address</h3><p>To connect to your camera, we’ll also need the local <strong>IP address </strong>of the camera</p><p>The IP address is shown in the Tapo mobile app. Go to “Device Settings” and view the “Device Info” page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RqoD0wsmV7PRSZqzZHJfmA.png" /><figcaption>Follow these steps to see the IP address</figcaption></figure><h3>Getting the script</h3><p>Clone the code from the following GitHub repository.</p><p><a href="https://github.com/ittigorn-tra/demo-rtsp-connect-tapo">GitHub - ittigorn-tra/demo-rtsp-connect-tapo: A sample project to test the local connection of a Tapo IP camera.</a></p><h3>Creating the required .env file</h3><p>From the content of env-template.txt file, save it as .env file and edit the following content with your own info.</p><ul><li>CAMERA_USER</li><li>CAMERA_PASS</li><li>CAMERA_IP</li></ul><h3>Creating a virtual Python environment with Pipenv</h3><p>pipenv install</p><h3>Running the script</h3><p><strong>Activating the virtual environment</strong></p><p>pipenv shell</p><p><strong>Running the script</strong></p><p>python sample.py</p><p>The result will be saved as temp/captured_frame.jpg</p><h3>Camera Channel (Stream Configuration)</h3><p>There are 2 streams you can use to get the images. This is configurable in the .env file. By default, I’ve already put it as CAMERA_CHANNEL=stream2 but it’s worth mentioning what that means and what are the options.</p><ul><li>Channel stream1 (Main Stream): High resolution and high bitrate. Best suited for high-quality recording and large-screen viewing where maximum detail is required.</li><li>Channel stream2 (Sub Stream): Lower resolution and lower bandwidth. Recommended for high frame rate processing. Requesting this stream in quick succession will less likely to saturate the network bandwidth.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=180a1f72b14b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connecting ESP32 MicroPython to AWS IoT Core]]></title>
            <link>https://ittigorn.medium.com/connecting-esp32-micropython-to-aws-iot-core-0c108720330a?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c108720330a</guid>
            <category><![CDATA[aws-iot-core]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[esp32]]></category>
            <category><![CDATA[micropython]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Sat, 09 May 2026 22:12:11 GMT</pubDate>
            <atom:updated>2026-05-09T22:12:11.577Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9EBZbnhTNNHOf5IE9YQeKw.png" /></figure><p>This article will help you get up and running with AWS IoT Core using your ESP32 and Micropython.</p><h3>Expectations</h3><p>Before we begin, I think it’s worth to discuss a bit about the expectations of using Micropython on an ESP32. Although Micropython enables fast prototyping and code portability, it does consume a huge amount of device’s resources such as memory and power.</p><p>It’s not a one size fits all solution and a lot of times not an ideal solution to go production with. It’s up to you to ultimately decide if it’s suitable for your goal, scenario and resources.</p><h3>About AWS IoT Core</h3><p>AWS IoT Core is a cloud service from Amazon Web Services<br> that allows devices such as the ESP32 to securely connect, send data, and communicate with other cloud services over the internet.</p><p>Using AWS IoT Core with an ESP32 makes it possible to remotely monitor sensors, control devices, and exchange real-time data. It also supports lightweight protocols such as MQTT, which are ideal for low-power microcontrollers like the ESP32, making the connection efficient and reliable for IoT projects.</p><h3>Prerequisites</h3><ul><li>A basic knowledge in using Git/GitHub</li><li>A basic knowledge in using Python</li><li>An AWS account</li><li>A familiarity on how to navigate the IoT Core section on AWS cloud console</li><li>A basic knowledge on MQTT communication scheme (publish/subscribe)</li></ul><h3>Overview of the agenda</h3><p>We’ll need to perform the steps below to get the device up and running on AWS IoT Core.</p><ol><li>Install Micropython on your device.</li><li>Getting the boilerplate source code.</li><li>Jot down your AWS IoT Core’s endpoint.</li><li>Create a “thing” on AWS IoT Core and download the necessary key files.</li><li>Download the AWS certificate file.</li><li>Prepping the Thonny IDE.</li><li>Place key and certificate files in “creds” directory</li><li>Configure secrets file.</li><li>Upload files onto your device.</li><li>Test it out.</li></ol><h3>Installing Micropython on your ESP32</h3><p>If you haven’t installed Micropython on your device, feel free to check out my other article on that <a href="https://medium.com/@ittigorn/installing-micropython-on-esp32-a3fb7a1a6c4d">here</a>.</p><h3>Getting the boilerplate source code</h3><p>I’ve created a boilerplate project for this purpose. You can clone it from the GitHub repository below.</p><p><a href="https://github.com/ittigorn-tra/boilerplate-micropython-aws-iot">https://github.com/ittigorn-tra/boilerplate-micropython-aws-iot</a></p><h3>Jot down your AWS IoT Core’s endpoint</h3><p>This endpoint is the URL where your device connects, send and receive data to/from. You’ll need to put this in the secret_configs.py later on.</p><p>Start by signing into your AWS Cloud Console and go to “IoT Core” service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*C2TTiLBAgSnsYwcH6kWPVA.png" /></figure><p>On IoT Core page, click on “Domain configurations” link on the left panel. Copy the endpoint’s URL and save it somewhere.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEFkd8qtfNH4ow7Vf24P5Q.png" /></figure><h3>Creating a “thing” on AWS IoT Core</h3><p>In this section, we’ll create a “thing” on AWS IoT Core via AWS cloud console. In order to do this, we’ll also need to create a “policy” to control the actions our “thing” can perform and attach it to our “thing”. After the creation, we’ll then download the necessary key and certificate files.</p><p>Now we’ll start to create a “thing”. On AWS IoT Core page, click on “Things” link on the left panel then click the “Create things” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fgao6-Ts4UJLSUweFL0_bw.png" /></figure><p>Choose “Create single thing” then click “Next”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*BNKEh96gyYPmPOI7Q30NdQ.png" /></figure><p>At this stage, you can just enter the “Thing name” and leave other settings as default. Click “Next”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LBfJuQnL3G-u60MHa-n25Q.png" /></figure><p>I’ll assume that this is the first time you create a “thing” and you don’t have any active policy for it. Don’t worry, we’ll create it in the next step. On this stage, just choose “Auto-generate a new certificate” and click “Next”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wSJjk8kwvX2sJBloaQOAPw.png" /></figure><p>At this stage, click the “Create policy” button. A new window will pop up. We’ll create a new policy in this separate window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*_kp2gDdAz8-4Iunt8_uR5g.png" /></figure><p>Prep the policy statement. Copy the policy from the code block below and replace 000000000000 with your own AWS account number.</p><p><strong>IMPORTANT </strong>: You need to replace the account number or the connection would always fail!</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;iot:Connect&quot;<br>            ],<br>            &quot;Resource&quot;: [<br>                &quot;arn:aws:iot:ap-southeast-1:000000000000:client/*&quot;<br>            ]<br>        },<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;iot:Publish&quot;,<br>                &quot;iot:Receive&quot;<br>            ],<br>            &quot;Resource&quot;: [<br>                &quot;arn:aws:iot:ap-southeast-1:000000000000:topic/*&quot;<br>            ]<br>        },<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;iot:Subscribe&quot;<br>            ],<br>            &quot;Resource&quot;: [<br>                &quot;arn:aws:iot:ap-southeast-1:000000000000:topicfilter/*&quot;<br>            ]<br>        }<br>    ]<br>}</pre><p>On the “Create policy” page, enter the “Policy name”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*WmITK-fPKv39fqYIF5XU7Q.png" /></figure><p>Click on the “JSON” button to switch to raw JSON tab and paste in the policy below then click “Create”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tSwmxrnYFGsJrSkDcsVFbQ.png" /></figure><p>You’ve now successfully created a policy. Next we’ll attach it to the “thing” we’re creating. You can close the policy page and go back to the “Create single thing” page that we left off.</p><p>On this page, click the “Refresh” button (the round-arrow icon). You should see the new policy pop up on the list. Put a checkmark on it and click “Create thing”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*809gN_ViN4PV19zbXMuGcA.png" /></figure><p>You’ll be presented with a popup to download the necessary files. Click “Download all” button and you’ll get a total of 5 files downloaded to your PC. Click “Done” to close the popup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*n2aqdUNIQpWPE2GsY9E8xw.png" /></figure><p>You’ll only need 2 files out of the 5 files downloaded from this step.</p><ul><li>File that ends with -certificate.pem.crt</li><li>File that ends with -private.pem.key</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*vdECzlHTW8lPeO3J9WbLjA.png" /><figcaption>We’ll only need these 2 files</figcaption></figure><p>Make sure to hold on to these files because we’ll have to put them in the “creds” directory in our boilerplate.</p><h3>Download the AWS certificate file</h3><p>The certificate is publicly available and can be downloaded via Amazon Trust Services’ repository</p><ol><li>Go to <a href="https://www.amazontrust.com/repository/">Amazon Trust Services’ repository</a></li><li>Under “<strong>Root CAs</strong>” section, click to download the “<strong>DER</strong>” version of “CN=Amazon Root CA 1,O=Amazon,C=US”. You’ll receive “<strong>AmazonRootCA1.cer</strong>”.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*JOQAaxr3XLb6Md1GwVHTKw.png" /><figcaption>Download the “<strong>DER</strong>” version</figcaption></figure><h3>Prepping the Thonny IDE</h3><p>I highly recommend Thonny IDE since it helps simplify the file management. You can get it from <a href="https://thonny.org/">thonny.org</a>.</p><p>Once downloaded and installed, it is recommend to switch the UI to “regular mode” if you’re not already in that mode so it’s easier to follow along with this tutorial.</p><p>Look at the <strong>top-right corner</strong>, if you see “<strong>Switch to regular mode</strong>”, click it. Then close and open Thonny IDE back up again after doing so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*1diLh95e9J9SMhvAavB5uw.png" /><figcaption>Click this to switch to regular UI mode then restart Thonny</figcaption></figure><h3>Place key and certificate files in “creds” directory</h3><p>Place the following files in the “<strong>creds</strong>” directory inside the cloned boilerplate directory. Make sure to rename these files to match exactly as stated below.</p><ol><li>device_cert.pem.crt<br>(<strong>Device Certificate</strong> that you downloaded after creating a “thing” in AWS)</li><li>private.pem.key<br>(<strong>Private Key</strong> file that you downloaded after creating a “thing” in AWS)</li><li>AmazonRootCA1.cer<br>(<strong>Root Certificate </strong>that you downloaded from Amazon Trust Services)</li></ol><h3>Configure secrets file</h3><p>Open secret_configs_template.txt and <strong>save as</strong> secret_configs.py. Then make sure to replace the placeholder &#39;xxx&#39; text with your specific info into the secret_configs.py file content.</p><p><strong>AWS_IOT_ENDPOINT </strong>— The endpoint URL you got from AWS IoT Core’s “<br>Domain configurations” page. It should look something like &#39;xxxxxxxxxx-ats.iot.ap-southeast-1.amazonaws.com&#39;<br><strong>MQTT_CLIENT_ID</strong> — It’s recommended to use your “thing” name here<br><strong>MQTT_TOPIC </strong>— A test topic that you want to try subscribing to such as &#39;demo_device/test&#39;<br><strong>WIFI_PWD </strong>— Your WiFi password<br><strong>WIFI_SSID </strong>— Your WiFi name</p><h3>Upload files onto your device</h3><p>Plug your ESP32 into a USB port of your PC. In Thonny IDE, click on the 3-bars icon on the bottom-right corner and choose your device. The port number may be different on your PC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*YLu_vA7feaR0U6W-tu1Y8g.png" /><figcaption>Choose your device</figcaption></figure><p>After the connection has been established, you should see the device’s file list and a Python prompt on the terminal. Your device is now ready for file transfer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*YwCt9vpr0Oincd10GCJ-dw.png" /></figure><p>On the top-left corner, in the “Files” section, navigate to the boilerplate directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/242/1*kmQAJO2bJgRAIaselquy5g.png" /></figure><p>Select only these files / directories below, right click and choose “<strong>Upload to /</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*LD4JrxVJD0IpepdaegV5Ug.png" /></figure><h3>Test it out</h3><p>From the file list on your Micropython device, double-click to open demo.py and run it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*b0iBZ5dGji6xzrxgkpBxkQ.png" /><figcaption>Click “Run current script”</figcaption></figure><p>If all goes well, you should see the log saying that that conntection to AWS IoT Core has been established in Thonny IDE’s terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*2af_v3Ihf1nR-Y4XHiAOPA.png" /></figure><p>Go to IoT Core page on the AWS Cloud Console and click on “MQTT test client” link on the left panel.</p><p>Put in the topic name that you specified before in the secret_config.py and click “Publish”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*RCujC_Hr5FOAyljQMZPTVw.png" /></figure><p>Back in Thonny IDE, you should see the message arriving into the console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*flUq4q3oPdcfjMWgOK0ODg.png" /></figure><p>Congratulations! Hope you have fun building many more projects with AWS IoT Core.</p><p>Feel free to leave comments and questions if you have any.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c108720330a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Micropython on ESP32]]></title>
            <link>https://ittigorn.medium.com/installing-micropython-on-esp32-a3fb7a1a6c4d?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3fb7a1a6c4d</guid>
            <category><![CDATA[micropython]]></category>
            <category><![CDATA[microcontrollers]]></category>
            <category><![CDATA[esp32]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Fri, 08 May 2026 09:06:45 GMT</pubDate>
            <atom:updated>2026-05-08T09:06:45.405Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cYDp2stTjitreHkJwNqouw.png" /></figure><p>This is a short tutorial on how to get up and running with Micropython on your ESP32 devices.</p><h3>Cons of using Micropython on ESP32</h3><p>Well, you know all the advantages already if you’re using Python so I’ll just list out the ugly sides of it on a tiny ESP32 down here and you can decide whether or not to continue.</p><ul><li><strong>Performance Overhead</strong>: As an interpreted language, it is significantly slower than compiled C/C++ — estimates range from 8.5x up to 2000x slower depending on the specific task.</li><li><strong>Higher Memory Usage</strong>: The MicroPython runtime consumes a baseline of 600–700 KB of Flash and 40–60 KB of RAM, leaving less space for your actual application compared to C++. I personally faced this problem myself when writing a more complex OOP style or using too many libraries.</li><li><strong>Reduced Battery Life</strong>: Higher CPU overhead leads to increased power consumption, making it less ideal for devices running solely on small batteries.</li><li><strong>Library Availability</strong>: While growing, the ecosystem has fewer community libraries for niche hardware compared to the massive Arduino/C++ ecosystem. Some libraries may be outdated and needed to be modified before use.</li></ul><h3>Thonny IDE</h3><p>Thonny IDE is your best friend. It’s completely free and offers an intuitive UI that makes installing (flashing) Micropython on a new device a breeze. You can get it from <a href="https://thonny.org/">thonny.org</a>.</p><h3>2 ways of installing Micropython on your device via Thonny</h3><ol><li>Selecting your device’s model from the drop down menu.</li><li>Manually download the firmware binary from Micropython’s page. (Advanced)</li></ol><h3>#1 Approach — Selecting your device’s model from the drop down menu</h3><p>This approach is suitable for widely used models such as “DOIT DEVKIT v1”. Not recommended for models with additional RAM.</p><p>Feel free to try it out even if you’re not sure. You can re-install the firmware again if it isn’t working as expected.</p><ol><li>Open Thonny IDE.<br>If your Thonny doesn’t have the menu bar, make sure to click on “Switch to regular mode”, then close and open Thonny IDE back up again after doing so.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*1diLh95e9J9SMhvAavB5uw.png" /><figcaption>Click this to switch to regular UI mode. Make sure to restart Thonny afterward.</figcaption></figure><p>2. From the menu, select “Tools” -&gt; “Options”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*FO5-JxcQFlCgOlZfxfjMcw.png" /><figcaption>Choose “Options”</figcaption></figure><p>3. Go to “Interpreter” tab, then click on “Install or update Micropython (esptool) (UF2)”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*bVMhoszFeSuv5ifbKssKYw.png" /></figure><p>4. At this stage, you’ll need to choose 3 things.<br><em>4.1</em> Target port<br><em>4.2 </em>MicroPython family<br><em>4.3 </em>Variant</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*xrmISMF8nTVRnBIM0WkMVg.png" /><figcaption>Fill in your preferences</figcaption></figure><p>4.1 <strong>Target port</strong> — It may take a few seconds for your computer to scan the ports. Once scanning is completed, you can click the drop down menu and choose the right port.</p><p>If you’re unsure which port your device is plugged into, you can try by elimination by plugging and unplugging your device and see if it’s the one disappearing.</p><p>A quick search of the model number would also be useful. For instance, “<strong>CP2102</strong>” as in the picture would yield the info about ESP32 so you know it’s the right port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*6KbeScj7FImYpP-Rw9c43Q.png" /><figcaption>A quick search result on CP2102</figcaption></figure><p>4.2 <strong>MicroPython family </strong>— This step takes a bit of knowledge of the model you’re using but usually it’s clearly stated on the product page when you purchase your device.</p><p>4.3 <strong>Variant </strong>— This step also takes a bit of knowledge of the model you’re using but usually it’s clearly stated on the product page.</p><p>5. Click “Install” and Thonny will start to download the firmware that matches your configs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*6CyCM-qa-yZawwIQ1dMmfA.png" /><figcaption>After clicking “Install”, Thonny will download the firmware for you</figcaption></figure><p>6. Once you see the logs as below, flashing is done. Close the popup window. Press the “STOP” button in Thonny once and you should see the prompt in the terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*bM1QwdxotH014WjzVnoGBg.png" /><figcaption>Logs when flashing is done</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*SEPsBCizdEkjBL9DU8Pa6A.png" /><figcaption>Micropython prompt</figcaption></figure><p><strong>[ Optional ] Got a fatal error?</strong></p><p>If you get an error like in the picture below, you’ll need to put your device in “download mode” before flashing. Scroll down to see the fix in the next section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*mxLrqgCvu7xMme1783Xs3A.png" /><figcaption>Example of a fatal error</figcaption></figure><h3>#2 Approach — Manually download the firmware binary from Micropython’s page</h3><p>This approach is suitable for custom boards and boards with additional PSRAM such as ESP32-WROVER with SPI RAM (N16R8).</p><p>This is an advanced approach requiring you to know the technical detail of your board in order to choose the right firmware.</p><ol><li>Go to <a href="https://micropython.org/download/">Micropython download page</a></li><li>Choose the model of your ESP32. I’ll go with ESP32 / WROOM (Expressif) in this example</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/241/1*ktwqq-kgkwZfoU-7WeVNQw.png" /><figcaption>Choose your model</figcaption></figure><p>3. For this example, I’m downloading a firmware for ESP32-WROVER with SPI RAM (N16R8) so I’ll choose the latest firmware from the “<strong>Firmware (Support for SPIRAM / WROVER)</strong>” section. Wait for the download to finish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*c57pR2meLWj3HMLHdvECQg.png" /></figure><p>4. Open Thonny IDE.</p><p>5. From the menu, select “Tools” -&gt; “Options”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*FO5-JxcQFlCgOlZfxfjMcw.png" /><figcaption>Choose “Options”</figcaption></figure><p>6. Go to “Interpreter” tab, then click on “Install or update Micropython (esptool) (UF2)”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*bVMhoszFeSuv5ifbKssKYw.png" /></figure><p>7. In the popup window, select the target port. It may take a few seconds for your computer to scan the ports. Once scanning is completed, you can click the drop down menu and choose the right port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*_LQ-w_tdYTxlZnE77OXMTg.png" /></figure><p>8. Click on the 3-bars icon and choose “Select local Micropython image …”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*RmFX-D7AayY_huAWlCB2cg.png" /><figcaption>“Select local Micropython image …”</figcaption></figure><p>9. Choose the firmware file you’ve downloaded. After selecting the file, other info on the popup window should be filled out for you automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*kpuvpt7RI43GelnL148DOQ.png" /><figcaption>Select the firmware file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*0qtrjlSh9GQRnHByAKsslA.png" /><figcaption>Other info should be filled automatically after selecting the firmware file</figcaption></figure><p>10. Click “Install”.</p><p>11. Once you see the logs as below, flashing is done. Close the popup window. Press the “STOP” button in Thonny once and you should see the prompt in the terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*bM1QwdxotH014WjzVnoGBg.png" /><figcaption>Logs when flashing is done</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*SEPsBCizdEkjBL9DU8Pa6A.png" /><figcaption>Micropython prompt</figcaption></figure><p><strong>[ Optional ] Got a fatal error?</strong></p><p>If you get an error like in the picture below, you’ll need to put your device in “download mode” before flashing. Scroll down to see the fix in the next section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*mxLrqgCvu7xMme1783Xs3A.png" /><figcaption>Example of a fatal error</figcaption></figure><h3>How to fix fatal error: Wrong boot mode</h3><p>Some devices need to be put into the “download mode” before flashing a new firmware. Here’s a general approach on how to fix this.</p><p>Typically, your device should have 2 push buttons on it. These would be named “EN” and “BOOT”. You put the device into the “download mode” by pushing the combination of these 2 buttons as instructed below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*GKdAeFZ4dpI222ZXnW7W5w.png" /></figure><p>Please make sure you read all of the steps before performing this since you have a very small window of time to push the buttons. Repeat the process if it fails.</p><p><strong>Note on letting Thonny download the firmware automatically for you:<br></strong>If you go with the #1 approach (Selecting your device’s model from the drop down menu), if Thonny takes a long time to download the firmware, the device may go out of the download mode by the time the download finishes and flashing may fail. You may have to repeat the process again.</p><ol><li>On the “Install Micropython (esptool) popup in Thonny, press the “Install” button.</li><li>Press and hold “BOOT” button.</li><li>Press and release “EN” button.</li><li>Release “BOOT” button.</li></ol><p>With fingers crossed, you’ll see the logs as below. That’s it! Your Micropython is ready.</p><p>Close the popup window. Press the “STOP” button in Thonny once and you should see the prompt in the terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*fTPiWH0Lym6w2xEVG8IlWQ.png" /><figcaption>Logs when flashing starts</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*bM1QwdxotH014WjzVnoGBg.png" /><figcaption>Logs when flashing is done</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3fb7a1a6c4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working with Card Reader Module and ESP32]]></title>
            <link>https://ittigorn.medium.com/working-with-card-reader-module-and-esp32-deddce1ff2c1?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/deddce1ff2c1</guid>
            <category><![CDATA[esp32]]></category>
            <category><![CDATA[microcontrollers]]></category>
            <category><![CDATA[micropython]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 09:20:42 GMT</pubDate>
            <atom:updated>2026-03-25T05:26:49.616Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bhsn8jsYSaLFvs2uLLfEwQ.png" /></figure><p>This article is for everyone looking to get the MicroSD card module working with ESP32 and Micropython.</p><p>I had quite a bit of hassle getting this thing to work. All tutorials pointed to using the “sdcard” module in the builtin micropython library but that didn’t work at all.</p><p>So here I am writing this short article on the approach that actually works and hope it could save you guys some precious time.</p><h3>Objectives</h3><p>Read/write files on the MicroSD card using ESP32 and Micropython.</p><h3>The MicroSD card reader module</h3><p>The module that I use has no brand, just a generic I2C module you can find on the market. I bought mine for ฿12 (~$0.37) each.</p><p>Notice that this module <strong>has an on-board regulator</strong> so it can be supplied with 5v. Please recheck your module specs for the correct operating voltage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a2ik7MbmUTsIXW1tzuPWlA.png" /></figure><h3>BOM</h3><ol><li>ESP32 ( ESP32-WROOM-32 — 30 pins )</li><li>I2C Card Reader Module</li><li>MicroSD card</li><li>Dupont wires</li></ol><h3>Prepping the MicroSD card</h3><p>Make sure you format the MicroSD card with “FAT32” file system, not NTFS, not ExFAT.</p><h3>Wirings</h3><p>My setup is as below but please be noted that any available GPIO pin will work, just remember to change the pin number in the code.</p><ul><li>CS → GPIO 5</li><li>SCK → GPIO 18</li><li>MOSI → GPIO 23</li><li>MISO → GPIO 19</li><li>VCC → VIN (5v)</li><li>GND → GND</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*QsvJDau5cuGP7wP598jxvQ.png" /></figure><h3>Getting the “SDCard” library</h3><p>Copy sdcard.py from <a href="https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/storage/sdcard/sdcard.py">this repo</a> onto your ESP32.</p><h3>Basic usage of the library</h3><p>Create another file on ESP32 and try mounting the card to /sd directory.</p><p>This script will print out directories in your device’s root directory.</p><p>If the card is mounted successfully, the &#39;sd&#39; directory should appear after the second call of print(f’Root dir: {uos.listdir()}’)</p><pre>import uos<br>from machine import Pin, SoftSPI<br>from sdcard import SDCard<br><br>cs = 5<br>sck = 18<br>mosi = 23<br>miso = 19<br><br>spisd = SoftSPI(<br>    -1,<br>    miso=Pin(miso),<br>    mosi=Pin(mosi),<br>    sck=Pin(sck),<br>)<br>sd = SDCard(spisd, Pin(cs))<br><br>print(f&#39;Root dir: {uos.listdir()}&#39;)<br>vfs = uos.VfsFat(sd)<br>uos.mount(vfs, &#39;/sd&#39;)<br>print(f&#39;Root dir: {uos.listdir()}&#39;)</pre><h3>Optional wrapper class</h3><p>You can create a wrapper class on top of the original library for ease of use and cleanliness of the code.</p><p>Below is an example of the wrapper class that I created.</p><pre>import uos<br>from machine import Pin, SoftSPI<br><br>from sdcard import SDCard<br><br><br>class Card:<br><br>    def __init__(<br>        self,<br>        mount_point=&quot;/sd&quot;,<br>        cs=5,<br>        sck=18,<br>        mosi=23,<br>        miso=19,<br>    ):<br>        self._mount_point = mount_point<br>        self._cs = cs<br>        self._sck = sck<br>        self._mosi = mosi<br>        self._miso = miso<br><br>        self._mounted = False<br>        self._sd = None<br><br>    def mount(self):<br>        try:<br>            # Initialize SD card<br>            spisd = SoftSPI(<br>                -1,<br>                miso=Pin(self._miso),<br>                mosi=Pin(self._mosi),<br>                sck=Pin(self._sck),<br>            )<br>            self._sd = SDCard(spisd, Pin(self._cs))<br><br>            # Mount filesystem<br>            vfs = uos.VfsFat(self._sd)<br>            uos.mount(vfs, self._mount_point)<br><br>            # Verify<br>            uos.listdir(self._mount_point)<br><br>            self._mounted = True<br><br>        except Exception as e:<br>            print(&quot;[CARD ERROR] mount failed:&quot;, e)<br>            self._mounted = False<br><br>        return self._mounted<br><br>    def unmount(self):<br>        try:<br>            if self._mounted:<br>                uos.umount(self._mount_point)<br>                self._mounted = False<br>        except Exception as e:<br>            print(&quot;[CARD ERROR] unmount failed:&quot;, e)<br><br>    def is_ready(self):<br>        return self._mounted<br><br>    def ensure_dir(self, path):<br>        try:<br>            uos.listdir(path)<br>        except:<br>            try:<br>                uos.mkdir(path)<br>            except:<br>                pass<br><br>    def file_size(self, path):<br>        try:<br>            return uos.stat(path)[6]<br>        except:<br>            return 0<br><br>    def append(self, path, line):<br>        try:<br>            f = open(path, &quot;a&quot;)<br>            f.write(line + &quot;\n&quot;)<br>            f.close()<br>            return True<br>        except Exception as e:<br>            print(&quot;[CARD ERROR] append:&quot;, e)<br>            return False<br><br>    def remove(self, path):<br>        try:<br>            uos.remove(path)<br>        except:<br>            pass<br><br>    def rename(self, src, dst):<br>        try:<br>            uos.rename(src, dst)<br>        except:<br>            pass</pre><h3>Using the wrapper class</h3><p>Below is an example of how to write a log file</p><pre>import time<br>from sdcard_wrapper import Card<br><br><br># mount card<br>card = Card(&quot;/sd&quot;)<br>card.mount()<br><br>while not card.is_ready():<br>    time.sleep(1)<br>    print(&quot;waiting for card to be ready&quot;)<br><br># setup filename / directory<br>log_dir = &quot;/sd/logs&quot;<br>log_file = &quot;sample_log.txt&quot;<br>path = log_dir + &quot;/&quot; + log_file<br><br># create sample log message<br>msg = &quot;test log&quot;<br><br># append message to log file<br>try:<br>    card.ensure_dir(log_dir)<br><br>    ok = card.append(path, msg)<br>    if not ok:<br>        print(&quot;[ERROR] append failed&quot;)<br>    else:<br>        print(&quot;append successful&quot;)<br><br>except Exception as e:<br>    print(&quot;[ERROR]&quot;, e)</pre><h3>The source code is also available on GitHub</h3><p><a href="https://github.com/ittigorn-tra/boilerplate-micropython-card-reader">https://github.com/ittigorn-tra/boilerplate-micropython-card-reader</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=deddce1ff2c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ชุบชีวิต Creality Ender-5-Pro ด้วย BIGTREETECH SKR Mini E3 V3.0 เมนบอร์ดและ Klipper]]></title>
            <link>https://ittigorn.medium.com/%E0%B8%8A%E0%B8%B8%E0%B8%9A%E0%B8%8A%E0%B8%B5%E0%B8%A7%E0%B8%B4%E0%B8%95-creality-ender-5-pro-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-bigtreetech-skr-mini-e3-v3-0-%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%9A%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%94%E0%B9%81%E0%B8%A5%E0%B8%B0-klipper-59d287188456?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/59d287188456</guid>
            <category><![CDATA[klipper]]></category>
            <category><![CDATA[mainsail-os]]></category>
            <category><![CDATA[3d-printing]]></category>
            <category><![CDATA[creality-ender-5-pro]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Wed, 25 Feb 2026 15:46:52 GMT</pubDate>
            <atom:updated>2026-02-25T15:51:19.857Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fwyyZ3uJPns1sWVHGCHH-A.png" /></figure><p>English version: <a href="https://medium.com/@ittigorn/reviving-creality-ender-5-pro-with-bigtreetech-skr-mini-e3-v3-0-and-klipper-b00aae949528">https://medium.com/@ittigorn/reviving-creality-ender-5-pro-with-bigtreetech-skr-mini-e3-v3-0-and-klipper-b00aae949528</a></p><p>คู่มือนี้ตั้งใจให้สั้นและกระชับ หากต้องการรายละเอียดเพิ่มเติม เพื่อนๆ สามารถคอมเมนท์ไว้ได้ครับ</p><p>เป้าหมายของโปรเจกต์นี้คือทำให้เครื่องพิมพ์ Creality Ender-5-Pro เครื่องเก่ากลับมาใช้งานได้อีกครั้ง และสามารถตรวจสอบ/จัดการงานพิมพ์ผ่านเว็บเบราว์เซอร์เช่น Chrome ได้</p><p><strong>เมื่อทำตามขั้นตอนนี้เสร็จแล้ว เราควรบรรลุจุดประสงค์ในการ:</strong></p><ol><li>ใช้งานเครื่องพิมพ์ได้<strong>แม้ไม่มีหน้าจอ</strong>บนเครื่อง</li><li>ตรวจสอบ ปรับค่าต่างๆ ของเครื่อง และเริ่ม/หยุดชั่วคราว/ยกเลิกงานพิมพ์แบบ real time</li></ol><h3>อุปกรณ์ที่ต้องใช้</h3><ol><li>Creality Ender-5 Pro</li><li>BIGTREETECH SKR Mini E3 V3.0</li><li>การ์ด MicroSD (แนะนำขนาด &lt; 16GB) สำหรับแฟลชเฟิร์มแวร์</li><li>การ์ด MicroSD อีกใบ (สำหรับ Raspberry Pi)</li><li>Raspberry Pi (สำหรับรันเว็บเซอร์วิสในเครื่อง)</li><li>สาย USB (โดยทั่วไปเป็น USB-A → MicroUSB) สำหรับเชื่อมต่อ Pi เข้ากับเมนบอร์ดใหม่</li><li>คอมพิวเตอร์ และที่อ่านการ์ดสำหรับเขียนข้อมูลลง MicroSD</li></ol><h3>การเลือก Raspberry Pi</h3><p>ผมใช้ Raspberry Pi 3 v1.2 ที่มีอยู่แล้ว แต่คุณสามารถใช้ไมโครคอมพิวเตอร์รุ่นไหนก็ได้ที่ติดตั้ง Mainsail OS ได้</p><p>ความสามารถที่ต้องการใช้งานจะเป็นตัวกำหนดสเปกที่ต้องใช้ หากใช้งานกับเครื่องพิมพ์เพียงเครื่องเดียว และไม่ใช้ฟีเจอร์ที่กินทรัพยากรสูง (เช่น การเพิ่มกล้อง) แม้แต่รุ่นเล็กอย่าง Raspberry Pi Zero ก็เพียงพอครับ</p><h3>การเตรียม Raspberry Pi</h3><p>ใช้เครื่องมือ <a href="https://www.raspberrypi.com/software/">Raspberry Pi Imager</a> เพื่อเขียน “Mainsail OS” ลงในการ์ด MicroSD</p><ol><li>ดาวน์โหลดและติดตั้ง <a href="https://www.raspberrypi.com/software/">Raspberry Pi Imager</a> บนคอมพิวเตอร์</li><li>ใส่การ์ด MicroSD ที่เตรียมไว้สำหรับ Raspberry Pi ลงในคอมพิวเตอร์</li><li>เปิดโปรแกรม imager</li><li>เลือกรุ่น Pi ของคุณ แล้วกด “Next”</li><li>เลือก “Mainsail OS” ภายใต้เมนู<br>Other specific-purpose OS → 3D Printing → Mainsail OS x.x.x แล้วกด “Next”</li><li>เลือกการ์ด MicroSD แล้วกด “Next”</li><li>ตั้งค่า hostname (จะใช้เป็น URL สำหรับเข้าแดชบอร์ด)<br>ตัวอย่าง: หากตั้งชื่อว่า “my-printers” จะเข้าผ่าน <a href="http://my-printers.local/">http://my-printers.local/</a></li><li>เลือก locale</li><li>ตั้งค่า WiFi</li><li>เปิดใช้งาน SSH (แนะนำ)</li><li>รอจนเขียนและตรวจสอบข้อมูลเสร็จ (อาจใช้เวลาหลายนาที)</li><li>นำการ์ดออกจากคอมพิวเตอร์ ใส่ลงใน Raspberry Pi</li><li>เปิดเครื่อง อาจใช้เวลาเล็กน้อย ขึ้นอยู่กับสเปกของเครื่อง Pi ของคุณ</li><li>เปิดเว็บเบราว์เซอร์บนคอมพิวเตอร์ แล้วเข้าไปที่ hostname.local<br> คุณควรจะเห็นหน้าแดชบอร์ดของ Mainsail</li></ol><h3>เปลี่ยนเมนบอร์ดใหม่</h3><p><strong>สำคัญมาก</strong> ต้องทำก่อนเริ่มเปลี่ยน:</p><ol><li>ตัดการเชื่อมต่อแหล่งจ่ายไฟทั้งหมด</li><li>ใต้ฝาครอบล่างมีพัดลม (พัดลมบอร์ด) ระวังสายไฟเสียหายขณะเปิดฝา</li></ol><p>ขั้นตอน:</p><ol><li>ไขสกรู 4 ตัวเพื่อเปิดฝาครอบล่าง ระวังสายพัดลม</li><li>ถอดปลั๊กพัดลมบอร์ด (อาจมีกาวร้อนยึดอยู่ ให้ลอกออกก่อน)</li><li>ถ่ายรูปเมนบอร์ดเดิมทุกมุมเพื่ออ้างอิง</li><li>ลอกกาวร้อนที่ยึดขั้วต่อออก (ถ้ามี)</li><li>ถอดสายทั้งหมด</li><li>ไขสกรูเมนบอร์ดเดิมออก</li><li>ติดตั้งบอร์ดใหม่ ใช้สกรูเดิมได้ ขนาดและตำแหน่งรูส่วนใหญ่จะตรงกัน</li><li>เสียบสายกลับตาม<a href="https://medium.com/@ittigorn/%E0%B8%9C%E0%B8%B1%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B9%88%E0%B8%AD%E0%B8%AA%E0%B8%B2%E0%B8%A2%E0%B9%84%E0%B8%9F%E0%B9%80%E0%B8%9E%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B9%80%E0%B8%9B%E0%B8%A5%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%99%E0%B8%88%E0%B8%B2%E0%B8%81%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%9A%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%94%E0%B9%80%E0%B8%94%E0%B8%B4%E0%B8%A1%E0%B8%82%E0%B8%AD%E0%B8%87-creality-ender-5-pro-%E0%B9%84%E0%B8%9B%E0%B9%80%E0%B8%9B%E0%B9%87%E0%B8%99-bigtreetech-skr-mini-e3-v3-ba29991e43d3">แผนผังใน article นี้</a></li><li>เสียบพัดลมบอร์ดกลับ และปิดฝา</li></ol><h3>การสร้างเฟิร์มแวร์สำหรับเมนบอร์ด</h3><p>เมนบอร์ดต้องมีเฟิร์มแวร์เพื่อควบคุมมอเตอร์ อ่านเซนเซอร์ และสื่อสารกับ Raspberry Pi</p><ol><li>เข้าไปยัง <a href="https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/blob/master/firmware/V3.0/Klipper/README.md#build-firmware-image">GitHub repo ของเมนบอร์ด</a></li><li>เลือกดาวน์โหลด<a href="https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/blob/master/firmware/V3.0/Klipper/firmware-USB.bin">เฟิร์มแวร์สำเร็จรูปที่ถูก compile มาแล้ว</a> หรือ compile เองก็ได้</li><li>จะได้ไฟล์ .bin</li><li>ใส่ MicroSD (&lt;16GB) ลงในคอมพิวเตอร์</li><li>ลบข้อมูลทั้งหมด และคัดลอกไฟล์ .bin ลงไป</li><li>เปลี่ยนชื่อไฟล์เป็น firmware.bin (ต้องตรงตามนี้เท่านั้น)</li><li>ใส่การ์ดเข้าเครื่องพิมพ์ (หลังจากเปลี่ยนบอร์ดแล้ว)</li><li>เปิดเครื่องพิมพ์ รอจนแฟลชเสร็จ (ไม่มีตัวบอกสถานะ)</li><li>ถอดการ์ดออก</li></ol><p>ไม่ต้องห่วงนะครับ หากขั้นตอนไหนผิดพลาด สามารถแฟลชใหม่ได้</p><h3>การเชื่อมต่อ Raspberry Pi กับเครื่องพิมพ์</h3><ol><li>เปิดเครื่องพิมพ์</li><li>เปิด Raspberry Pi</li><li>ต่อสาย USB ระหว่าง Pi และเมนบอร์ดเครื่องพิมพ์</li><li>ใช้ Putty หรือเครื่องมือ SSH อื่นจากคอมพิวเตอร์ในเครือข่ายเดียวกัน</li><li>SSH เข้า Pi เช่น ssh user@printer.local</li><li>รันคำสั่ง ls /dev/serial/by-id/* คุณจะเห็น ID ของเครื่องพิมพ์ เช่น<br> usb-Klipper_stm32g0b1xx_38001C00135446524B343930-if00<br> (ID นี้อาจเปลี่ยนหลังแฟลชเฟิร์มแวร์)</li><li>เปิดเว็บเบราว์เซอร์ ไปที่ printer.local</li><li>เลือกแท็บ “Machine”</li><li>เปิดไฟล์ printer.cfg</li><li>คัดลอกเนื้อหาไฟล์จากตัวอย่างที่ถูกต้องกับรุ่นเครื่องจาก <a href="https://github.com/ittigorn-tra/klipper-configs/tree/main/btt_skr_mini_e3_v3/creality_ender_5_pro">GitHub repo นี้</a></li><li>ในส่วน [mcu] แก้บรรทัด serial: /dev/serial/by-id/xxx โดยแทน xxx ด้วย ID ที่คัดลอกมา</li><li>กด “Save and Restart”</li><li>หลังรีสตาร์ต ควรเชื่อมต่อสำเร็จ และเห็นอุณหภูมิ/สถานะเครื่อง</li></ol><h3>การปรับจูนอุณหภูมิ Hotend และ Heated Bed ด้วย `PID_CALIBRATE`</h3><p>เครื่องพิมพ์ต้องควบคุมอุณหภูมิให้อยู่ในช่วงที่แม่นยำมาก<br> การทำ PID Calibration จะช่วยให้การควบคุมอุณหภูมิเสถียร ไม่แกว่งสูงเกินหรือต่ำเกิน</p><p>หากข้ามขั้นตอนนี้ อาจทำให้อุณหภูมิไม่เสถียร และเครื่องไม่เริ่มพิมพ์</p><p><a href="https://medium.com/@ittigorn/%E0%B8%9B%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%88%E0%B8%B9%E0%B8%99%E0%B8%AD%E0%B8%B8%E0%B8%93%E0%B8%AB%E0%B8%A0%E0%B8%B9%E0%B8%A1%E0%B8%B4-hotend-%E0%B9%81%E0%B8%A5%E0%B8%B0-heatbed-%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87-3d-printer-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-klipper-848a7333f736">อ่านวิธีจูนได้จาก article นี้ครับ</a></p><h3>เอกสารอ้างอิง</h3><p><a href="https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/blob/master/hardware/BTT%20SKR%20MINI%20E3%20V3.0/Hardware/BTT%20SKR%20MINI%20E3%20V3.0%20user%20manual.pdf">คู่มือการใช้งานของ BIGTREETECH SKR Mini E3 V3.0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59d287188456" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ผังการต่อสายไฟเพื่อเปลี่ยนจากเมนบอร์ดเดิมของ Creality Ender-5-Pro ไปเป็น BIGTREETECH SKR Mini E3 V3.]]></title>
            <link>https://ittigorn.medium.com/%E0%B8%9C%E0%B8%B1%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B9%88%E0%B8%AD%E0%B8%AA%E0%B8%B2%E0%B8%A2%E0%B9%84%E0%B8%9F%E0%B9%80%E0%B8%9E%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B9%80%E0%B8%9B%E0%B8%A5%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%99%E0%B8%88%E0%B8%B2%E0%B8%81%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%9A%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%94%E0%B9%80%E0%B8%94%E0%B8%B4%E0%B8%A1%E0%B8%82%E0%B8%AD%E0%B8%87-creality-ender-5-pro-%E0%B9%84%E0%B8%9B%E0%B9%80%E0%B8%9B%E0%B9%87%E0%B8%99-bigtreetech-skr-mini-e3-v3-ba29991e43d3?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba29991e43d3</guid>
            <category><![CDATA[creality-ender-5-pro]]></category>
            <category><![CDATA[klipper]]></category>
            <category><![CDATA[3d-printing]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Wed, 11 Feb 2026 01:19:52 GMT</pubDate>
            <atom:updated>2026-02-25T15:57:44.033Z</atom:updated>
            <content:encoded><![CDATA[<h3>ผังการต่อสายไฟเพื่อเปลี่ยนจากเมนบอร์ดเดิมของ Creality Ender-5-Pro ไปเป็น BIGTREETECH SKR Mini E3 V3.0</h3><p>English version: <a href="https://medium.com/@ittigorn/original-creality-ender-5-pro-motherboard-to-bigtreetech-skr-mini-e3-v3-0-pin-mapping-0ef7ba03f180">https://medium.com/me/stats/post/0ef7ba03f180</a></p><p>Article นี้เป็นส่วนหนึ่งของ article “ชุบชีวิต Creality Ender-5-Pro ด้วย BIGTREETECH SKR Mini E3 V3.0 เมนบอร์ดและ Klipper” สามารถ<a href="https://ittigorn.medium.com/%E0%B8%8A%E0%B8%B8%E0%B8%9A%E0%B8%8A%E0%B8%B5%E0%B8%A7%E0%B8%B4%E0%B8%95-creality-ender-5-pro-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-bigtreetech-skr-mini-e3-v3-0-%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%9A%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%94%E0%B9%81%E0%B8%A5%E0%B8%B0-klipper-59d287188456">อ่านต่อได้ที่นี่ครับ</a></p><h3>คู่มือนี้ตั้งอยู่บนสมมติฐานว่า</h3><ol><li>คุณกำลังเปลี่ยนเมนบอร์ดเดิมของ Creality Ender-5-Pro ไปเป็น BIGTREETECH SKR Mini E3 V3.0</li><li>คุณยังคงใช้ Z-Axis endstop switch เดิม ของเครื่อง<br>(ไม่ได้ติดตั้ง CR-Touch หรือ BLTouch)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*6CXS3wr-gga5hw6DcQ4G0Q.png" /><figcaption>Pin Mapping</figcaption></figure><h3>Pin Mapping — คำอธิบายของแต่ละสี</h3><p>สีแดง: จำเป็นต้องต่อ<br>สีเหลือง: ต่อหรือไม่ต่อก็ได้ (ขึ้นอยู่กับการใช้งาน)</p><h3>ข้อสำคัญ! ก่อนเริ่มลงมือ</h3><ol><li>สายเทอร์มิสเตอร์ (Thermistor) ของ heatbed และ extruder ส่วนใหญ่มักจะเป็นสายสีเดียวกัน และไม่มีสัญลักษณ์บอกตำแหน่งอย่างชัดเจน<br>คุณอาจต้องเช็คสายเองว่าสายไหนวิ่งไปไหน และติดป้ายกำกับไว้เพื่อป้องกันการต่อผิด</li><li>ตรวจสอบ ขั้ว +- (polarity) ของแต่ละ pin header ให้รอบคอบก่อนเสียบสายทุกครั้ง</li></ol><h3>Pin Headers</h3><p><strong>EXP1</strong>: TFT Display</p><p><strong>XM</strong>: X-Axis stepper motor<br><strong>YM</strong>: Y-Axis stepper motor<br><strong>ZAM</strong>: Z-Axis stepper motor<br><strong>EM</strong>: Extruder stepper motor</p><p><strong>POWER</strong>: Input power from PSU</p><p><strong>HB</strong>: Heated bed heater<br><strong>E0</strong>: Extruder heater</p><p><strong>FAN0</strong>: Part cooling fan<br><strong>FAN1</strong>: Hotend fan<br><strong>FAN2</strong>: Motherboard fan (on bottom cover)</p><p><strong>X-STOP</strong>: X-Axis end stop switch<br><strong>Y-STOP</strong>: Y-Axis end stop switch<br><strong>Z-STOP</strong>: Z-Axis end stop switch</p><p><strong>THB</strong>: Heated bed thermistor<br><strong>TH0</strong>: Extruder thermistor</p><h3>อ้างอิง</h3><p><a href="https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/blob/master/hardware/BTT%20SKR%20MINI%20E3%20V3.0/Hardware/BTT%20SKR%20MINI%20E3%20V3.0%20user%20manual.pdf">Official user manual for BTT SKR Mini E3 V3.0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba29991e43d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ปรับจูนอุณหภูมิ Hotend และ Heatbed ของเครื่อง 3D printer ด้วย Klipper]]></title>
            <link>https://ittigorn.medium.com/%E0%B8%9B%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%88%E0%B8%B9%E0%B8%99%E0%B8%AD%E0%B8%B8%E0%B8%93%E0%B8%AB%E0%B8%A0%E0%B8%B9%E0%B8%A1%E0%B8%B4-hotend-%E0%B9%81%E0%B8%A5%E0%B8%B0-heatbed-%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87-3d-printer-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-klipper-848a7333f736?source=rss-27ba06894136------2</link>
            <guid isPermaLink="false">https://medium.com/p/848a7333f736</guid>
            <category><![CDATA[3dprintercalibration]]></category>
            <category><![CDATA[klipper]]></category>
            <category><![CDATA[3d-printing]]></category>
            <dc:creator><![CDATA[Ittigorn Tradussadee]]></dc:creator>
            <pubDate>Wed, 11 Feb 2026 01:01:07 GMT</pubDate>
            <atom:updated>2026-02-11T01:21:33.002Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*nWNBkC_IWf0DmEqmDJbQkA.png" /></figure><p>เครื่อง 3D printer ของเราต้องควบคุมอุณหภูมิให้อยู่ในช่วงที่แคบและแม่นยำมากในการทำงานแต่ละครั้ง การปรับจูนอุณหภูมิจะช่วยให้ระบบควบคุมความร้อนปรับขึ้นลงได้แม่นยำมากขึ้น ลดอาการอุณหภูมิพุ่งสูงเกิน (overshoot) หรือ ลดต่ำเกิน (undershoot)</p><p>ถ้าข้ามขั้นตอนนี้ไป ระบบควบคุมอุณหภูมิอาจทำงานไม่เสถียร และในบางกรณีเครื่องอาจไม่ยอมเริ่มพิมพ์งานเลย เพราะอุณหภูมิแกว่งไปมาอยู่ตลอด</p><p>คู่มือนี้สมมติว่าคุณพิมพ์งานด้วย <strong>PLA </strong>เป็นหลัก จึงตั้งค่าอุณหภูมิไว้ที่ 210°C สำหรับหัวฉีด (extruder / hotend) และ 60°C สำหรับ heatbed (แผ่นรองพิมพ์) หากคุณใช้วัสดุชนิดอื่น คุณสามารถปรับเปลี่ยนค่าอุณหภูมิในคำสั่งให้เหมาะกับการใช้งานของคุณได้ตามปกติ</p><h3>ขั้นตอนการคาลิเบรต</h3><ol><li>เปิดเครื่องพิมพ์ 3D</li><li>ตรวจสอบให้แน่ใจว่าเครื่องพิมพ์อยู่ที่อุณหภูมิห้อง และวางอยู่ในสภาพแวดล้อมเดียวกับที่คุณใช้พิมพ์จริงเป็นประจำ</li><li>เปิดเว็บเบราว์เซอร์ แล้วพิมพ์ hostname ของเครื่องพิมพ์ลงในช่อง URL ตัวอย่างเช่น printer.local</li><li>คาลิเบรตหัวฉีด (Extruder / Hotend), ไปที่ส่วน Console แล้วพิมพ์คำสั่ง pid_calibrate heater=extruder target=210 จากนั้นกด “Send”</li><li>หัวฉีดจะเริ่มร้อนขึ้นและเย็นลงสลับกันทั้งหมด 6 รอบ เมื่อกระบวนการเสร็จสิ้น รายงานผลการคาลิเบรตจะถูกแสดงในหน้า Console</li><li>พิมพ์คำสั่ง save_config ค่า PID เดิมจะถูกคอมเมนต์ทิ้งโดยอัตโนมัติ และ Klipper จะบันทึกค่าใหม่ลงในไฟล์ printer.cfg ให้เรียบร้อย</li><li>คาลิเบรต Heatbed (แผ่นรองพิมพ์) จะขั้นตอนคล้ายกัน โดยในส่วน Console พิมพ์คำสั่ง pid_calibrate heater=heated_bed target=60 Heatbed แล้วกด “Send” แผ่นรองพิมพ์จะเริ่มร้อนขึ้นและเย็นลงสลับกันทั้งหมด 6 รอบ</li><li>เมื่อเสร็จแล้ว รายงานผลจะปรากฏใน Console</li><li>พิมพ์คำสั่ง save_config เช่นเดียวกัน ค่าเดิมจะถูกคอมเมนต์ไว้ และค่าใหม่จะถูกบันทึกลงใน printer.cfg โดยอัตโนมัติ</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*fhVLnXVMcDRWhTd3a-pyqQ.png" /><figcaption>ตัวอย่างผลการคาลิเบรต</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=848a7333f736" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>