02-02-2025, 09:28 AM
Thankyou both @admin and @twostar for your fast replies - I appreciate it.
However, I still feel there must be something I'm missing here![Sad Sad](https://www.kincony.com/forum/images/smilies/sad.png)
I understand how the "dry" digital inputs can be used in the simple case of shorting to GND via a momentary button press, a toggle switch, or a relay, etc., but those are very limited examples, and (for me, at least) not useful.
What I'm trying to do is connect a PNP/NPN sensor to the KC868-A6, like any of the following:
Perhaps I made a false assumption, but I honestly thought these were pretty standard sensors so it wouldn't be a problem connecting them! The signal output line has 12V or 0V depending on the state of the sensor but, as described previously, they simply don't work when connected to any of the DI pins, due to the presence of the pullup resistor on the optocoupler.
Surely other users must be using these sorts of sensors? I'm just not quite sure how without modifying the board?! (which I've already had to do once to remove the pullup resistors R23/R31 and make the IO-1 and IO-2 pins usable as an output for a WS2812B strip)
However, I still feel there must be something I'm missing here
![Sad Sad](https://www.kincony.com/forum/images/smilies/sad.png)
I understand how the "dry" digital inputs can be used in the simple case of shorting to GND via a momentary button press, a toggle switch, or a relay, etc., but those are very limited examples, and (for me, at least) not useful.
What I'm trying to do is connect a PNP/NPN sensor to the KC868-A6, like any of the following:
- https://vi.aliexpress.com/item/32707051209.html
- https://vi.aliexpress.com/item/32966194997.html
- https://vi.aliexpress.com/item/1005007660814028.html
Perhaps I made a false assumption, but I honestly thought these were pretty standard sensors so it wouldn't be a problem connecting them! The signal output line has 12V or 0V depending on the state of the sensor but, as described previously, they simply don't work when connected to any of the DI pins, due to the presence of the pullup resistor on the optocoupler.
Surely other users must be using these sorts of sensors? I'm just not quite sure how without modifying the board?! (which I've already had to do once to remove the pullup resistors R23/R31 and make the IO-1 and IO-2 pins usable as an output for a WS2812B strip)