Skip to content

dong777/stm32f429idiscovery-usb-screen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

32F429IDISCOVERY USB screen and MJPEG web cam streamer

This project has two parts, firmware that turns the $25 32F429IDISCOVERY board into a USB screen and a host app for Linux that uses the USB screen for displaying an MJPEG stream retrieved over HTTP (typically from a web camera).

32F429IDISCOVERY board:

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/data_brief/DM00094498.pdf

The firmware shows how to:

  • Implement a simple USB protocol on the 32F429IDISCOVERY.
  • Use the USB DMA to move data directly from the USB bus to the LCD screen.
  • Control the LEDs.

The host app shows how to:

  • Use libusb to interface with the USB screen.
  • Read and process a MJPEG stream using C++ and Boost.
  • Use Boost::ASIO to read an MJPEG stream.
  • Parse the MJPEG stream (multipart MIME).
  • Uncompress JPEGs in memory with IJG libjpeg.

Building the firmware

See the instructions here on how to set up an open source development environment on Linux:

https://github.com/tomvdb/stm32l1-discovery-basic-template

When things are set up properly, build and flash with:

make flash

Building the host application

Currently, there's no Makefile for the host project. Build as follows:

$ sudo apt-get install libboost-all-dev libjpeg-dev

$ ./make.sh

Technologies

  • C++
  • Boost::ASIO
  • IJG libjpeg

About

Turns the 32F429IDISCOVERY board into a USB screen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.5%
  • C++ 14.7%
  • Assembly 3.2%
  • LSL 1.3%
  • JavaScript 1.0%
  • CSS 0.3%