Product | T-Embed-CC1101 |
---|---|
Module | ESP32-S3-WROOM-1U |
Flash | 16MB |
PSRAM | 8MB |
Screen | 320x170 |
T-Embed-CC1101 has a built-in Sub-GHz module based on a CC1101
transceiver and a radio antenna (the maximum range is 50 meters). Both the CC1101 chip and the antenna are designed to operate at frequencies in the 300-348 MHz, 387-464 MHz, and 779-928 MHz bands.
The Sub-GHz application supports external radio modules based on the CC1101 transceiver.
├─boards : Some information about the board for the platformio.ini configuration project;
├─data : Picture resources used by the program;
├─example : Some examples;
├─firmare : `factory` compiled firmware;
├─hardware: Schematic diagram of the board, chip data;
├─lib : Libraries used in the project;
Some examples are provided under the Project example folder, which can run on PlatformIO (PIO) and Arduion, but I prefer to use PIO because these examples are developed on PIO, All examples can run on PIO, However, you may encounter compilation errors on Arduion, but don't worry, the author will step up to test the compilation of Arduion environment.
Examples of compilation in Arduion environment:
- ✅ bq25896_test : Battery management test. Print the battery status in the serial port.
- ✅ cc1101_recv_irq :Wireless reception test, display received messages in the serial port.
- ✅ cc1101_send_irq :Wireless sending test, display sent messages in the serial port.
- ✅ display_test :Screen display test;
- ✅ encode_test :encoder tester
- ❌ factory_test :Factory programs can currently only be compiled and downloaded on PlatformIO;
- ✅ infrared_recv_test: Infrared test
- ✅ infrared_send_test: Infrared test
- ✅ lvgl_test :lvgl benchmark and stress testing;
- ✅ pn532_test :NFC test, display the IC card information in the serial port.
- ✅ tf_card_test :SD card test, the file name is displayed in the serial port.
- ✅ record_test : Record 15 seconds of audio and save it to your SD card.
- ✅ voice_test : Speaker test, read audio from SD card.
- ✅ ws2812_test :LED light test;
- Install Visual Studio Code and Python, and clone or download the project;
- Search for the
PlatformIO
plugin in theVisualStudioCode
extension and install it; - After the installation is complete, you need to restart
VisualStudioCode
- After opening this project, PlatformIO will automatically download the required tripartite libraries and dependencies, the first time this process is relatively long, please wait patiently;
- After all the dependencies are installed, you can open the
platformio.ini
configuration file, uncomment inexample
to select a routine, and then pressctrl+s
to save the.ini
configuration file; - Click ☑️ under VScode to compile the project, then plug in USB and select COM under VScode;
- Finally, click the ➡️ button to download the program to Flash;
❗ ❗ ❗ Notice: PlatformIO is more recommended because it may not be compiled with Arduion. You can refer to 2️⃣-Example to see which examples are successfully compiled in Arduion environment.
- Install Arduino IDE
- Install the esp32 toolkit, open the Arduion IDE, click on
File->Perferences
, Thenhttps://espressif.github.io/arduino-esp32/package_esp32_index.json
paste to the position of the diagram below, then click 🆗, waiting for the toolkit download is complete;
- Copy all files under
this project/lib/
and paste them into the Arduion library path (generallyC:\Users\YourName\Documents\Arduino\libraries
); - Open the Arduion IDE and click
File->Open
in the upper left corner to open an example inthis project/example/xxx/xxx.ino
under this item; - Then configure Arduion. After the configuration is completed in the following way, you can click the button in the upper left corner of Arduion to compile and download;
To be added...