Hi,
Where should I connect Serial TTL (TX/RX) on a Ardbox Relay (PLC Arduino ARDBOX PLC 20 I/Os RELAY HF) to get the Leonardo board's Serial1 connection?
Best regards,
Erik
This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
Hi,
Where should I connect Serial TTL (TX/RX) on a Ardbox Relay (PLC Arduino ARDBOX PLC 20 I/Os RELAY HF) to get the Leonardo board's Serial1 connection?
Best regards,
Erik
This device doesn't have Serial Port available because the Leonardo board's Serial1 is used tu run the RS-232 and RS-485.
To solve the problem we have two solution:
1. Use a RS - 232 to Serial TTL convertor, taking into account that we won't be able to use RS-232 at the same time.
2. Use the library Software Serial to simulate the Serial Port.
For the Ardbox family all pins can be used for Tx while for Rx the following can be used, of Leonardo: pin 14 (SO), pin 15 (SCK) or pin 16 (SI). We recommend to use RX as digital pin 14 (SO) and connect it to the TX of the other device and TX as the digital pin 15 (SCK) connected at RX.