This shows you the differences between two versions of the page.
start [2023/01/02 11:30] scott [Project Setup] |
start [2023/01/10 01:39] (current) scott [Project Setup] |
||
---|---|---|---|
Line 11: | Line 11: | ||
* [[Milestone 5]]: (Implement a Complete Laser Tag Game with Sound) | * [[Milestone 5]]: (Implement a Complete Laser Tag Game with Sound) | ||
* [[Milestone 6]]: (Creative Project: Augment or Modify the Laser Tag System) | * [[Milestone 6]]: (Creative Project: Augment or Modify the Laser Tag System) | ||
- | * [[http://byu-cpe.github.io/ecen330/|Link to 330 Web Page]] | ||
---- | ---- | ||
Line 17: | Line 16: | ||
===== Class Overview ===== | ===== Class Overview ===== | ||
- | In this course you will construct a complex, multi-player laser-tag system that will help to integrate your knowledge and experience from the other three Junior-Core courses: ECEn 340 (Analog Circuit Design), ECEn 380 (Signal Processing), and ECEn 330 (Programming Embedded Systems). The theories, concepts and lab exercises from these three courses combine to complete an entire system. The analog designs from ECEn 340 provide the shot-firing LED, shot-detecting photo-diode and associated analog electronics to interface with the ECEn 330 board. The theories and algorithms that you learned about in ECEn 380 provide the signal-processing necessary to detect **when** a player has been shot and also to determine **which** player was the shooter. Finally, the programming exercises and experience with the ECEn 330 board from ECEn 330 will help you write the necessary 'C' code to create a final working system. | + | In this course you will construct a complex, multi-player laser-tag system that will help to integrate your knowledge and experience from the other three Junior-Core courses: ECEn 340 (Analog Circuit Design), ECEn 380 (Signal Processing), and ECEn 330 (Programming Embedded Systems). The theories, concepts and lab exercises from these three courses combine to complete an entire system. The analog designs from ECEn 340 provide the shot-firing LED, shot-detecting photo-diode and associated analog electronics to interface with the ZYBO board. The theories and algorithms that you learned about in ECEn 380 provide the signal-processing necessary to detect **when** a player has been shot and also to determine **which** player was the shooter. Finally, the programming exercises and embedded system experience from ECEn 330 will help you write the necessary 'C' code to create a final working system. |
The process of creating the laser-tag system is broken into several milestones. This helps students to schedule their effort and to focus on specific portions of the system during implementation. Please see the [[milestones|milestones page]] for more details. | The process of creating the laser-tag system is broken into several milestones. This helps students to schedule their effort and to focus on specific portions of the system during implementation. Please see the [[milestones|milestones page]] for more details. | ||
Line 43: | Line 42: | ||
===== Project Setup ===== | ===== Project Setup ===== | ||
- | Download this archive file and extract it into a working directory for your project called ecen390. The command to extract the archive is: | + | Download this archive file ({{:ecen390.tgz|ecen390.tgz}}) and extract it into your home directory (or another project directory if you prefer). After extracting it, you will have a new directory called ecen390. The command to extract the archive is: |
<code> | <code> | ||
tar -xzf ecen390.tgz | tar -xzf ecen390.tgz | ||
- | <\code> | + | </code> |
- | The project directory contains everything necessary to work on the lasertag system. <del>After extracting the project directory, make sure you run "make setup" from within the top-level directory. This will install the necessary programming tools for the ZYBO board.</del> | + | The ecen390 project directory contains everything necessary to work on the lasertag system. To setup the CMake build system, type the following commands: |
+ | |||
+ | <code> | ||
+ | cd ecen390/build | ||
+ | cmake .. | ||
+ | </code> | ||
+ | |||
+ | To build your project, type ''make'' from the ecen390/build directory: | ||
+ | |||
+ | <code> | ||
+ | make | ||
+ | </code> | ||
+ | |||
+ | To download and run your project on the ZYBO board, type the following from the ecen390/build directory: | ||
+ | |||
+ | <code> | ||
+ | make run | ||
+ | </code> | ||
---- | ---- |