I finished building the AR4 and uploaded the Teensy 4.1 sketch (Ver 4.4). I was able to connect to the GUI and start testing the encoder; everything seemed to be working (all J1 to J6 encoders were functional). I stepped away for 30 minutes without stopping the program. When I came back, I noticed that the Teensy was no longer connected to the program or my PC. When I connect the Teensy, which is mounted on the breakout board, directly to my PC (without the USB-C Keystone Jack), it won't connect. I also tried removing the Teensy from the breakout board and connecting it to the USB-C Keystone Jack, then to my PC, and it still wouldn't connect. However, if I remove the Teensy from both the breakout board and the USB-C Keystone Jack and plug it directly into my PC, it connects, and I am able to load the Blink example to ensure it's working. Could this be a faulty Teensy board, or am I missing something? It was totally working as I could verify the encoder values by manually moving J1 to J6, but then it just stopped connecting.
Thanks for any help!
I would unplug the teensy from the breakout board and then check and see if there are any shorts between the GND terminal on the 3 point terminal block and the 3.3v terminal or the 5v terminal on the terminal block. Typically if something like this happens its the board being shorted to ground due to wiring of either the encoders or the limit switches on the robot arm.