|
arduino-audio-driver
|
Device definition for the Hosyond 2.8inch ESP32-S3 Display. More...
#include "AudioBoard.h"Go to the source code of this file.
Classes | |
| class | PinsESP32S3HosyondDisplayClass |
| Pins definition for ESP32-S3 Hosyond Display with ES8311 AudioDriver & FM8002E Audio Amplifier. More... | |
Namespaces | |
| namespace | audio_driver |
| Namespace for audio driver components. | |
Macros | |
| #define | HOSYOND_AUDIO_PA_ENABLE 1 |
| #define | HOSYOND_BATTERY 9 |
| #define | HOSYOND_BOOT_BUTTON 0 |
| #define | HOSYOND_GPIO_EXPANDER_1 2 |
| #define | HOSYOND_GPIO_EXPANDER_2 14 |
| #define | HOSYOND_GPIO_EXPANDER_3 14 |
| #define | HOSYOND_GPIO_EXPANDER_4 21 |
| #define | HOSYOND_I2C_NUM 0 |
| #define | HOSYOND_I2C_SCL 15 |
| #define | HOSYOND_I2C_SDA 16 |
| #define | HOSYOND_I2C_SPEED 400000 |
| #define | HOSYOND_I2S_BCK 5 |
| #define | HOSYOND_I2S_DIN 6 |
| #define | HOSYOND_I2S_DOUT 8 |
| #define | HOSYOND_I2S_MCK 4 |
| #define | HOSYOND_I2S_WS 7 |
| #define | HOSYOND_RGB_LED 42 |
| #define | HOSYOND_SD_CS HOSYOND_SD_MMC_D3 |
| #define | HOSYOND_SD_MMC_CMD 40 |
| #define | HOSYOND_SD_MMC_D0 39 |
| #define | HOSYOND_SD_MMC_D1 41 |
| #define | HOSYOND_SD_MMC_D2 48 |
| #define | HOSYOND_SD_MMC_D3 47 |
| #define | HOSYOND_SD_MMC_SCK 38 |
| #define | HOSYOND_UART0_RX 43 |
| #define | HOSYOND_UART0_TX 44 |
Variables | |
| static AudioBoard | ESP32S3HosyondDisplay {AudioDriverES8311, PinsESP32S3HosyondDisplay} |
| static PinsESP32S3HosyondDisplayClass | PinsESP32S3HosyondDisplay |
Device definition for the Hosyond 2.8inch ESP32-S3 Display.
Information about this board can be found at https://www.lcdwiki.com/2.8inch_ESP32-S3_Display. The product page is accessible via the Hosyond site at https://hosyond.com/#:~:text=ESP32%20Display.
This will not work for the Hosyond 3.5inch display as the pins are different. Fortunately, both boards share the ES8311 for audio, however, this board uses an FM8002E for the power amplifier, compared to SC8002B. The PA's are pin compatible and are also enabled low via the Hosyond boards, so it should only be another pin remapping; the difference being the SC8002B can driver a higher output up to 3W.
| #define HOSYOND_AUDIO_PA_ENABLE 1 |
| #define HOSYOND_BATTERY 9 |
| #define HOSYOND_BOOT_BUTTON 0 |
| #define HOSYOND_GPIO_EXPANDER_1 2 |
| #define HOSYOND_GPIO_EXPANDER_2 14 |
| #define HOSYOND_GPIO_EXPANDER_3 14 |
| #define HOSYOND_GPIO_EXPANDER_4 21 |
| #define HOSYOND_I2C_NUM 0 |
| #define HOSYOND_I2C_SCL 15 |
| #define HOSYOND_I2C_SDA 16 |
| #define HOSYOND_I2C_SPEED 400000 |
| #define HOSYOND_I2S_BCK 5 |
| #define HOSYOND_I2S_DIN 6 |
| #define HOSYOND_I2S_DOUT 8 |
| #define HOSYOND_I2S_MCK 4 |
| #define HOSYOND_I2S_WS 7 |
| #define HOSYOND_RGB_LED 42 |
| #define HOSYOND_SD_CS HOSYOND_SD_MMC_D3 |
| #define HOSYOND_SD_MMC_CMD 40 |
| #define HOSYOND_SD_MMC_D0 39 |
| #define HOSYOND_SD_MMC_D1 41 |
| #define HOSYOND_SD_MMC_D2 48 |
| #define HOSYOND_SD_MMC_D3 47 |
| #define HOSYOND_SD_MMC_SCK 38 |
| #define HOSYOND_UART0_RX 43 |
| #define HOSYOND_UART0_TX 44 |