ESP32-2432S0248R-PLUS

Productoverzicht
ESP32-2432S0248R-PLUS is een ESP32-WROOM-32E Het 2,8-inch kleuren touchscreen ontwikkelbord ontwikkeld door de draadloze communicatiemodule integreert LCD-scherm, XPT2046 resistieve touch, Type-C, TF-kaart, RGB-indicator, seriële poort en uitbreidingsinterface.
ESP32-2432S0248R-PLUS is a 2.8-inch touch display development board based on the ESP32-WROOM-32E wireless module, integrating LCD display, XPT2046 resistive touch, Type-C, TF card, RGB LED, UART and expansion ports.
Scenario's/toepassingen
Het is geschikt voor IoT-bedieningsterminals, smart home-bedieningspanelen, industriële gegevensweergave, sensoracquisitie en -weergave, onderwijsexperimenten, interactieve Wi-Fi-/Bluetooth-interfaces en andere projecten.
Suitable for IoT terminals, smart home panels, industrial data display, sensor monitoring, education, and Wi‑Fi / Bluetooth HMI projects.
Interface Callout/Interface Layout
Klantpresentatiegrafiek in het Chinees en Engels
Inhoud van de verpakking
Acrylversie/zonder acrylversie
Productkenmerken/Belangrijkste kenmerken
Product HighlightsDisplay & Touch
2,8 inch TFT LCD, resolutie 240 × 320, LCD driver ST7789, initialisatie aanbevolen BGR-kleurenreeks; Touch-chip met XPT2046(XP2046) Weerstandsaanrakingsschema.
2.8-inch TFT LCD, 240 × 320 resolution, ST7789 LCD driver with recommended BGR initialization; XPT2046 resistive touch controller.
Draadloos & Uitbreiding
ESP32-WROOM-32E ondersteunt 2,4 GHz Wi-Fi, Bluetooth/BLE, ingebouwde TF-kaarthouder, RGB-indicator, seriële interface, audio-interface en uitbreidingsinterface voor secundaire ontwikkeling.
ESP32-WROOM-32E supports 2.4GHz Wi‑Fi, Bluetooth / BLE. The board includes TF card slot, RGB LED, UART, audio and expansion ports.
Basisparameters/Basisspecificaties
Hardware Specification| Item/Item | Parameters/Specificatie |
|---|---|
| Productmodel/Model | ESP32-2432S0248R-PLUS |
| Hoofdmodule | ESP32-WROOM-32E |
| Draadloos | 2.4GHz Wi‑Fi 802.11 b/g/n, Bluetooth / BLE |
| Scherm | 2.8-inch TFT LCD, 240 × 320 |
| LCD-stuurprogramma | ST7789, BGR initialisatie/ST7789 met BGR initialisatie |
| Aanrakingstype | Weerstand biedende aanraking |
| Touch Chip/Touch Controller | XPT2046 / XP2046 |
| USB-interface/USB-poort | USB Type-C, voeding, downloaden, seriële foutopsporing/Voeding, programmering en seriële foutopsporing |
| Opslaginterface/opslag | TF / MicroSD Card Slot |
| Knoppen | SW1, SW2 |
| Lichten/Indicator | On-board RGB LED |
| Kaartformaat/bordformaat | 86mm × 50mm |
| Logisch niveau | 3.3V |
| Voeding | USB Type‑C 5V input / external 3.3V battery port |
| Ontwikkelomgeving/-ontwikkeling | Arduino IDE, PlatformIO, ESP-IDF, MicroPython compatible |
ESP32-WROOM-32E Moduleparameters
Core Module| Item/Item | Parameters/Specificatie |
|---|---|
| Modulemodel/module | ESP32-WROOM-32E |
| CPU | Xtensa ® dual-core 32-bits LX6 tot 240 MHz/tot 240 MHz |
| ROM / SRAM | 448KB ROM, 520KB SRAM, 16KB RTC SRAM |
| Flash | Normale 4 MB Flash, gebaseerd op batch/standaard 4 MB Flash, afhankelijk van batchconfiguratie |
| Wi‑Fi | 802.11 b/g/n,2.4GHz |
| Bluetooth | Bluetooth v4.2 BR/EDR and Bluetooth LE |
| Antenne | PCB-antenne aan boord |
| GPIO | De module kan meerdere GPIO's leveren en de daadwerkelijk beschikbare pinnen zijn gebaseerd op deze ontwikkelingsbordmapping/Beschikbare pinnen zijn afhankelijk van de kaartmapping |
| Modulegrootte | 18.0mm × 25.5mm × 3.1mm |
Interfacebeschrijving
Connector FunctionsUSB Type‑C
Gebruikt voor de voeding van het ontwikkelingsbord, het downloaden van programma's en het debuggen van seriële poorten.
Used for power supply, firmware programming and serial debugging.
2.0P audio-interface/audiopoort
De gereserveerde audio-gerelateerde interface kan worden gebruikt voor audio-ingang/uitgang of versterker-gerelateerde toepassingen, en de specifieke functies worden gedefinieerd door het gebruikersprogramma.
Reserved for audio input/output or amplifier-related applications depending on user firmware.
Externe uitbreidingspoort
Reserveer het SPI/GPIO-uitbreidingssignaal voor eenvoudige aansluiting op externe sensoren, randmodules of door de gebruiker gedefinieerde uitbreidingskaarten.
Reserved SPI / GPIO expansion signals for external sensors, modules or custom boards.
Externe 3,3 V batterijconnector/batterijpoort
De interfacespecificatie is 1,25 P, positief aan de linkerkant en negatief aan de rechterkant. Niet achteruit rijden, geen 5V invoeren.
1.25P connector. Left pin is positive, right pin is negative. Do not reverse polarity or input 5V.
1,25 P seriële interface/UART-poort
Seriële communicatie, debugging of externe seriële module.
Used for UART communication, debugging or external serial modules.
TF-kaartsleuf
Het kan worden gebruikt voor gegevensopslag, opslag van beeldbronnen, het lezen van profielen en andere toepassingen.
Used for data storage, image resources and configuration files.
GPIO-toewijzingstabel
From Uploaded Mapping Sheet| Module | Signaal/Zeefdruk/Signaal | GPIO | Code Macro's/Macro | Richting | Omschrijving/Omschrijving |
|---|---|---|---|---|---|
| Master | RESET | EN | LCD_RST=-1 | Invoer resetten | ESP32 EN verbinden zonder GPIO Connected to ESP32 EN; does not occupy a GPIO. |
| LCD/ST7789 | LCD_SCK | GPIO14 | LCD_SCK=14 | & Uitvoer | LCD SPI Klok VSPI LCD SPI clock, VSPI bus. |
| LCD/ST7789 | LCD_MISO | GPIO12 | LCD_MISO=12 | Enter | LCD SPI miso ST7789 Standaard geen scherm lezen LCD SPI MISO; ST7789 normally does not require screen readback. |
| LCD/ST7789 | LCD_MOSI | GPIO13 | LCD_MOSI=13 | & Uitvoer | LCD SPI MOSI LCD SPI MOSI data line. |
| LCD/ST7789 | LCD_RS / DC | GPIO2 | LCD_RS=2 | & Uitvoer | LCD-gegevens/opdrachtselectiepin LCD data/command select pin. |
| LCD/ST7789 | LCD_CS | GPIO15 | LCD_CS=15 | & Uitvoer | LCD-chipselectie LCD chip select. |
| LCD/ST7789 | LCD_BL | GPIO21 | LCD_BL=21; BACKLIGHT_PIN=21 | & Uitvoer | Bediening LCD-achtergrondverlichting LCD backlight control. |
| Touch/XPT2046 | RTP_IRQ / SENSOR_VP | GPIO36 | RTP_IRQ=36; TOUCH_IRQ=36 | Enter | Raak Interrupt Input Dedicated Foot aan Touch interrupt; input-only GPIO. |
| Touch/XPT2046 | RTP_DOUT / SENSOR_VN | GPIO39 | RTP_DOUT=39; TOUCH_MISO=39 | Enter | Raak SPI dout/miso-ingang speciale pinnen aan Touch SPI DOUT/MISO; input-only GPIO. |
| Touch/XPT2046 | RTP_DIN | GPIO32 | RTP_DIN=32; TOUCH_MOSI=32 | & Uitvoer | Raak SPI DIN/MOSI aan Touch SPI DIN/MOSI. |
| Touch/XPT2046 | RTP_CS | GPIO33 | RTP_CS=33; TOUCH_CS=33 | & Uitvoer | Raak Chipselectie aan Touch chip select. |
| Touch/XPT2046 | RTP_SCK | GPIO25 | RTP_SCK=25; TOUCH_CLK=25 | & Uitvoer | Raak SPI-klok aan Touch SPI clock. |
| Ijsbatterij | BAT_ADC | GPIO34 | BAT_ADC=34; BAT_ADC_PIN=34 | Enter | Accuspanning ADC-ingang speciale pinnen Battery voltage ADC; input-only GPIO. |
| RGB driekleurige lamp | RGB_R | GPIO17 | RGB_LED_R=17 | & Uitvoer | Aan boord worden RGB rode kanalen opgenomen door RGB = 17/22/16 On-board RGB LED red channel; RGB=17/22/16. |
| RGB driekleurige lamp | RGB_G | GPIO22 | RGB_LED_G=22 | & Uitvoer | Onboard RGB groene kanalen worden opgenomen door RGB = 17/22/16 On-board RGB LED green channel; RGB=17/22/16. |
| RGB driekleurige lamp | RGB_B | GPIO16 | RGB_LED_B=16 | & Uitvoer | Aan boord RGB blauwe kanalen worden opgenomen door RGB = 17/22/16 On-board RGB LED blue channel; RGB=17/22/16. |
| Geluid | AUDIO_IN | GPIO26 | AUDIO_IN=26 | Input/ADC | Audio-invoerreservering Reserved audio input. |
| Geluid | AUDIO_EN | GPIO4 | AUDIO_EN=4 | & Uitvoer | Audio/versterker inschakelen reservering Reserved audio/amplifier enable control. |
| Uitgebreide SPI | SPI_CS | GPIO27 | SPI_CS=27 | & Uitvoer | Uitgebreide SPI-chipselectie-reservering Reserved expansion SPI chip select. |
| SD-kaart | SD_MOSI | GPIO23 | SD_MOSI=23 | & Uitvoer | SD SPI MOSI reservering Reserved SD SPI MOSI. |
| SD-kaart | SD_MISO | GPIO19 | SD_MISO=19 | Enter | SD SPI miso reservering Reserved SD SPI MISO. |
| SD-kaart | SD_SCK | GPIO18 | SD_SCK=18 | & Uitvoer | SDI Klokreservering Reserved SD SPI clock. |
| SD-kaart | SD_CS | GPIO5 | SD_CS=5 | & Uitvoer | SD-kaart selectie reservering Reserved SD card chip select. |
Pakketversies
Acrylic / Non-AcrylicAcrylversie
- 1 Development Board
- 1 Acryl Hoes/1 Acryl Hoes
- 1 x 1,25 naar 4P DuPont-kabel/1 x 1,25 naar 4P DuPont-kabel
- 1 Pen/1 Touch Pen
- 1 USB Type ‑ C-kabel/1 USB Type ‑ C-datakabel
Niet-acryl versie
- 1 Development Board
- 1 x 1,25 naar 4P DuPont-kabel/1 x 1,25 naar 4P DuPont-kabel
- 1 Pen/1 Touch Pen
- 1 USB Type ‑ C-kabel/1 USB Type ‑ C-datakabel
- Omhulsel van acryl is niet inbegrepen
Aanbevolen initialisatieconfiguratie/aanbevolen initialisatie
ST7789 BGR + XPT2046TFT_eSPI Voorbeeldconfiguratie/TFT_eSPI Voorbeeld
#define ST7789_DRIVER
#define TFT_WIDTH 240
#define TFT_HEIGHT 320
#define TFT_MISO 12
#define TFT_MOSI 13
#define TFT_SCLK 14
#define TFT_CS 15
#define TFT_DC 2
#define TFT_RST -1
#define TFT_BL 21
#define TFT_BACKLIGHT_ON HIGH
// Important: use BGR color order
#define TFT_RGB_ORDER TFT_BGR
#define SPI_FREQUENCY 40000000XPT2046 Touch-configuratie/Touch-voorbeeld
#define TOUCH_IRQ 36
#define TOUCH_MISO 39
#define TOUCH_MOSI 32
#define TOUCH_CS 33
#define TOUCH_CLK 25Voorzorgsmaatregelen voor gebruik/Opmerkingen
Important1. GPIO logisch niveau is 3,3 V, sluit het 5 V-signaal niet rechtstreeks aan./GPIO logisch niveau is 3,3V. Sluit 5V-signalen niet rechtstreeks aan.
2. Externe 3.3V batterijconnector Let op de positieve en negatieve richting, links en rechts en negatief./Externe 3,3 V batterijpoort: links positief, rechts negatief.
3. GPIO34, GPIO36, GPIO39 zijn invoer speciale pinnen en kunnen niet worden gebruikt als gewone uitgangen./GPIO34, GPIO36 en GPIO39 zijn alleen-invoerpinnen.
4. Het LCD-scherm wordt aangedreven door ST7789, het wordt aanbevolen om het in te stellen op BGR-kleursequentie; als de kleur abnormaal is, controleer dan de RGB/BGR-instellingen./ST7789 BGR kleurvolgorde wordt aanbevolen. Als de kleuren verkeerd zijn, controleer dan de RGB/BGR-instelling.
5. De aanraakchip is XPT2046, aanraakkalibratie wordt aanbevolen na schermrotatie./XPT2046 aanraking kan kalibratie vereisen na rotatie van het scherm.
