PSoC Lab 12: Rotary Encoder Module
Required Reading Material(s)
Theory on current experiment.
Required Components List
Circuit / Schematic Diagram
Related Reference Material(s)
Creating a New Project
Launch the PSoC Creator and create a New Project. In the New Project wizard, select Empty Schematic, edit the name of the Project and Workspace.
PSoC Components and TopDesign.cysch
After you create a project, the PSoC Creator will bring up the TopDesign.cysch tab, with an empty schematic. You need to add the following components to the TopDesign.cysch.
Sample Firmware Code
Building the code and Programming
You can build the project using the Build menu or Build icon . The Output panel shows the build results. Any errors will stop the build process and messages identifying these problems will be displayed in the Output panel.
To program the PSoC with the newly build firmware, connect the PSoC board to the PC using the USB cable. Load the program using either the Debug➤Program selection or the following Program icon . The programming status is also shown in the Output panel.
When programmed, you can test your system and observe the results.
Around five questions should be based on Required Reading Material. Two more challenging questions will require students to perform additional research for extra credit points