0Pricing
Arduino & IoT Academy · บทเรียน

เพิ่มบอร์ด ESP ใน IDE

ติดตั้งแพ็กเกจบอร์ดและเลือกชิป

เพิ่มบอร์ด ESP ใน IDE เป็นบทเรียน Arduino & IoT Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Arduino & IoT Academy และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Arduino & IoT Academy มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

The IDE Needs a Hint

Out of the box, the Arduino IDE only knows Arduino boards. To flash an ESP chip, you first teach the IDE where to find it. 🧩

Board Manager URLs

ESP support arrives through a Board Manager URL. It is a web link that tells the IDE where the board files live online.

Open Preferences

Start in File > Preferences. Near the bottom you will find the box labeled Additional Boards Manager URLs.

Paste the ESP32 URL

For the ESP32, paste Espressif's official package URL into that box. It points straight at the latest board definitions.

https://espressif.github.io/arduino-esp32/package_esp32_index.json

ESP8266 Has Its Own

Using an ESP8266 instead? It needs a different URL. You can list several in the box, separated by commas, and keep both.

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Open Boards Manager

Now go to Tools > Board > Boards Manager. This is the catalog where every installable board package shows up.

Search for Your Chip

Type esp32 or esp8266 into the search field. The matching package appears, ready for you to install with one click.

Click Install

Press Install and wait. The IDE downloads the compiler and tools for your chip, which can take a minute on the first run.

Find Your Board in the List

After it finishes, reopen Tools > Board. A fresh section now lists your ESP boards alongside the classic Arduino ones.

Select the Exact Model

Pick the precise model, like ESP32 Dev Module or NodeMCU. Choosing the wrong variant is a top cause of upload failures.

Verify It Compiles

Open a blank sketch and hit Verify. If it compiles for your ESP, the toolchain installed correctly and you are ready to upload.

void setup() {}
void loop() {}

Quick Check

Where do you paste the ESP package link so the IDE can find the board?

Recap

You added the ESP Board Manager URL in Preferences, installed the package, and selected your exact chip. The IDE now speaks ESP. 🎉

คำถามที่พบบ่อย

บทเรียน “เพิ่มบอร์ด ESP ใน IDE” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “เพิ่มบอร์ด ESP ใน IDE” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Arduino & IoT Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Arduino & IoT Academy มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “เพิ่มบอร์ด ESP ใน IDE”

ติดตั้งแพ็กเกจบอร์ดและเลือกชิป คุณปฏิบัติ Arduino & IoT Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Arduino & IoT Academy หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Arduino & IoT Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน

บทเรียน “เพิ่มบอร์ด ESP ใน IDE” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Arduino & IoT Academy นี้ได้ไหม

ได้ บทเรียน Arduino & IoT Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. ทำไม ESP32 และ ESP8266 จึงเหมาะกับ IoT
  2. เพิ่มบอร์ด ESP ใน IDE
  3. เชื่อมต่อ WiFi ในโหมดสถานี
  4. สร้างหน้าตั้งค่าจุดเข้าถึง
← กลับไปที่ Arduino & IoT Academy