arduino-audio-driver
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Variables
ESP32S3HosyondDisplay.h File Reference

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
 

Detailed Description

Device definition for the Hosyond 2.8inch ESP32-S3 Display.

Author
Rick Wargo

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.

Macro Definition Documentation

◆ HOSYOND_AUDIO_PA_ENABLE

#define HOSYOND_AUDIO_PA_ENABLE   1

◆ HOSYOND_BATTERY

#define HOSYOND_BATTERY   9

◆ HOSYOND_BOOT_BUTTON

#define HOSYOND_BOOT_BUTTON   0

◆ HOSYOND_GPIO_EXPANDER_1

#define HOSYOND_GPIO_EXPANDER_1   2

◆ HOSYOND_GPIO_EXPANDER_2

#define HOSYOND_GPIO_EXPANDER_2   14

◆ HOSYOND_GPIO_EXPANDER_3

#define HOSYOND_GPIO_EXPANDER_3   14

◆ HOSYOND_GPIO_EXPANDER_4

#define HOSYOND_GPIO_EXPANDER_4   21

◆ HOSYOND_I2C_NUM

#define HOSYOND_I2C_NUM   0

◆ HOSYOND_I2C_SCL

#define HOSYOND_I2C_SCL   15

◆ HOSYOND_I2C_SDA

#define HOSYOND_I2C_SDA   16

◆ HOSYOND_I2C_SPEED

#define HOSYOND_I2C_SPEED   400000

◆ HOSYOND_I2S_BCK

#define HOSYOND_I2S_BCK   5

◆ HOSYOND_I2S_DIN

#define HOSYOND_I2S_DIN   6

◆ HOSYOND_I2S_DOUT

#define HOSYOND_I2S_DOUT   8

◆ HOSYOND_I2S_MCK

#define HOSYOND_I2S_MCK   4

◆ HOSYOND_I2S_WS

#define HOSYOND_I2S_WS   7

◆ HOSYOND_RGB_LED

#define HOSYOND_RGB_LED   42

◆ HOSYOND_SD_CS

#define HOSYOND_SD_CS   HOSYOND_SD_MMC_D3

◆ HOSYOND_SD_MMC_CMD

#define HOSYOND_SD_MMC_CMD   40

◆ HOSYOND_SD_MMC_D0

#define HOSYOND_SD_MMC_D0   39

◆ HOSYOND_SD_MMC_D1

#define HOSYOND_SD_MMC_D1   41

◆ HOSYOND_SD_MMC_D2

#define HOSYOND_SD_MMC_D2   48

◆ HOSYOND_SD_MMC_D3

#define HOSYOND_SD_MMC_D3   47

◆ HOSYOND_SD_MMC_SCK

#define HOSYOND_SD_MMC_SCK   38

◆ HOSYOND_UART0_RX

#define HOSYOND_UART0_RX   43

◆ HOSYOND_UART0_TX

#define HOSYOND_UART0_TX   44