Home Assistant Switch for 8 Relays: PCF8574 can be used to extend the GPIO of ESP8266/32 and here we use 8 ports of PCF8574 to control 8 Relay module Code/Parts/Schematic: github.com/debsahu/PCF8574_8R...
КОМЕНТАРІ: 46
@davebeckham54295 років тому
Excellent Debashish. Will try this and update. Thanks for the wonderful project. Keep up the good work.
@DDBerlin4 роки тому
Nice Video Debashish, however You could most likely ommit the level shifter. Most of these relay boards do have a jumper "JD-VCC - VCC". If You open it, You can apply 5V to the "JD-VCC" pin which powers the secondary side of the optocouplers as well as the solenoids of the relays. And You can attach 3.3V to the other VCC pin (either one as they are connected to each other) for the logic part.
@alandarmasaputra54664 роки тому
does it mean external 5V is unnecesarry? and it enough to power the system only from usb port only?
@DesignitBuilditRepairit5 років тому
Thanks for another great video
@kadalkadalan36184 роки тому
whether I can control this relay from another world. I appreciate your work.thank's for share..
@guatagel24545 років тому
Thank you!
@pushkardey3 роки тому
Wow thanks ... I was looking for something like this... I m making the project in Python..😀
@althuelectronics51582 роки тому
Am watching cod. Very big one amazing your work
@CharudattUplap4 роки тому
can you add the WiFi + MQTT manager to your code , so that its easy to configure it without entering the credentials during compile and upload
@mRendyIrawan3 роки тому
In a reply to a comment here, you mentioned that the code has been converted to ESPHome. So does that mean I could follow the wiring in this video and it would run with the PCF8574 component on ESPHome?
@mRendyIrawan3 роки тому
@@debsahu7801 Excellent! I look forward to you posting the codes! I also looked online to try to order one of these chips, and what I found online mostly was a PCF8574 built to a board with dupont pins and it has a jumper for A0, A1, and A2 (to configure the address). Maybe you've seen one of those boards or maybe even used them. Is the ESPHome PCF8574 component compatible with those boards?
@cferrarini3 роки тому
I think you do not need PCF8547 and voltage level shifter, since ESP has enough pins and you just have to remove JD-VCC jumper, connect 3.3 from esp to vcc and 5v to JD it will be optically isolated. From datasheet: It is sometimes possible to use this relay boards with 3.3V signals, if the JD-VCC (Relay Power) is provided from a +5V supply and the VCC to JD-VCC jumper is removed. That 5V relay supply could be totally isolated from the 3.3V device, or have a common ground if opto-isolation is not needed. If used with isolated 3.3V signals, VCC (To the input of the opto-isolator, next to the IN pins) should be connected to the 3.3V device's +3.3V supply.
@townjava68455 років тому
Good
@patle82293 роки тому
Hi, how to connect 16 relay ?
@josech57435 років тому
Why do we need a 3.3V to 5V level shifter? I was reviewing the datasheet of the PCF and it says 2.5V to 6V
@DDBerlin4 роки тому
@@debsahu7801, You can simply open the JD-VCC - VCC jumper and connect 5V directly to the JD-VCC pin. See my more detailed reply
@CharudattUplap4 роки тому
Can you spin up a simple project for 4 relays directly operated on the ESP8266 portpins and if possible with a local switch for controlling these relays , if WiFi fails.
@CharudattUplap4 роки тому
@@debsahu7801 yes but for 4 Relay + 4 Switches you can juggle the pins according to their Boot State level and make one. I already have made one with TASMOTA firmware and it works well. But I want it with your code on it. If you could make/share
@TradieTrev4 роки тому
"This entity does not have a unique ID, therefore its settings cannot be managed from the UI." I get this error on home assistant. I fixed it by adding the text below in the configuration.yaml file and the device appeared. Hope this helps someone and thanks for your efforts in the project. homeassistant: customize: !include customize.yaml
@pratappawar48604 роки тому
why are you using level shifter , is it necessary
@iocircuits4 роки тому
Hello, where is the yaml file for home assistant ?
@WtF-ki9vp4 роки тому
Solenoid relay's power build-up and release (thousands of watt) will be causing it to restart your esp8266.
@WtF-ki9vp4 роки тому
@@debsahu7801 Have you tried using it in the real world? Unless you use snubber on the AC side, your mcu will reboot. You just don't know it!
@phyowailwin81242 роки тому
Is there a way to add physical momentary bush button to toggle each relay using gpio or via i2c?
@phyowailwin81242 роки тому
@@debsahu7801 thanks tried and it works. Do you encounter any relay is on during boot up coz i'm facing this issue even with i2c chip. I'm using esp32
@roystervi2 роки тому
Hi do you have or thinking of making the same setup for a raspberry zero. nice video
@roystervi2 роки тому
@@debsahu7801 A raspberry zero only cost $5. (esp32 cost more that a pi-zero) I have about 10 of them. I love to do a project like this on a Raspberry pi because of the Ethernet connection on the pi vs running too many project WIFI. if you don't know most router (well mines can only handle 32 2.4g and 32 5g devices) can only have 20 to 32 2.4g devices connected at once. (Am trying to get off wifi, I have $5 to buy raspberry zero) So making so many wifi devices will use up your router where you will have to get an AP to handle the WIFI load.
@anokhautomation44533 роки тому
Hello sir. Very nice tutorial. Can you please do the same project tutorial with micropython program??
@einarpoisot95073 роки тому
why didn't you enter an example code?
@charslambert49043 роки тому
Sir, i wanna ask..... your schematic can used at Blynk ??
@charslambert49043 роки тому
Debashish Sahu : yess sir, can i used with Blynk app?
@estevaoariel10 місяців тому
Hello, I'm from Brazil, I would like to know how to customize the html that is encoded.
@adrianbonilla55374 роки тому
Amigo. Me podrias hacer el favor de colaborarme con la integracion del esp8266 en home asistant. Instale el adons mqtt y la configuracion yaml y el programa en el esp. En el ide sale mqtt conectado pero no logro hacer
@adrianbonilla55374 роки тому
@@debsahu7801 gracias
@AMoktar3 роки тому
Thanks for this great video , can you please fix links for components in github readme file
@AMoktar3 роки тому
@@debsahu7801 thank you 😊
@1yyymmmddd3 роки тому
Do you really need PCF8574 to control 8 relays? Doesn't ESP8266 have enough pins that are not used during boot-up process to be connected directly to relay module?
@panjiibrahim74094 роки тому
Bro, if any other DIY with 16 relay channel + PCF8575, please share bro .. respect
@patle82293 роки тому
@@debsahu7801 how to do it ? do you have schematic ?
@uvaishwarsii2 роки тому
please make a “PROGRAMMING" video on “ARDUINO UNO with ESP8266 $ 8 CHANNEL RELAYS" and control by Android phone....🙏🙏🙏
@uvaishwarsii2 роки тому
please Make a project on "ARDUINO UNO with ESP8266 & 8 CHANNEL RELAYS" and program it..... 🙏🙏🙏🙏🙏
@edgar_thiz51043 роки тому
Ah se fossem esses os preços no Brasil...
@ifyouwantpeaceprepareforwa43295 місяців тому
Any new for esp32 to 74HC595D 16 channel relay with rainmaker code?