ESP32S3 86 box development board with touch
PROESP32S3 86 box development board with touch
License
:GPL 3.0
Description
Using ESP32S3N8R8 as the main control 86 panel development board with touch.
Can be used for 86 panel development and LVGL development.
Please choose 1.2mm thickness when making boards.
Please choose 1.2mm thickness when making boards.
Please choose 1.2mm thickness when making boards.
Please use the version with CK suffix for IP5306, i.e. IP5306-CK.
Please use the version with CK suffix for IP5306, i.e. IP5306-CK.
Please use the version with CK suffix for IP5306, i.e. IP5306-CK.
Comments may not be replied so quickly. If you are in a hurry, please join the group to ask: 636426429.
Updated on 2024/01/01:
Added weather, video playback, picture browser, computer performance monitor all-in-one firmware.
Firmware author: Dusk in Sanaran
After burning, follow the prompts on the screen to complete the network configuration.
After the network configuration is completed, check the IP address of the 86 box in the router, and use the browser to open the address for configuration.
For specific usage details, please check: https://pressf5.run/?p=119
The TF card needs to be formatted as FAT32.
How to operate:
Swipe up on any interface and an operation menu will pop up for selection.
The firmware has an activation mechanism, follow the prompts to activate it.
2023/09/09 Update:
Hardware updated to version 1.4
Contents of this update:
TP4056 charging circuit is replaced with IP5306-CK charging and discharging circuit.
(Now you can directly plug in Type-C for power supply without plugging in the battery)
MP2155 DCDC buck-boost IC replaced with TLV62569DBVR DCDC buck IC.
MAX98357 power amplifier IC adds optional supply voltage jumper.
(Under 3.3V power supply, too much volume will cause sound distortion, but with 5V power supply, it will not )
Updated on 2023/06/28:
Added music player demo (supports lyrics display and album cover display)
Update all demo files to the latest.
Updated on 2023/03/27
Fix the invalid problem of demo touch file Touch.h.
Updated on 2022/12/23
Repair I2S audio circuit.
Add serial port IC (CH340K)
Add lithium battery charge and discharge IC (TP4056X)
Add DCDC buck-boost IC.
Add long press switch circuit.
Add shell.
All previous issues have been fixed.
Updated on 2022/11/7
Fixed the problem of wrong order of RGB pins in the new version of the playback source code (private Marseille, the wrong document was uploaded before)
2022/11/1 updated v1.2
Removed the I2S audio circuit and gave the extra pins to the SD card. Now the SD card circuit will not interfere with the picture.
The old version of the schematic has been uploaded to the attachment.
Updated on 2022/10/25
After testing in the past two days, I found that the memory card interferes with the screen. It may be caused by io reuse. Please do not use the memory card if it has been copied. Please wait for the update.
Updated on 2022/10/12
Added a MAX98357 power amplifier IC.
Updated on 2022/10/02
VNC client DEMO adds touch support, and you can use touch to reversely control the VNC server.
Let's take a look at the pictures:
Rendering:
Wall rendering:
Actual pictures:
Hardware configuration:
Screen: ST7701S
Touch: GT911
Charging: IP5306-CK
DCDC:TLV62569DBVR
Audio: MAX98357
Serial port: CH340K
Main control: ESP32S3 N8R8 (8M Flash 8M Psram)
Screen: compatible with Arduino_GFX library
Library file: (attached)
Arduino_GFX screen driver library: https://github.com/moononournation/Arduino_GFX
Touch driver library: https://github.com/TAMCTec/gt911-arduino
LVGL library: https://github.com/lvgl/lvgl
Please note when compiling:
ESP32 development board library version: 2.0.5.
Please note when burning:
Make the development board powered on before burning (press and hold for 3 seconds to power on)
Notice:
Since the 4-inch screen of the ST7701S is slightly different from each manufacturer, the driver may not be usable, so this project uses the SPI+RGB666 square screen of Huaxian Technology
TCL: https://item.taobao.com/item.htm?id=654496994484
If you are a diehard, you can also try other ST7701S square screens. There are 6 different ST7701S modes in the ArduinoGFX driver library. For details, please check the WIKI of the Arduino_GFX library: https://github.com/moononournation/Arduino_GFX/wiki/Display- Class
Screws: https://detail.tmall.com/item.htm?id=598853940789 Specifications: 2*5*4 (100 pieces)
Nut: https://detail.tmall.com/item.htm?id=20955552239 Specifications: M2.0 (100 pieces) 304
Trumpet: https://item.taobao.com/item.htm?id=684864879619 Specification: 2030 cavity -4Ω3W
Antenna specifications: 2.4GHz IPEX1 generation antenna
About the jumpers on the board:
J1 shorted: audio enabled.
J2 short circuit: touch INT is enabled (it does not mean that the touch screen cannot be used if it is not short, the INT pin needs to be shorted for special functions, such as touch gestures, etc.)
(J1 and J2 cannot be short-circuited at the same time)
J3 shorted volume gain 9dB.
J4 short circuit power amplifier 5V power supply.
J5 short circuit power amplifier 3.3V power supply.
(J4 and J5 cannot be short-circuited at the same time)
ArduinoIDE Configuration:
The attachment gives several DEMOs of ArduinoIDE.
DEMO1:
LVGL demo.
DEMO2:
VNC client demo, you can use Android devices to share the screen, and you can reversely control the server through touch.
Same screen software address: https://github.com/bk138/droidVNC-NG.
DEMO3:
MJPEG play demo, play mjpeg files in sd card.
Note: The above DEMO is modified from the ArduinoGFX sample file.
Video Conversion:
Since the video being played uses mjpeg picture frames, FFmpeg conversion is required.
FFmpeg download address: https://ffmpeg.org Or just go to Github and download it: https://github.com/BtbN/FFmpeg-Builds/releases
Instructions for use: When exporting the editing software, modify the resolution to 480x480 pixels and export to .mp4 format.
Download FFmpeg and unzip it, hold down the shift key and right-click the mouse in the FFmpeg.exe directory - open the PowerShell window here.
Execute the following command to convert mp4 files to mjpeg format.
./ffmpeg -i [Your mp4 file path] -vf "fps=12,scale=-1:480:flags=lanczos,crop=480:in_h:(in_w-480)/2:0" -q:v 9 [Output path and name]
For example:
./ffmpeg -i D:\video\1.mp4 -vf "fps=12,scale=-1:480:flags=lanczos,crop=480:in_h:(in_w-480)/2:0" -q:v 9 D:\video\480_12fps.mjpeg
After the conversion is completed, put the 480_12fps.mjpeg file into the root directory of the TF card.
Audio conversion:
Use Format Factory or editing software to convert the video to 44.1 kHz aac audio, rename it to 44100.aac file, and put it in the root directory of the TF card.
Install:
Align the PCB with the holes and fix it with screws and nuts.
Then peel off the double-sided tape on the back of the screen, install the screen into the groove of the casing, and insert the cable into the FPC seat.
Plug the speaker and battery into the corresponding sockets (be careful not to plug them in backwards)
The speaker is glued to the speaker position diagonally.
Then fix the battery to the back panel of the back cover with double-sided tape.
Use epoxy glue to glue the nuts to the screw locations on the back panel and wait for the glue to solidify.
Then cover the back cover and fix it with screws.
Then you can have fun playing.
Designed by 小渣渣 (from OSHWHub)
Comment