Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:start [2019/08/19 21:50] – Arthur Brownlearn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== ZedBoard FMC Pcam Adapter Two Camera Demo (Under Construction) ======+====== ZedBoard FMC Pcam Adapter Two Camera Demo ======
  
 +===== Overview =====
  
 +{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:full-demo.png |}}
  
-===== Overview ===== +//Fig.1 The demo in action - displaying data from both Pcam 5Cs.//
-{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:moving_hand.jpg |}} +
- +
-//Fig1.The demo in action - displaying all four Pcam 5C data.//+
  
 ==== Description ==== ==== Description ====
  
 This project demonstrates the usage of the FMC Pcam Adapter as an interface from two Pcam cameras and the ZedBoard platform. The Video Stream from each different camera passes in through the MIPI/FMC connectors and out through the carrier VGA port. For errors and feed-back messages, a UART interface is present. This project demonstrates the usage of the FMC Pcam Adapter as an interface from two Pcam cameras and the ZedBoard platform. The Video Stream from each different camera passes in through the MIPI/FMC connectors and out through the carrier VGA port. For errors and feed-back messages, a UART interface is present.
- 
  
 ==== Features Used ==== ==== Features Used ====
Line 66: Line 64:
 >Please follow the instructions that are listed in the "Demo Setup" section of the README file found in the project repository and ZIP archive, linked above. Keep in mind that the hardware platform and bitstream file must be exported before launching SDK. Return to this guide when prompted to check for additional hardware requirements and setup. >Please follow the instructions that are listed in the "Demo Setup" section of the README file found in the project repository and ZIP archive, linked above. Keep in mind that the hardware platform and bitstream file must be exported before launching SDK. Return to this guide when prompted to check for additional hardware requirements and setup.
  
->Plug one end of the VGA cable into the VGA port of the ZedBoard and the other end into the VGA monitor. Attach a USB micro cable between the J7 programming port and host computer. Attach a second USB micro cable between J14 UART port and host computer. After this, attach an external 12V power supply to the ZedBoard's power jack. Finally, make sure that the Zedboard's jumpers are configured such that VADJ is set to 3V3 and that the boot mode is set to JTAG (all MIO# jumpers are connected to SIG and GND). +>Plug one end of the VGA cable into the VGA port of the ZedBoard and the other end into the VGA monitor. Attach a micro USB cable between the J7 programming port and host computer. Attach a second USB micro cable between J14 UART port and host computer. After this, attach an external 12V power supply to the ZedBoard's power jack. Finally, make sure that the Zedboard's jumpers are configured such that VADJ is set to 3V3 and that the boot mode is set to JTAG (all MIO# jumpers are connected to SIG and GND).
->  +
->{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:overall_setup.jpg |}} +
-> +
->//Fig.2 Overall setup//+
  
 >First, make sure that all the Pcam connectors on the adapter in which you want to insert the FFC cable are open. Pull the black plastic tab on the edge of the connector out, away from the opening of the connector. This opens the connector, as it can be seen in the first image bellow. >First, make sure that all the Pcam connectors on the adapter in which you want to insert the FFC cable are open. Pull the black plastic tab on the edge of the connector out, away from the opening of the connector. This opens the connector, as it can be seen in the first image bellow.
Line 79: Line 73:
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_1_2.jpg |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_1_2.jpg |}}
 > >
->//Fig.3 First image shows the bottom of the FMC Pcam Adapter with the connectors left open, and the second image shows the FFC cable with the contacts facing up//+>//Fig.2 First image shows the bottom of the FMC Pcam Adapter with the connectors left open, and the second image shows the FFC cable with the contacts facing up//
  
 >After this, please ensure the FFC is fully inserted, and press both sides of the black plastic tab back towards the rest of the connector to latch the FFC in. Below two cables which are fully inserted can be seen. >After this, please ensure the FFC is fully inserted, and press both sides of the black plastic tab back towards the rest of the connector to latch the FFC in. Below two cables which are fully inserted can be seen.
Line 87: Line 81:
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:setup_3.jpg?600 |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:setup_3.jpg?600 |}}
 > >
->//Fig.4 Two properly connected cameras, and four properly connected cameras//+>//Fig.3 Two properly connected cameras//
  
->Finally, after both cameras are connected, connect the FMC connector to the ZedBoard. To ensure that it stays firmly in place you should use one or two bolts as you can see in the image below.+>Finally, after both cameras have been connected, connect the FMC connector to the ZedBoard. To ensure that it stays firmly in place, one to two bolts should be used, as seen in the image below.
 >  > 
-{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:setup_4.png?600 |}}+>{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:final-setup.png?600 |}}
 > >
 >//Fig.5 Final setup// >//Fig.5 Final setup//
Line 99: Line 93:
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:uart_fmc_pcam_adapter.png |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:uart_fmc_pcam_adapter.png |}}
 > >
->//Fig.6 Serial terminal that shows the Init. message//+>//Fig.4 Serial terminal that shows the Init. message//
  
 >If a camera is unconnected, a warning message will be seen. The program will skip this warning and will start to initialize the rest of the cameras. >If a camera is unconnected, a warning message will be seen. The program will skip this warning and will start to initialize the rest of the cameras.
Line 105: Line 99:
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:uart_fmc_pcam_disc.png |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:uart_fmc_pcam_disc.png |}}
 > >
->//Fig.7 Serial terminal that shows the Init. message and the incorrect initialization of camera A //+>//Fig.5 Serial terminal that shows the Init. message and the incorrect initialization of camera A //
  
->As stated before, if a camera is unconnected, the project will continue the initialization of the rest of the cameras, and the VGA monitor will output a gray image, signaling the lack of video data in the DDR memory. +>As stated above, if a camera is unconnected, the Zedboard will continue the initialization of the rest of the cameras, and the VGA monitor will output a gray image in that camera's region, indicating the lack of video data in the DDR memory. 
-{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:img_20190517_193745_1_.jpg |}}+{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-dual-camera-demo:port-b-disconnected.png?600 |}}
 > >
->//Fig.8 Output VGA image with the camera A disconnected//+>//Fig.6 Output VGA image with the camera A disconnected//
  
 {{tag>learn programmable-logic project add-ons pcam-5c fmc-pcam-adapter zedboard}} {{tag>learn programmable-logic project add-ons pcam-5c fmc-pcam-adapter zedboard}}