Increasing ESP Device GPIO For More Sensors
Average Automation
In today's video we are going to take a look at expanding/Increasing the GPIO that is available on a ESP32 by using a Cheap $2 pcf8575 I/O Expander to add a lot more sensors, this will also work for ESP8266 devices.
Code/article https://averageautomation.com/how-to-add-more-gpio-to-esp-devices/
00:00 Intro 00:55 pcf8575 I/O Expander overview 01:34 Important Addressing with I2c 04:27 EspHome code to scan devices 05:49 Wiring up the pcf8575 to esp 32 08:10 Scanning connected addresses 08:58 Code in ESPHome with sample sensor 11:52 Testing sensor code 13:13 adding a Relay Code 14:19 Wire up Relay and test 15:51 How to add more relays/sensors 17:15 Outro
Website https://averageautomation.com/
Some of the links above are affiliate links, using the links provided does earn me a small commission if you click on the link and purchase an item. ... https://www.youtube.com/watch?v=2JAK9t4I4Co
174667162 Bytes