Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using 5v-12v as input sensor
#7
Bug 
Hi 
i tested it but it doesn't work as expected.
I've connected the output of the sensor to D3, and it automatically changed the sensor to be "High" (i guess because the output of A6 on digital pins is 12v).
with this the sensor does not work (it's always "on")

See this wiring diagram.

i'm using ESPHome with this configuration:
Code:
binary_sensor:
  - platform: gpio
    name: "Sw1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "E3F-DS30P1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
Reply


Messages In This Thread
using 5v-12v as input sensor - by amararsa24s - 09-08-2024, 11:05 AM
RE: using 5v-12v as input sensor - by admin - 09-08-2024, 11:26 AM
RE: using 5v-12v as input sensor - by amararsa24s - 09-09-2024, 07:08 PM
RE: using 5v-12v as input sensor - by amararsa24s - 09-09-2024, 06:10 PM
RE: using 5v-12v as input sensor - by admin - 09-09-2024, 11:03 PM
RE: using 5v-12v as input sensor - by amararsa24s - 09-10-2024, 07:32 AM
RE: using 5v-12v as input sensor - by amararsa24s - 09-11-2024, 05:08 PM
RE: using 5v-12v as input sensor - by admin - 09-11-2024, 11:42 PM
RE: using 5v-12v as input sensor - by amararsa24s - 09-12-2024, 06:31 AM
RE: using 5v-12v as input sensor - by amararsa24s - 09-14-2024, 11:11 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)