In this tutorial, I am going to talk about the PCF8574 8-bit GPIO port extender.
Did you ever get into a situation where you had to wire up two, three or more I2C sensors to your Arduino just to realize the limitation?
In this project, I am going to make a LAN cable tester with just a few basic electronics components. It cost me just a bit over $3.
Arduino's great, but how in the world do you do two (or more) things at once on separate intervals? You need protothreading!
Project tutorial by Drew Alden
That is right, or may be nRF24L01
But i will never consider a Arduino for this
You can easily do it using either one of these:
1. I/O Expander: https://www.youtube.com/watch?v=-CXSEWlMYFs
2. MUX on I2C: https://www.youtube.com/watch?v=XWQsqPQOW-U
But adding so many relays is not a good idea.
Arduino NANO has a limited amount of memory. Adding so many of these will eventually kill the MCU
I made one of the same a while ago
Have a look here: https://www.hackster.io/tarantula3/diy-arduino-based-car-parking-assistant-8f4aaf
Or connect with your social account:
New here? Create an account