Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using 5v-12v as input sensor
#9
(09-11-2024, 11:42 PM)admin Wrote: let "inverted: false" have a test.

i did that, it doesn't help.

the A6 have constant 12v on D3 which is feed to the output of the PNP sensor. in that case, even if the sensor is triggered, D3 will still see 12v.

i also tried setting mode to  INPUT_PULLDOWN or  INPUT_PULLUP but it's not acceptable with the pcf8574. 

(btw-how can i upload photos/wiring diagrams here?)
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)