Skip to main content
Biamp Cornerstone

Generating a ring counter with presets or logic

This article describes how to use logic gates or presets to generate a ring counter functionality through the use of Logic gates and/or presets. A “ring counter” is also known as a circular shift register, and permits the use of a single input trigger to “circulate” through multiple actions. This is typically used to provide access to multiple functions from a single button. A common example would be to scroll through background sources using a single momentary-action push button or switch.  

Ring counter using presets

  1. Create a configuration as in the image below.
  2. Create four presets: one for each source selected.
  3. Each preset will contain the Source Selector block, set to select the required source; and the Preset Button block, having the next desired preset assigned. 
  4. Every time the Logic Input is actuated (by an external push button or switch, for example) a Preset will be triggered, selecting the next source and changing the assignment of the Preset Button so is ready to recall the next Preset at the next push of the external switch.

 clipboard_e1f1d6a4ec51e9a86dde4e70cb35c87aa

https://support.biamp.com/@api/deki/files/3059/Example_Ring_Counter.tmf

Ring counter using logic gates

  1. Add two Flip Flop, two NOT gate, and four AND gate as per the layout below.
  2. Connect the logic output of the AND gates to the desired logic input of the Source Selector.
  3. Connect the logic Output to the desired LED driver.

Using Logic gates

 

  • Was this article helpful?