1. บทนำ
The M5Stack ATOM Lite is a compact and versatile ESP32 IoT development board designed for embedded smart home devices and smart toy creation. Measuring only 24x24mm, it offers extensive GPIOs for customization. Powered by the ESP32-PICO chip, it integrates Wi-Fi technology and includes 4MB SPI flash memory for seamless connectivity and sufficient storage. The board features an Infra-Red LED, RGB LED, built-in buttons, and a HY2.0 interface, providing diverse interaction and connectivity options. Its 6 GPIOs allow easy connection to external sensors and actuators, expanding project capabilities. The on-board Type-C USB interface facilitates fast program upload and execution, streamlining the development process.

รูปที่ 1 : ด้านหน้า view of the M5Stack ATOM Lite development kit.

Figure 2: Size comparison of the ATOM Lite with a US quarter, illustrating its compact design.
2. เนื้อหาบรรจุภัณฑ์
The M5Stack ATOM Lite package includes the following items:
- 1 x ATOM Lite ESP32 IoT Development Kit

Figure 3: The M5Stack ATOM Lite development kit as packaged for retail.
3. ฮาร์ดแวร์โอเวอร์view
The ATOM Lite features several integrated components and interfaces for diverse applications.

Figure 4: Diagram illustrating the key components and interfaces of the ATOM Lite, including the IR-LED, RGB LED, internal button (G39), Reset button, external pins, USB-C port, and HY2.0-4P connector.
ส่วนประกอบหลัก:
- ESP32-PICO Microcontroller: Integrates Wi-Fi and Bluetooth capabilities.
- พอร์ต USB-C: สำหรับการจ่ายไฟและการสื่อสารข้อมูล (การเขียนโปรแกรม)
- HY2.0-4P Connector: A 4-pin connector for external modules and sensors.
- พิน GPIO: Six general-purpose input/output pins for connecting peripherals.
- RGB LED (G27): A programmable full-color LED.
- Infra-Red (IR) LED: สำหรับการสื่อสารด้วยคลื่นอินฟราเรด
- Built-in Button (G39): ปุ่มที่ผู้ใช้สามารถตั้งโปรแกรมได้
- ปุ่มรีเซ็ต: เพื่อรีสตาร์ทอุปกรณ์
- M2 Screw Hole: เพื่อวัตถุประสงค์ในการติดตั้ง

รูปที่ 5: ด้านบน view of the ATOM Lite, detailing the pinout for the HY2.0-4P connector and external GPIOs, including voltage (3V3, 5V) and ground (G) connections.
4. การเริ่มต้นใช้งาน (การตั้งค่า)
To begin using your M5Stack ATOM Lite, follow these steps:
4.1 การเปิดเครื่องและการเชื่อมต่อครั้งแรก
- Connect the ATOM Lite to your computer using a USB-C cable. The device will power on automatically.
- Upon connection, the RGB LED may illuminate, indicating power.

Figure 6: The ATOM Lite connected to a power source via a USB-C cable, with its RGB LED active.
4.2. การติดตั้งไดร์เวอร์
The ATOM Lite uses a standard USB-to-Serial chip (typically CP2104 or CH9102F). Most modern operating systems will automatically install the necessary drivers. If the device is not recognized, you may need to manually install drivers:
- For Windows/macOS/Linux, search for 'CP2104 driver' or 'CH9102F driver' online and download from the official Silicon Labs or WCH webเว็บไซต์.
4.3. การตั้งค่าสภาพแวดล้อมการพัฒนา
The ATOM Lite supports various development platforms:
- อาร์ดูอิโน IDE: Install the ESP32 board package in the Arduino IDE. Refer to the official ESP32 Arduino documentation for detailed instructions.
- ไมโครไพธอน: Flash MicroPython firmware onto the device. Tools like `esptool.py` can be used for this.
- UI-FLOW: M5Stack's block-based programming platform. Download the UI-FLOW desktop IDE or use the web เวอร์ชัน
- ESPHome: For Home Assistant integration, visit eshome.io for pre-built projects and flashing instructions.
5. การทำงานพื้นฐาน
5.1. Using the Built-in Button
The ATOM Lite includes a programmable button (GPIO39). This button can be used for various user inputs, such as triggering events, changing modes, or confirming actions within your programmed application.
5.2. Controlling the RGB LED
The integrated RGB LED (connected to GPIO27) is a versatile indicator. It can be programmed to display different colors and patterns to convey status, alerts, or other visual feedback.
5.3. Infra-Red (IR) Communication
The IR LED allows the ATOM Lite to send infrared signals, enabling control of IR-compatible devices such as televisions, air conditioners, or other consumer electronics. Programming libraries are available for encoding and decoding IR protocols.
6. การเชื่อมต่ออุปกรณ์ต่อพ่วง
6.1. HY2.0-4P Interface
The HY2.0-4P connector provides a convenient interface for connecting M5Stack's Grove-compatible modules and other peripherals. This connector typically includes power (5V), ground, and two data lines (e.g., I2C, UART, or digital I/O).
6.2. External GPIOs
The ATOM Lite exposes additional GPIO pins (G19, G22, G23, G26, G32, G33) for direct connection to custom circuits, sensors, and actuators. Refer to the pinout diagram (Figure 5) for specific pin assignments and capabilities.
7. การบำรุงรักษาและการดูแล
- เก็บอุปกรณ์ให้แห้งและห่างจากความชื้น
- หลีกเลี่ยงการให้อุปกรณ์สัมผัสกับอุณหภูมิที่สูงเกินไป
- Handle with care to prevent physical damage to the board and connectors.
- Clean the device with a soft, dry cloth if necessary. Do not use liquid cleaners.
8 การแก้ไขปัญหา
- อุปกรณ์ไม่ได้รับการรู้จักโดยคอมพิวเตอร์: Ensure USB-C cable is functional. Install appropriate USB-to-Serial drivers (CP2104/CH9102F) if not automatically detected.
- Program upload failure: Verify correct board and port selection in your IDE. Ensure drivers are installed. Try pressing the Reset button before uploading.
- ปัญหาการเชื่อมต่อ Wi-Fi: Check Wi-Fi credentials in your code. Ensure the device is within range of the Wi-Fi network.
- พฤติกรรมที่ไม่คาดคิด: Review your code for logical errors. Ensure all external connections are correct and secure.
9. ข้อมูลจำเพาะ
| คุณสมบัติ | ข้อมูลจำเพาะ |
|---|
| ชื่อรุ่น | ATOM Lite |
| หมายเลขรุ่นสินค้า | ซี008 |
| โปรเซสเซอร์ | ESP32-PICO |
| หน่วยความจำแฟลช | หน่วยความจำแฟลช SPI 4 MB |
| ประเภทไร้สาย | 802.11bgn (Wi-Fi) |
| แรม | เอสแรม |
| ระบบปฏิบัติการ | FreeRTOS (default, supports others) |
| เทคโนโลยีการเชื่อมต่อ | ยูเอสบี ไทป์ ซี |
| น้ำหนักสินค้า | 0.423 ออนซ์ |
| ขนาดสินค้า (กxยxส) | 0.94 x 0.94 x 0.94 นิ้ว |
| สี | สีเทา |
| ส่วนประกอบที่รวมอยู่ | 1 x ATOM Lite ESP32 IoT Development Kit |

รูปที่ 7: ด้านล่าง view of the ATOM Lite, showing regulatory markings including the FCC ID.
10. ข้อมูลการรับประกัน
สำหรับข้อมูลการรับประกันโดยละเอียด โปรดดูที่เอกสารอย่างเป็นทางการของ M5Stack website or contact their customer support directly. Warranty terms and conditions may vary based on region and point of purchase.
11. การสนับสนุนและทรัพยากร
For further assistance, technical documentation, and community support, please visit the official M5Stack website. You can find tutorials, examples, and forums to help with your development projects.
- M5Stack อย่างเป็นทางการ Webเว็บไซต์: https://m5stack.com/
- M5Stack Documentation: Refer to the product-specific documentation available on the M5Stack webเว็บไซต์.