Posts: 3
Threads: 1
Joined: Jan 2021
Reputation:
0
Is it possible to use terminal switches as digital inputs?
I was not interested in that they were tied to the relay outputs, I wanted to assign them the outputs in nodered.
thanks
Posts: 6,400
Threads: 830
Joined: Oct 2020
Reputation:
159
if your Node-Red is installed on raspberry pi. ok, no problem, let your switch terminal board connect to PI by USB port (use a usb rs232 adapter), then you can get the message that any key pressed by Node-Red.
Posts: 3
Threads: 1
Joined: Jan 2021
Reputation:
0
I can send kc868 through rs232 but when I connect to the terminal switch I get no response ... what am I doing wrong?
thanks
Posts: 6,400
Threads: 830
Joined: Oct 2020
Reputation:
159
check your pin define, use RS232's pin2,pin3,pin5, maybe you need exchange the pin2 and pin3.
Posts: 6,400
Threads: 830
Joined: Oct 2020
Reputation:
159
can you take a photo , how you wire.