Terasic TRDB-D5M User Manual

5 mega pixel digital camera development kit
Hide thumbs Also See for TRDB-D5M:

Advertisement

Quick Links

Terasic TRDB_D5M Digital Camera Package
Page Index

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TRDB-D5M and is the answer not in the manual?

Questions and answers

Summary of Contents for Terasic TRDB-D5M

  • Page 1 Terasic TRDB_D5M Digital Camera Package Page Index...
  • Page 2: Table Of Contents

    ..............................3 ETTING CHAPTER 2 TRDB_D5M ............................4 2.1 F ................................4 EATURES 2.2 P TRDB-D5M ..................5 OUT OF THE PIN CONNECTOR ON 2.3 P TRDB_D5M ................6 ESCRIPTION OF THE NTERFACE OF CHAPTER 3 DIGITAL CAMERA DESIGN DEMONSTRATION ................. 7 3.1 D...
  • Page 3: About The Kit

    A reference design CD. Figure 1-1 The TRDB_D5M (D5M) Package Content (CD not including) Please follow the step below to assemble your camera: Connect the D5M to your DE4 board as shown in Figure 1-2. www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 4 Figure 1-3 Connect the D5M to DE2-115 board’s expansion port Connect the D5M to your DE2-70 board as shown in Figure 1-4. Figure 1-4 Connect the D5M to DE2-70 board’s expansion port (outermost port). www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 5: Getting Help

    Figure 1-6 Connect the D5M to DE1 board’s expansion port (outermost port). Here are some places to get help if you encounter any problem:  Email to support@terasic.com  Taiwan & China: +886-3-5750-880  Korea : +82-2-512-7661  Japan: +81-428-77-7000 English Support Line: +1-408-512-1336 www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 6: Chapter 2 Trdb_D5M

    Column and row binning modes to improve image quality when resizing 10. Simple two-wire serial interface 11. Programmable controls: gain, frame rate, frame size, exposure 12. Automatic black level calibration 13. On-chip PLL www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 7: Pin - Out Of The 40- Pin Connector On Trdb-D5M

    Voltage 1.7V~3.1V Note. For detail specification of D5M, please refer to TRDB-D5M_Hardware specification.PDF PIXCLK XCLKIN RESETn TRIGGER STROBE LVAL FVAL SDATA SCLK VCC33 Figure 2-1. The pin-out of the 40-pin connector on TRDB_D5M www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 8: Pin Description Of The 40- Pin Interface Of Trdb_D5M

    SDATA Serial data SCLK Input Serial clock Not Connect VCC33 Power 3.3V Ground Not Connect Not Connect Not Connect Not Connect Not Connect Not Connect Not Connect Not Connect Not Connect Not Connect www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 9: Digital Camera Design Demonstration

    Connect the DVI TX output of the DVI daughter card to a DVI monitor. Copy the directory DE4_230/530_D5M_VGA from D5M System CD-ROM to the host computer. Download the bitstream (DE4_230/530_D5M_DVI.sof) to the DE4 board. The system enters the FREE RUN mode automatically. Press BUTTON www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 10 SXGA@1280*1024 and VGA@640*480 (note*). 13. After revision, regenerate the project and repeat above steps. Note: users should revise the parameter ‘PORT_SIZE_BYTES’ of the DDR2_ODIMM_Read/Write_Port modules in SOPC Builder under each resolution (640*480*4, 1280*1024*4 respectively) . www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 11: Camera Demonstration Setup O Nde2-115 Board

    Press KEY[2] to take a shot of the photo; you can press KEY[3] again to switch back to FREE RUN mode and you should be able to see whatever the camera captures on the VGA display.. www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 12 Frame counter (Display ONLY) 11. User can revise the header file "VGA_Param.h" in the project to select the system resolution between SVGA@800*600 and VGA@640*480. 12. After revision, regenerate the project and repeat above steps. www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 13: Configuring The Camera And Load The Image Captured To Your Pc

    KEY1 is pressed shorter. 10. Set the SW[16] to On (upper position), the captured image will be enlarged with KEY0 and KEY3 pressed in order. summarizes the functional keys of the digital camera. Table 3-3 www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 14 Meanwhile, the digital camera is set to photo-taking mode. Press KEY3 to switch back to FREE RUN mode. 13. Click ‘Save’ button to save the captured image as a JPG or BMP file. www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 15: Configuring The Camera (De2 Board Users )

    Users can use the SW[0] with KEY1 to set the exposure time for brightness adjustment of the image captured. When SW[0] is set to Off, the brightness of image will be increased as KEY1 is pressed longer. If SW[0] is set to On, www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 16: Configuring The Camera (De1 Board Users )

    . Make sure the D5M is connected to JP2 (GPIO 1) of the DE1 board. Download the bitstream (DE1_D5M.sof/pof) to the DE1 board. Connect the VGA output of the DE1 board to a VGA monitor. www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 17 Trigger the Image Capture (take a shot) KEY[3] Switch to Free Run mode Off: Extend the exposure time SW[0] On: Shorten the exposure time On: ZOOM in SW[8] Off: Normal display HEX[3:0] Frame counter (Display ONLY) www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 18: Block Diagram Of The Reference Design

    Figure 3-7 The block diagram of the digital camera design The below figure for DE4 only. Figure 3-8 The block diagram of the digital camera design for DE4 www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 19: Chapter 4 Appendix

    D5M on DE4 and DE2-115 Board Added June, 13, 2017 Modify DE2-115 demo We will be continuing providing interesting examples and labs on our TRDB_D5M webpage. d5m.terasic.com Please visit for more information. www.altera.com www.terasic.com TRDB-D5M User Manual June 13, 2017...
  • Page 20 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Terasic P0001...

Table of Contents