Product Description

I2C NavKey: 7 functions joypad on the I2C bus

What is it?

The I2CNavKey is a small board that includes a 7 functions joypad. The joypad has 4 directional keys plus a central button and a rotary ring. It is controllable with the I2C bus, and it's possible to configure 16 different I2C addresses.

The I2CNavKey has also 3 configurable GPIOs with the same footprint of RGB LED. This 3 GPIOs can be configured independently in 4 different way: input, output, PWM and analog input.

Since the I2CNavKey is a I2C slave, it has a series of 8 bit registers where it's possible to configure different parameters,it's also possible to detect when the buttons are pressed or when the ring is rotated.

It also has an open-drain output pin used as interrupt output. This pin is used to notify to the master when some event happens in the I2CNavKey, the source of interrupt can be customized.

Last but not least, it has also 256 bytes of EEPROM.

Features

  • I2C bus works up to 400kHz,
  • Possibility to add the pull-up resistors on the I2C   bus.
  • Possibility to customize the I2C address by   soldering the 4 SMD jumpers
  • Open-drain Interrupt output pin, so no need to   continuously poll the devices
  • There is a 5 pin JST-XH header
  • There are 3 General Purpose pins. (GP pins)
  • 256 byte of internal EEPROM divided into 2 banks of   128 byte
  • Voltage range is 2.5V to 5V
  • Dimension of the device is 42.5x42.5mm or   1.67x1.67in
  • 4 mounting holes with 3mm diameter
  • Open source firmware


White version in stock:

Pinout

Details

The I2C NavKey is powered by the MCU PIC16F18345. Inside of this MCU, there is a specific firmware that takes care of the functionality of the I2C NavKey and also the I2C communication with the external world. The I2C NavKey has several registers where is't possible to configure the board. E.g. detect when a key is pressed ecc... All the functionalities are described in the datasheet.



I2C registers:


Directional keys

The I2C NavKey has 4 directional key plus a central push button. It's possible to detect when the keys are pressed and when released, the central push button can be detected also when it is double pushed.

image.png


Central wheel.

The I2C NavKey has also central wheel that can be rotated left and right. It's possible to read the central wheal in the same way of the I2C Encoder V2

There are 4 registers:

  • CVAL: Current value of the Encoder.This value changes   every time the encoder rotates.
  • CMAX: Maximum value that CVAL can reach
  • CMIN: Minimum value that CVAL can reach
  • ISTEP: How much the CVAL has to increment at each and   every encoder step.

These 4 registers can be 32bit signed int, or as float numbers IEEE 754.

GPIOs

There are also 3 configurable GPIOs organized with the same footprint of an RGB LED. They are called GP1, GP2, and GP3.

image.png


Possible configuration:

  • PWM: In this way, you   can add an RGB LED.
  • Analog: The pins are   connected to the internal ADC of the PIC. In this way, you can add sensors   or potentiometer according to your project needs
  • Output: You can use the   pins as standard digital output
  • Input: You can use the   pins as standard digital input. Plus you can configure also the interrupt   on the edges

In case of usage as PWM, there is also the possibility to enable the gamma correction. There are 8 type of gamma correction:

  • Gamma 1 (linear)
  • Gamma 1.8
  • Gamma 2.0
  • Gamma 2.2
  • Gamma 2.4
  • Gamma 2.6
  • Gamma 2.8

There are also two large pad for the power supply. Fore example you can solder a potentiometer and use the GP pins for reading the analog value!

Interrupt

The I2C NavKey has an external interrupt, the INT pin, that became low when some event occurs. The event source is configurable in the configuration register. The INT pin is open drain, this means that a pull-up resistor is required. The I2C NavKey has an internall pull-up that can be activated.

Documentation:





  • Comments(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000

    You might like

    • TC Logger Device
      $35.00 or 4200 Beans
      Redeem Now
    • Solar Powered WiFi Weather Station V4.0-RA-02 Version(410-525MHz)
      $50.00 or 6000 Beans
      Redeem Now
    • Solar Powered WiFi Weather Station V4.0-RA-01H Version(803-930MHz)
      $60.00 or 7200 Beans
      Redeem Now
    • High Efficiency Circular Solar Panel–1.0W/5.5V
      $8.00 or 960 Beans
      Redeem Now
    • -23%
      Agon light
      $99.00 or 11880 Beans
      Redeem Now
    • Bytes Counter v1.0
      $25.00 or 3000 Beans
      Redeem Now
    • ATM90E32/36 Development Kit
      $50.00 or 6000 Beans
      Redeem Now
    • Speaker Delay & DC Protection Powersupply
      $29.00 or 3480 Beans
      Redeem Now
    • High Efficiency Mini Solar Panel - 0.55W / 5.5V
      $5.00 or 600 Beans
      Redeem Now
    • Amplifier Power Supply
      $80.00 or 9600 Beans
      Redeem Now
    • BassCrab uHAT
      $25.00 or 3000 Beans
      Redeem Now
    • AZ-ONEBoard-SHT30 extension board
      $8.00 or 1000 Beans
      Redeem Now
    • -10%
      AZ-ONEBoard-Modular development board
      $15.19 or 2000 Beans
      Redeem Now
    • Solar Powered WiFi Weather Station V3.0
      $50.00 or 5000 Beans
      Redeem Now
    • iCE40 Feather
      $55.00 or 5500 Beans
      Redeem Now
    • USB-Type-C to DIP 12 Pin Adapter Breakout-Board
      $3.00 or 300 Beans
      Redeem Now
    • CS5490 Breakout
      $18.00 or 1800 Beans
      Redeem Now
    • VU-Meter Audio Level Indicator
      $6.00 or 600 Beans
      Redeem Now
    • PIMASTER HAT THE IOT GATEWAY FOR THE RASPBERRY PI
      $31.00 or 3100 Beans
      Redeem Now
    • ATM90E26 Breakout
      $25.00 or 2500 Beans
      Redeem Now
    Product Name
    Link for reference
    Quantity