logo elektroda
logo elektroda
X
logo elektroda

How to connect W5500, RC522, reed switches to ESP32 in ESPHome (Home Assistant)?

iwnuk22 198 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21503614
    iwnuk22
    Level 1  
    listen i have a problem because i want to create a sensor so that when the door is opened and the card is not bounced back something happens in the home assistant but i mean how to connect it? and the signal will be sent over the internet via an internet cable and i want to create it with w5500, rc522 and 3 Reed switches and i want it all connected to esp32 and i want it to work in esphome (HA).
    AI: How do you plan to connect the W5500, RC522 and reed switches to the ESP32? Do you already have a wiring diagram? .
    W5500 → ESP32
    SCK → GPIO18.
    MISO → GPIO19
    MOSI → GPIO23
    CS → GPIO15.
    RST → GPIO2
    VCC → 5V
    GND → GND


    RC522 → ESP32
    SCK → GPIO18
    MISO → GPIO19
    MOSI → GPIO23
    CS (SDA) → GPIO5
    RST → GPIO4
    VCC → 3.3V
    GND → GND

    AI: Do you already have any settings configured in ESPHome for these devices? If so, what kind? .
    I tried something, but only got errors
  • ADVERTISEMENT
  • #2 21504889
    p.kaczmarek2
    Moderator Smart Home
    What errors were popping up? It looks like you will need to use a binary sensor:
    https://esphome.io/components/binary_sensor/gpio.html
    Helpful post? Buy me a coffee.
ADVERTISEMENT