Skip to content

ESP-IDF component library for Semtech SX1509 I/O expander

License

Notifications You must be signed in to change notification settings

Kentucky-Fried-Circuits/sx1509

Repository files navigation

sx1509 IO Expander ESP-IDF Library

ported from SparkFun SX1509 IO Expander Breakout. Uses esp-idf-lib for thread-safe operations. Not every operation is thread-safe yet.

ESP-IDF library for the sx1509 16-I/O expander. Capable of driving LEDs - with blink, and breathe functions - or monitoring up to 64 buttons in an 8x8 array.

Are you low on I/O? No problem! The sx1509 is a 16-channel GPIO expander with an I2C interface – that means with just two wires, your microcontroller can interface with 16 fully configurable digital input/output pins. But the SX1509 can do so much more than just simple digital pin control. It can produce PWM signals, so you can dim LEDs. It can be set to blink or even breathe pins at varying rates. This breakout is similar to a multiplexer or "mux," in that it allows you to get more IO from less pins. And, with a built-in keypad engine, it can interface with up to 64 buttons set up in an 8x8 matrix.

Since the I/O banks can operate between 1.2V and 3.6V (5.5V tolerant) independent of both the core and each other, this device can also work as a level-shifter.

Repository Contents

  • ** - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that would be highlighted in the Arduino IDE, but may not work in Platform IO.
  • library.properties - General library properties for the Arduino package manager, which is probably meaningless to Platform IO.

Documentation

Version History

see RELEASE.md

License Information

see LICENSE.txt

About

ESP-IDF component library for Semtech SX1509 I/O expander

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •