Code Monkey home page Code Monkey logo

vadrov / stm32f401ccu6-usb-vcp-clone-windows-desktop-to-display Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 2.71 MB

Playing streaming video (motion jpeg). The server (computer) continuously takes screenshots of the desktop, encodes them in jpeg and transmits via VCP them to the client (microcontroller). The microcontroller decodes the image and displays it on the display.

License: MIT License

C 93.78% Assembly 0.76% Makefile 3.17% C++ 2.28%
display jpeg jpeg-decoder jpeg-encoder jpeg-image-compression motion-jpeg screenshot-desktop screenshots stm32 stm32f401 stm32f401ccu6 vcp

stm32f401ccu6-usb-vcp-clone-windows-desktop-to-display's Introduction

Copyright (C)2023, VadRov, all right reserved / www.youtube.com/@VadRov / www.dzen.ru/vadrov

Cloning a Windows desktop image on a display connected to a microcontroller. Virtual com port. JPEG encoding and decoding.

The project demonstrates working with a virtual com port. Play streaming video (motion jpeg). The server (computer) constantly takes screenshots of the desktop, encodes them in jpeg and transfers them to the client (microcontroller) via USB (virtual COM port). The microcontroller decodes the image and shows it on the display.
MCU - blackpill stm32f401ccu6
Display - st7789 (and compatible). Supported by ili9341 - initialization string needs to be changed (set prefix ILI9341 in display add function)
Connection:

LCD_DC  ---> PA2
LCD_RES ---> PA3
LCD_CS  ---> PA4
LCD_SCL ---> PA5
LCD_BLK ---> PA6
LCD_SDA ---> PA7
  1. Connect the microcontroller board to the USB connector of the computer.
  2. Launch the terminal program from the folder of the same name.
  3. Select the com port to which the microcontroller is connected.

If everything went well, then a copy of the Windows screen should be displayed on the display connected to the microcontroller: 1704679158070

Author: VadRov
Contacts: Youtube Дзен VK Telegram
Donate: donate.yoomoney

stm32f401ccu6-usb-vcp-clone-windows-desktop-to-display's People

Contributors

vadrov avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

felixoon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.