Professional Documents
Culture Documents
ECE 354
Additional Hardware
TRDB_D5M Digital Camera
Serial
S i lC
Connector
t and
d
Cable
CRT Monitor
ECE 354
Skills to learn
ECE 354
ECE 354
Lab2 Setup
[1]
[1] TRDB_D5M_Userguide
http://www.terasic.com.tw/attachment/archive/281/TRDB_D5M_UserGuide.pdf
p
_
_
p
ECE 354
Overview of DE2_NIOS_HOST_MOUSE_VGA
DE2 NIOS HOST MOUSE VGA project
Implements a monochrome display, with a preloaded image,
where the user can draw on it with a mouse
USB mouse should be connected USB HOST port
CRT monitor should be connected to the VGA port
You will integrate your code so that the project displays the
image received from digital camera
ECE 354
Based on DE2_NIOS_HOST_MOUSE_VGA
The
e program
p og a code is
s stored
sto ed in SRAM
S
memory
e o y
Parallel Input/output interface(PIO) for LED, switches
Camera Avalon Interface(Camera_IF) helps in transferring
image data
The dedicated SDRAM is used as a frame buffer that holds
a single frame of video at the time.
The SDRAM is controlled and accessed by using the fourfour
port controller hardware
Controller can be used to read or write to the SDRAM
through its four FIFO buffers.
buffers
Flash controller is used to control the data transfer to flash
memory
VGA controller
t ll di
displaying
l i
d
data
t on tto VGA
ECE 354
TRDB_D5M_Userguide
http://www.terasic.com.tw/attachment/archive/281/TRDB_D5M_UserGui
de.pdf
ECE 354
10
ECE 354
11
ECE 354
12
ECE 354
13
ECE 354
14
Additional information
The image should be 2-bit gray scale with a resolution of
640x480
Uncompressed image
I recommend starting with the smallest image resolution
and work from there
ECE 354
15
Image Processing
It is required that you implement two forms of
image processing
Recommendations include:
ECE 354
Add timestamp
p onto image
g
Counter to keep track of number of pictures taken
Rotate, mirror, invert image
Simple edge detection (challenging)
Detect changes in images (challenging)
16
17
ECE 354
18
ECE 354
19
Back up
ECE 354
20