
HAN Pilot Platform
Demonstration Manual
42
www.terasic.com
September 6, 2019
Figure 2-42 AutoFan demo hardware setting up
Design Tools
Quartus Prime 18.0 Standard Edition
Demonstration Source Code
Quartus project directory: AutoFan
Bitstream used: AutoFan.sof
Demonstration Batch File
Demo batch file folder: demonstrations\AutoFan\demo_batch
Demonstration Setup
Connect the HAN Pilot Platform USB Blaster II port (J20) to the host PC with a USB cable
and install the USB-Blaster II driver if necessary.
Plug the 12V adapter to HAN Pilot Platform Board.
Set MSEL[2:0] to 010.
Power on the HAN Pilot Platform.
Execute the demo batch file “test.bat” from the directory \FPGA\AutoFan\demo_batch.The
fan rotation speed value is finally stabilized at RPM=3000. set SW1=1, the two seven
segments will display the current fan rotation speed value (display the thousands and the
hundreds, in decimal), set SW1=0, the two seven segments will display the FPGA
temperature value (display the tens and the ones, in decimal). LED[1:0] functions in this
demonstration are: when the Fan rotation speed is abnormal (ex, fan doesn’t rotate). LED0
lights up, when the FPGA temperature value is greater than 50ºC, LED1 lights up.
Summarizes the functional keys and details of each LED status.