If one button is too little, and a matrix keyboard is too much, then this four-button Troyka module will be just right for you.
The single-unit module contains four buttons. They each share power, but have separate signal pins. By doing so, we halved the number of wires needed so you can save more space on your project.
Each button is a simple digital sensor. When the button is resting the sensor outputs a logical ‘1’ and when pressed a ‘0’. Each button works independently; they can be pressed one at a time or all at once.
Projects can be assembled in a matter of minutes, just connect the modules to the board with jumpers, add power, and your project is ready to go.
Connect the module via 3-pin jumper cable. The 3-pin jumper cables needed for the connection are included in the kit.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.