{"title":"SparkFun Qwiic Navigation Switch","handle":"sparkfun-qwiic-navigation-switch","url":"/products/sparkfun-qwiic-navigation-switch","description":"Product Overview\n\nMeet the SparkFun Navigation Switch, a nifty little addition to your I²C bus that features a 5-way tactile switch akin to a joystick! This compact component allows you to interact with your microcontroller by pushing the switch in any of five directions—up, down, left, right, or centre—adding a new dimension to your project’s input options. Plus, the integrated RGB status LED provides immediate visual feedback for each action.\n\nOnboard, you'll find a 5-way tactile switch where each direction is connected to a momentary switch. These are read by the PCA9554 8-bit I²C I/O expander, which alerts the microcontroller when a switch is pressed. Subsequently, your microcontroller can control the RGB LED for visual indicators. Each LED channel can be individually disconnected from the PCA9554’s GPIO and rerouted to an alternative input if needed. An interrupt pin is also included, enabling your microcontroller to quickly detect state changes. Thanks to our handy Qwiic system, you can connect it to your setup without any soldering. For those who prefer a more traditional approach, we've also provided 0.1\"-spaced pins for breadboarding.\n\nIf your project requires multiple Qwiic Navigation Switches, worry not—each board comes with a configurable I²C address, allowing you to daisy-chain multiple switches via Qwiic and address each one uniquely.\n\nWe’ve crafted a basic example for the Qwiic Navigation Switch available in our GitHub Hardware repository. To interact with the PCA9554’s eight separate I/O pins, you'll need the SparkFun I²C Expander Arduino Library, which can be easily downloaded through the Arduino library manager or directly from GitHub.\n\nPerfect for projects that need extra input control, the Qwiic Navigation Switch can enhance your menu navigation or even serve as a nifty controller for a small robot!\n\nFeatures &amp; Specs\n\n\n\nInput voltage: 3.3V\n5-way tactile switch\nPCA9554 8-bit I²C I/O expander\n2x Horizontal Qwiic connectors\n2.2kΩ I²C pull-up resistors\n\nBreakout PTHs\n\n\nGND: Ground\n3V3: 3.3V\nSDA: I²C Data\nSCL: I²C Clock\nINT: Interrupt, active low\n5: GPIO5\n6: GPIO6\n7: GPIO7\n\n\n\nLEDs\n\n\nRGB non-addressable status\nRed power\n\n\n\nJumpers\n\n\nPower LED: PWR\nGPIO7/Red LED: 7\nGPIO6/Green LED: 6\nGPIO5/Blue LED: 5\nI²C pull-up resistors: I²C\nI²C selectable address (ADR2, ADR1, ADR0)\n0x20 (Default): 000\n0x21: 001\n0x22: 010\n0x23: 011\n0x24: 100\n0x25: 101\n0x26: 110\n0x27: 111\n\n\nBoard Dimensions: 25.4mm x 25.4mm\nWeight: 2.6g\n\n\nDocumentation\n\n\nSchematic\nKiCad Files\n3D Model\nBoard Dimensions\nHookup Guide\n\nDatasheets\n\n\nSF303GJ26 5-way Tactile Switch\nPCA9554\n\n\nArduino Library\nArduino Example Code\nQwiic Info Page\nGitHub Hardware Repo\n","vendor":"SparkFun","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":639,"title":"Default Title","sku":"SF-PRT-27576","mpn":"PRT-27576","price":19.61,"on_sale":false,"in_stock":true,"available_quantity":29,"option1":"Default Title"}]}