Skip to content

chuanjinpang/win10_idd_xfz1986_usb_graphic_driver_display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win10_idd_xfz1986_usb_graphic_driver_display

本项目是开源的,教程参考文件:win10_idd_xfz1986_usb_graphic_driver_display_readme。内有编译,安装,硬件连接等等信息。

单片机esp32s2+SPI屏实现一个win10 USB接口显示器。

本项目借鉴了众多开源项目,主要借鉴:

*1.github.com/microsoft/Windows-driver-samples/tree/master/video/IndirectDisplay

*2.git://github.com/roshkins/IddSampleDriver.git

*3.Bodmer/TFT_eSPI.git

*4.nopnop2002/esp-idf-ili9340

*5.serge-rgb/TinyJPEG.git

*6.TJpgDec。

目前FPS在~13FPS,纯黑屏幕时能摸到20FPS。 主机使用IDD显示驱动方案,将屏幕进行JPEG压缩,然后通过URB(USB请求包)发送到下位机。下位机解压并发DMA传输写屏达到高性能。下位机esp32s2只支持全速度12Mhz,所以必须高压缩的JPEG才能有高FPS. 为了获得较稳定的FPS,采用了动态码率策略,会依据图像情况,进行压缩率调整。

overview

it's a USB mini display for win10 with esp32-s2 kit board + SPI LCD display (ili9341 or st7789).

it refer many opensource projects: thanks

*1.github.com/microsoft/Windows-driver-samples/tree/master/video/IndirectDisplay

*2.git://github.com/roshkins/IddSampleDriver.git

*3.Bodmer/TFT_eSPI.git

*4.nopnop2002/esp-idf-ili9340

*5.serge-rgb/TinyJPEG.git

*6.TJpgDec。

esp32s2 support USB OTG, the Linux host compress framebuffer Zone with JPEG, and then issue URB to esp32s2, the S2 wil decode JPEG stream bytes to RGB data,and use DMA SPI to ili9341 screen.

now it can run ~13pfs in most time.

folder intro:

/bin include win10 driver and esp32-s2 hex bin files  windows10驱动和esp32s2的固件测试文件

/src 源代码目录 source code for host and device

esp-idf-esp32s2_usbdisp_firmware firmware source code for esp32s2 base esp-idf v4.3-beta3

win10_idd_xfz1986_usb_graphic_driver windows driver

win10_idd_xfz1986_usb_graphic_driver_display_readme.doc is a file for how to Hardware connect and other info in CN 主要的文档,有编译,安装与硬件连接图,元件清单等等

#install:

install win10 driver, flash your esp32-s2 board with bin files. then plus USB cable, it should work like below img.

Demo

image image image image

please seem below links for view demo:

https://www.bilibili.com/video/BV1tU4y1F7B6?spm_id_from=333.999.0.0

About

a win10 IDD graphic driver for esp32-s2 usb display, also can modify for other MCU device with usb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published