Pages created and updated by Terry Sturtevant Date Posted: February 27, 2018

CP316: Microprocessor Systems and Interfacing

Rotary Pulse Generator


Shaft encoders are very common. The rotary pulse encoder uses a shaft encoder. In this lab you will:



  1. Create a menu of at least five items, and have them display consecutively with a reasonable time interval between.
    Demonstration - show menu items

  2. Use the rotary pulse generator to move through the items, forward and backward. If necessary, divide the count so that the amount of rotation between items is reasonable.
    Demonstration - using the rotary pulse generator to move through items.

  3. Now use the switch, (SW3 on the schematic), to select an item. Display the word "SELECTED" under an item when the switch is pressed. It should be that when the button is released, the item remains selected until a different item is selected. In other words, if you continue scrolling through the menu, that item will appear as selected each time it shows up until you select something else.
    Demonstration - persistent selection


Creative Commons License

Information on this site which is produced by Terry Sturtevant is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License.


To view pdf documents, you can download Adobe Acrobat Reader .
get Acrobat Reader
If you need to update a browser, you might try Firefox which is Get Firefox!
Since this page uses cascading style sheets for its layout, it will look best with a browser which supports the specifications as fully as possible.

If you are looking for an office package, with a word processor, spreadsheet, etc., you might try LibreOffice which is Get LibreOffice!

Go to the main page for the Department of Physics and Computer Science.

Valid XHTML 1.1

Valid CSS!

(Level AA)

Wilfrid Laurier University