1. Introduction
The LILYGO T-Embed-CC1101 ESP32-S3 is a versatile development board designed for DIY electronics and programming enthusiasts. It integrates an ESP32-S3 microcontroller, a 1.9-inch LCD, a PN532 NFC/RFID module, and a CC1101 Sub-1 GHz RF transceiver, offering a comprehensive platform for various projects including wireless communication, human-machine interface development, and embedded systems.
2. Product Overview
The T-Embed-CC1101 features a compact design with a transparent or black housing, making its internal components visible. It includes a 1.9-inch LCD for display, an encoder for user input, and various integrated modules for expanded functionality.
Key Components:
- ESP32-S3 Microcontroller: Dual-core LX7 microprocessor for powerful processing.
- 1.9-inch ST7789 IPS TFT LCD: For clear visual output.
- CC1101 Module: Low Power Sub-1 GHz RF Transceiver for wireless communication.
- PN532 Module: NFC/RFID I2C Transceiver for proximity communication.
- Encoder: For navigation and input, with integrated buttons.
- Microphone: For audio input.
- Speaker: For audio output.
- WS2812 RGB LEDs: For visual feedback.
- TF Card Holder: For external storage.
- USB-C Port: For power and data transfer.
- Li-ion Battery: Built-in 1300mAh for portable use.
3. Specifications
| Feature | Description |
|---|---|
| MCU | ESP32-S3 with dual-core LX7 microprocessor |
| Wireless Communication | 2.4 GHz Wi-Fi, BLE 5 |
| Flash Memory | 16MB PSRAM, 8MB |
| Onboard Functions | Reset + Boot buttons, Infrared transmission and reception |
| CC1101 Transceiver | Low Power Sub-1 GHz RF Transceiver (Frequency bands: 300-348MHz, 387-464MHz, 779-928MHz) |
| PN532 Module | NFC/RFID I2C Transceiver Module |
| LCD | 1.9 inch ST7789 IPS TFT LCD, Resolution: 170(H)RGB x 320(V) |
| Power Supply | USB / Built-in 1300mAh Li-ion battery dual-mode |
| Battery Voltage Detection | PIN: 1004 |
| Dimensions (L x W x H) | 97.5mm x 39mm x 31mm |
| Type | Voltage Regulator |
| Condition | New |
4. Setup
4.1 Initial Power-Up
- Charge the Device: Connect the LILYGO T-Embed to a 5V USB power source using a USB-C cable. The internal 1300mAh Li-ion battery will begin charging.
- Power On: Press and hold the 'Boot' button (located near the USB-C port, as indicated in the pinout diagram) to power on the device.
- Observe Display: The 1.9-inch LCD should light up, displaying the default firmware interface.
4.2 Development Environment Setup
To program the T-Embed, you will need to set up a development environment. This typically involves:
- Installing the Arduino IDE or PlatformIO.
- Adding ESP32-S3 board support to your chosen IDE.
- Installing necessary libraries for CC1101, PN532, and ST7789 LCD.
- Connecting the T-Embed to your computer via the USB-C port for programming.
Refer to the official LILYGO documentation or community resources for detailed instructions on setting up the development environment and flashing custom firmware.
4.3 Pinout Diagram
Understanding the pinout is crucial for connecting external components and developing custom applications. The following diagram illustrates the pin assignments for various modules and interfaces.
Key Pinout Information:
- LCD (ST7789 TFT LCD): LCD_BL (IO21), LCD_DC (IO16), LCD_CS (IO41), LCD_CLK (IO11), LCD_MOSI (IO09), LCD_RES (IO40)
- CC1101: LORA_CS (IO12), LORA_SCK (IO11), LORA_MOSI (IO09), LORA_MISO (IO10), LORA_IO2 (IO38), LORA_IO0 (IO03), LORA_SW1 (IO47), LORA_SW0 (IO48)
- PN532 PIN: PN532_SCL (IO18), PN532_SDA (IO08), PN532_IRQ (IO17), PN532_RF_RES (IO45)
- IR: IR_EN (IO02), IR_RX (IO01), IR PIN
- Microphone: MIC_DATA (IO39), MIC_CLK (IO42)
- Encoder: Encoder_A (IO04), Encoder_B (IO05), Encoder_Button BOOT (IO00)
- WS2812 RGB: WS2812 control ID: IO14, 8 pieces
- TF Card Holder: SD_CS (IO13), SD_SCK (IO11), SD_MOSI (IO09), SD_MISO (IO10)
- I2S (Speaker Pin): I2S_BCLK (IO46), I2S_WCLK (IO40), I2S_DOUT (IO07)
- Qwiic/I2C: SDA (IO08), SCL (IO18)
5. Operating Instructions
5.1 Basic Interaction
- Encoder: Rotate the encoder to navigate through menus or adjust values on the LCD. Press the encoder button (BOOT button) to select items or confirm actions.
- Reset Button: A small reset button is available for restarting the device without power cycling.
- Boot Button: Used for entering bootloader mode during firmware flashing, and also serves as the encoder's push button.
5.2 Using Integrated Modules
- CC1101 (Sub-1 GHz RF Transceiver): Utilize the CC1101 for low-power, short-range wireless communication. This module is ideal for applications like remote control, sensor networks, and home automation. Programming involves using appropriate libraries to send and receive data packets on the supported frequency bands.
- PN532 (NFC/RFID Module): The PN532 enables Near Field Communication (NFC) and Radio-Frequency Identification (RFID) capabilities. It can be used for reading/writing NFC tags, peer-to-peer communication with other NFC devices, and card emulation.
- Infrared (IR) Transceiver: The integrated IR module allows for sending and receiving infrared signals, useful for controlling IR-enabled devices or implementing IR remote functionalities.
- Microphone and Speaker: The onboard microphone and speaker facilitate audio input and output, enabling projects involving voice recording, playback, or simple sound alerts.
- TF Card: Insert a microSD card into the TF card holder for data logging, storing firmware, or managing larger files for your projects.
6. Maintenance
- Cleaning: Use a soft, dry cloth to clean the device. Avoid using liquids or abrasive cleaners.
- Storage: Store the device in a cool, dry place away from direct sunlight and extreme temperatures.
- Battery Care: For optimal battery life, avoid fully discharging the battery frequently. If storing for extended periods, charge the battery to about 50%.
- Firmware Updates: Regularly check for firmware updates from LILYGO or the community to ensure optimal performance and access to new features.
- Physical Protection: While the housing offers some protection, avoid dropping the device or exposing it to excessive force.
7. Troubleshooting
7.1 Device Not Powering On
- Check Battery: Ensure the internal battery is charged. Connect the device to a USB power source and allow it to charge for some time.
- USB Connection: Verify the USB-C cable is securely connected to both the device and the power source/computer.
- Power Button: Ensure the 'Boot' button is pressed and held correctly to power on.
7.2 LCD Not Displaying
- Power Check: Confirm the device is powered on.
- Firmware Issue: The current firmware might not be initializing the LCD correctly. Try reflashing the firmware.
- Connection: While unlikely for an integrated display, ensure no physical damage to the LCD or its connections.
7.3 Programming Errors
- Driver Installation: Ensure all necessary USB-to-serial drivers for the ESP32-S3 are installed on your computer.
- Board Selection: Verify that the correct ESP32-S3 board is selected in your IDE.
- Port Selection: Confirm the correct serial port is selected.
- Bootloader Mode: For flashing, you might need to hold the 'Boot' button while pressing and releasing the 'Reset' button, then release 'Boot' to enter bootloader mode.
7.4 Wireless Communication Issues (CC1101/Wi-Fi/BLE)
- Antenna: Ensure any external antenna (if applicable) is properly connected.
- Code Logic: Double-check your code for correct initialization and usage of the wireless modules.
- Frequency Bands: Verify that the CC1101 is configured for the correct frequency band for your region and application.
8. User Tips
No specific user tips were available from reviews or Q&A for this product at the time of manual creation. However, general tips for development boards include:
- Start Simple: Begin with basic examples for each module (LCD, Wi-Fi, CC1101, PN532) before combining them into complex projects.
- Community Support: Leverage online forums and communities for ESP32-S3 and LILYGO products. Many common issues have already been discussed and solved by other users.
- Power Management: When running battery-powered projects, pay attention to power consumption. Optimize your code and use low-power modes of the ESP32-S3 to extend battery life.
- Documentation: Always refer to the latest official documentation and datasheets for the ESP32-S3, CC1101, and PN532 for in-depth technical details.
9. Warranty and Support
For warranty information, technical support, and further assistance, please refer to the official LILYGO website or contact the seller directly. Keep your purchase receipt as proof of purchase.
LILYGO often provides extensive documentation, example code, and community forums that can be valuable resources for your projects.