Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delhatch/flipdot_video
Video streaming from a camera to a 58x24 pixel flipdot display. See the two flipdot_display*.mp4 videos. All processing in Verilog RTL (no softcore uP).
https://github.com/delhatch/flipdot_video
altera de2-115 flipdot flipdots fpga verilog
Last synced: about 1 month ago
JSON representation
Video streaming from a camera to a 58x24 pixel flipdot display. See the two flipdot_display*.mp4 videos. All processing in Verilog RTL (no softcore uP).
- Host: GitHub
- URL: https://github.com/delhatch/flipdot_video
- Owner: delhatch
- Created: 2017-12-21T01:04:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-03T03:02:27.000Z (almost 7 years ago)
- Last Synced: 2023-10-23T02:25:04.894Z (about 1 year ago)
- Topics: altera, de2-115, flipdot, flipdots, fpga, verilog
- Language: Verilog
- Homepage:
- Size: 18.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flipdot_video
This project interfaces with a D8M camera module, processes the image, and streams it to a flip-dot display.
A "flip-dot" display is made up of mechanical disks that flip back-and-forth to show white or black. They were popular as signs on buses, and at train stations. Each mechanical pixels reacts surprisingly fast. See the Demo_video2 link below to see it in operation.
![Demo_video1](https://github.com/delhatch/Flipdot_video/blob/master/flipdot_display_hardware.mp4)
If the link below does not work, download the demo video file from: https://github.com/delhatch/Flipdot_video/blob/master/flipdot_display_demo.mp4
![Demo_video2](https://github.com/delhatch/Flipdot_video/blob/master/flipdot_display_demo.mp4)
The incoming camera video (at 60 fps) is de-Bayered, a threshold is applied (black/white pixel), low-pass filtered, down-sampled, and then sent at 19,200 baud to a flip-dot display.
This project uses the Cyclone IV FPGA used in the DE2-115 evaluation board to:
a) configure and interface to the camera module, and
b) buffer the raw video into an SDRAM frame buffer. The FPGA has two VGA frame buffers and the FPGA creates the VGA waveforms for the monitor. A physical switch selects between one frame buffer that holds the RGB (normal) video, and a second VGA frame buffer that holds a full frame of the black/white pixel data. The .mp4 video included in this project shows me switching between the two.
c) Simulataneously with that, I down-samples the resolution (to the value defined in "flipdot_params.h"), and low-pass filter the video frames, and then store that data to a 56 x 24 bit flipdot frame buffer.
d) The final step is to have a (custom) UART read the flip-dot frame buffer and transmit the image to the flip-dot display at 19200 baud.
![image](https://github.com/delhatch/Flipdot_video/blob/master/flipdot_sign.JPG)
*** Possible Improvements ***
1) Auto-exposure control on the source video (to account for changing light conditions).
2) Temporally filter the pixels, or apply hysteresis, so that the flip-dot display does not flip pixels back-and-forth when there is no image motion (for pixels at the threshold of black/white).