ESP8266/32 (Home Assistant Switch) connected to PCF8574 controlling 8 AC relays

  Рет қаралды 124,570

debsahu

debsahu

Күн бұрын

Пікірлер: 46
@einarpoisot9507
@einarpoisot9507 3 жыл бұрын
why didn't you enter an example code?
@DDBerlin
@DDBerlin 5 жыл бұрын
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.
@alandarmasaputra5466
@alandarmasaputra5466 5 жыл бұрын
does it mean external 5V is unnecesarry? and it enough to power the system only from usb port only?
@davebeckham5429
@davebeckham5429 5 жыл бұрын
Excellent Debashish. Will try this and update. Thanks for the wonderful project. Keep up the good work.
@GenZAILab
@GenZAILab 4 жыл бұрын
why are you using level shifter , is it necessary
@Althu-blog
@Althu-blog 3 жыл бұрын
Am watching cod. Very big one amazing your work
@1yyymmmddd
@1yyymmmddd 3 жыл бұрын
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?
@estevaoariel
@estevaoariel Жыл бұрын
Hello, I'm from Brazil, I would like to know how to customize the html that is encoded.
@WtF-ki9vp
@WtF-ki9vp 4 жыл бұрын
Solenoid relay's power build-up and release (thousands of watt) will be causing it to restart your esp8266.
@WtF-ki9vp
@WtF-ki9vp 4 жыл бұрын
@@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!
@josech5743
@josech5743 5 жыл бұрын
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
@DDBerlin
@DDBerlin 5 жыл бұрын
@@debsahu7801, You can simply open the JD-VCC - VCC jumper and connect 5V directly to the JD-VCC pin. See my more detailed reply
@phyowailwin8124
@phyowailwin8124 3 жыл бұрын
Is there a way to add physical momentary bush button to toggle each relay using gpio or via i2c?
@phyowailwin8124
@phyowailwin8124 3 жыл бұрын
@@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
@mRendyIrawan
@mRendyIrawan 4 жыл бұрын
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?
@mRendyIrawan
@mRendyIrawan 4 жыл бұрын
@@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?
@patle8229
@patle8229 4 жыл бұрын
Hi, how to connect 16 relay ?
@OhKhach
@OhKhach 5 ай бұрын
Sir I need 32CH pls!
@ifyouwantpeaceprepareforwa4329
@ifyouwantpeaceprepareforwa4329 Жыл бұрын
Any new for esp32 to 74HC595D 16 channel relay with rainmaker code?
@CharudattUplap
@CharudattUplap 5 жыл бұрын
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
@iocircuits
@iocircuits 4 жыл бұрын
Hello, where is the yaml file for home assistant ?
@CharudattUplap
@CharudattUplap 5 жыл бұрын
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.
@CharudattUplap
@CharudattUplap 5 жыл бұрын
@@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
@cferrarini
@cferrarini 4 жыл бұрын
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.
@charslambert4904
@charslambert4904 4 жыл бұрын
Sir, i wanna ask..... your schematic can used at Blynk ??
@charslambert4904
@charslambert4904 4 жыл бұрын
Debashish Sahu : yess sir, can i used with Blynk app?
@roystervi
@roystervi 3 жыл бұрын
Hi do you have or thinking of making the same setup for a raspberry zero. nice video
@roystervi
@roystervi 3 жыл бұрын
@@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.
@adrianbonilla5537
@adrianbonilla5537 5 жыл бұрын
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
@adrianbonilla5537
@adrianbonilla5537 5 жыл бұрын
@@debsahu7801 gracias
@pushkardey
@pushkardey 3 жыл бұрын
Wow thanks ... I was looking for something like this... I m making the project in Python..😀
@DesignitBuilditRepairit
@DesignitBuilditRepairit 5 жыл бұрын
Thanks for another great video
@kadalkadalan3618
@kadalkadalan3618 5 жыл бұрын
whether I can control this relay from another world. I appreciate your work.thank's for share..
@panjiibrahim7409
@panjiibrahim7409 4 жыл бұрын
Bro, if any other DIY with 16 relay channel + PCF8575, please share bro .. respect
@patle8229
@patle8229 4 жыл бұрын
@@debsahu7801 how to do it ? do you have schematic ?
@TradieTrev
@TradieTrev 4 жыл бұрын
"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
@AMoktar
@AMoktar 4 жыл бұрын
Thanks for this great video , can you please fix links for components in github readme file
@AMoktar
@AMoktar 4 жыл бұрын
@@debsahu7801 thank you 😊
@guatagel2454
@guatagel2454 5 жыл бұрын
Thank you!
@uvaishwarsii
@uvaishwarsii 3 жыл бұрын
please Make a project on "ARDUINO UNO with ESP8266 & 8 CHANNEL RELAYS" and program it..... 🙏🙏🙏🙏🙏
@uvaishwarsii
@uvaishwarsii 3 жыл бұрын
please make a “PROGRAMMING" video on “ARDUINO UNO with ESP8266 $ 8 CHANNEL RELAYS" and control by Android phone....🙏🙏🙏
@edgar_thiz5104
@edgar_thiz5104 4 жыл бұрын
Ah se fossem esses os preços no Brasil...
@townjava6845
@townjava6845 5 жыл бұрын
Good
ESP32/ESP8266 Relay Module - Control AC Appliances (Web Server)
6:10
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
PCF8574 GPIO Extender - With Arduino and NodeMCU
11:30
Crazy Couple DIY
Рет қаралды 76 М.
First Time Heating With an Outdoor Wood Boiler
19:53
Wolf Pup Fab
Рет қаралды 48 М.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 645 М.
Home Assistant: Simple relays with ESPhome
11:27
Intermit.Tech
Рет қаралды 71 М.
DIY Whole Home Power Monitoring with ESPHome & Home Assistant
30:39
digiblur DIY
Рет қаралды 260 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН