I am attempting to use the Jetson Nano’s Tx(Pin 8) and Rx(Pin 10) to communicate with a microcontroller operating a 6DOF robotic arm (https://www.amazon.ca/gp/product/B074T6DPKX?pf_rd_p=05326fd5-c43e-4948-99b1-a65b129fdd73&pf_rd_r=4VGBCDN1GAPEK4T8EPEF).
I have been attempting to follow this tutorial: https://www.jetsonhacks.com/2019/10/10/jetson-nano-uart/ connecting the Tx of the Nano to the Rx of the controller and vice versa. The microcontroller came with a small manual covering communication protocol for its device. However before I can even being writing instructions to this device I need to figure out how to issue communications via UART, and verify that a signal is actually being sent (as I am concerned I may have shorted the 5V supply pin on the board earlier, and I do not know what damage this would have caused).
I am using this examply code: https://github.com/cheydrick/Canonical-Arduino-Read/blob/master/canonicalarduinoread.c in order to attempt to send a signal to the microcontroller, even though it is incorrect. I have modified it to use ttyTHS1 instead of ttyUSB0. When I connect the microcontroller via UART I do not see any new entries in dmesg or in the list of devices under /dev/.
I am very much a beginner at the hardware aspects of the Jetson Nano but I am familiar with C/C++ programming. This project is an attempt to broaden my understanding of communication protocols, hardware components and electronic theory. Patience and understanding is greatly appreciated.
LeArm user manual.pdf (1.8 MB)