#PCF8575
Explore tagged Tumblr posts
Text
Time Lapse Prototype Build! Adafruit PCF8575 I2C 16 GPIO Expander Breakout - STEMMA QT / Qwiic 🔧🔌⚙️
Expand your project possibilities, with the Adafruit PCF8575 GPIO Expander Breakout - an affordable 16 channel I2C expander. GPIO expanders work like this: you have a board with some number of GPIO but not enough for your project - maybe you need more buttons or LEDs. Connect it over I2C and then you can send/receive I2C commands to control the GPIO pins to write and read them. It's going to be slower than direct GPIO access, but maybe that doesn't matter if it takes a millisecond instead of a microsecond. You only need the two I2C pins, and you can even share the I2C port with other sensors and devices. Heck, you can even add more expanders for massive I/O control!
#adafruit#opensource#opensourcehardware#PCF8575#timelapse electronicsengineering#prototypebuild#gpioexpander#i2c#stemmaqt#diyprojects#makersgonnamake#hardwarehacks#affordabletech#expandableio#electronics#manufacturing#nyc
6 notes
·
View notes
Text
PCB Junk Drawer Turned Into Blinky Mosaic
We’ve all got a box full of old PCBs, just waiting to be stripped of anything useful. [Dennis1a4] decided to do something with his, turning it into an attractive mosaic that he hung on the wall of his new workshop. But this isn’t just a pile of old PCBs: [Dennis1a4] decided to use the LEDs that were on many of the old boards, creating a blinky junk build. That’s kind of neat in itself, but he then decided to go further, building in an IR receiver so he could control the blinkiness, and a PIR sensor that detected when someone was near the mosaic.
This whole setup is controlled by an ATMega328p that is driving a couple of PCF8575 port expanders that drive the LEDs. These blink in Morse code patterns. [Dennis1a4] also used an array of DIP switches on one of the boards to randomize the patterns, and wired in a pizeo buzzer on another board to make appropriate bleepy noises.
youtube
PCB Junk Drawer Turned Into Blinky Mosaic was originally published on PlanetArduino
0 notes
Text
Arduino library for Texas Instruments PCF8575C 16-bit I2C I/O expander
[I2cDiscreteIoExpander](https://github.com/4-20ma/I2cDiscreteIoExpander) is an Arduino library for the Texas Instruments PCF8575C 16-bit I2C I/O expander. The PCF8575C provides general-purpose remote I/O expansion for most microcontroller families via the I2C interface serial clock (SCL) and serial data (SDA). The device features a 16-bit quasi-bidirectional input/output (I/O) port (P07..P00, P17..P10), including latched outputs with high-current drive capability for directly driving LEDs. Each quasi-bidirectional I/O can be used as an input or output without the use of a data-direction control signal. At power on, the I/Os are in 3-state mode. The strong pullup to VCC allows fast-rising edges into heavily loaded outputs. This device turns on when an output is written high and is switched off by the negative edge of SCL. The I/Os should be high before being used as inputs. After power on, as all the I/Os are set to 3-state, all of them can be used as inputs. Any change in setting of the I/Os as either inputs or outputs can be done with the write mode. If a high is applied externally to an I/O that has been written earlier to low, a large current (IOL) flows to GND. The fixed I2C address of the PCF8575C is the same as the PCF8575, PCF8574, PCA9535, and PCA9555, allowing up to eight of these devices, in any combination, to share the same I2C bus or SMBus. Full [source code documentation](http://4-20ma.github.com/I2cDiscreteIoExpander/) is available.
0 notes