Not enough Arduino Pins? Try this I2C Port Expander! | Chip Tips #1: PCF8574
ฝัง
- เผยแพร่เมื่อ 14 มิ.ย. 2024
- In this first episode of Chip Tips, I'm diving into the versatile PCF8574 and exploring how it can be used to expand the number of I/O pins available to your microcontroller project. The video will cover how to wire it up, interfacing with I2C and example demonstration programs for both inputs and outputs.
Whether you're a beginner or an experienced maker, this video covers everything you need to know to get started with the PCF8574. Hopefully this can help improve your projects.
Code:
github.com/Terminal-Curiosity...
00:00 - Intro
00:31 - PCF8574 Background
01:44 - I2C Background
03:32 - Programming Outputs
04:34 - Programming Inputs
05:32 - Input Output Combo
06:46 - Interrupts
07:12 - Breakout Modules
07:45 - Conclusion
Buy me a coffee?
paypal.me/TerminalCuriosity - วิทยาศาสตร์และเทคโนโลยี
Great work, excellent tutorial and review! 👍😀
Seems expensive compared to some mcu's ...
Are you Australian?
Sure am!
Great video. These i2c expander are an awesome integrated circuit. For educational the pcf8574 is a good choice, but, if you are developing a product, search for more recent part numbers, I think the PCF of not recomendded for new designers. The TCA9548, for example, is a good choice.
Nice video.
Thanks for the great feedback! I agree, the PCF8574 is better suited to education than production. I mainly chose this because it suits an upcoming project I'm working on in the background
The sx1509 is also I2C and has some very powerful features, but with the downside of using a QFN footprint.