ROBOTIS-GIT / OpenCR

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.
Apache License 2.0
382 stars 239 forks source link

DXL UART #282

Open dabenpb opened 3 years ago

dabenpb commented 3 years ago

Is it possible to access the UART3 directly as a standard UART prior to the TTL/485 duplexer? This would be without using any of the dyna libraries. I have a need for 4 uarts.

ROBOTIS-Will commented 3 years ago

Hi @dabenpb The USART3 is connected to the DYNAMIXEL port via RS485 or TTL IC. Since these pins are not exposed as GPIO, you may not be able to access them. If you are using Arduino IDE, have you considered using a softwareserial?

dabenpb commented 3 years ago

I was under the impression that SoftwareSerial was not supported based on a previous question I asked.

ROBOTIS-Will commented 3 years ago

@dabenpb Sorry about the confusion. What I meant in the previous inquiry was that we have no plan for library update. You can use SoftwareSerial library from Arduino as OpenCR supports DYNAMIXEL Shield which uses softwareserial for built in serial port. Thank you.