23
Demonstration Batch File
Demo Batch File Folder: Camera\demo_batch
The demo batch file includes the following files:
••••
Batch File: test.bat
••••
FPGA Configure File: Camera.sof
Demonstration Setup
••••
Load the bit stream into FPGA by executing the batch file ‘test.bat’ under Camera\demo_batch\
folder
••••
The system enters the FREE RUN mode automatically. Press S6 on the Altera Cyclone® V SoC
board to reset the circuit
••••
User can use the SW1.5 and S5 to set the exposure time for brightness adjustment of the image
captured. When SW1.5 is set to Off, the brightness of image will be increased as S5 is pressed
longer. If SW1.5 is set to On, the brightness of image will be decreased as S5 is pressed shorter
••••
User can use SW1.8 to mirror image of the line. However, remember to press S6 after toggle
SW1.8]
Note: execute the test.bat under Camera\demo_batch will automatically download
the .sof file.
Table 4-1 and Figure 4-7
summarizes the functional keys of the digital camera.
Figure 4-8
gives a
run-time photograph of the demonstration.
Table 4-1 The functional keys of the digital camera demonstration
Component Function Description
S6
Reset circuit
S5
Set the new exposure time (use with SW1.5 )
SW1.5
Off: Extend the exposure time
On: Shorten the exposure time
S1.8
Mirror image (use with S6)