i have problems with the connection between the Arduino and ssc-32u Board. I need the servo Board because my Robot use 500kg Servos with min 12V Power. The connection is shown in the attachment. I try this sample code but nothing happens:
It appears that you are using the TX0 and TX1 pins, instead of the TXn and RXn pins. Why?
Why would you attach the servo controller to the same pins used to talk to the PC? That makes debugging next to impossible. Connect it to TX1 and RX1 and user Serial1 to talk to it.
shelly_beck:
Thanks PaulS,
sry i`m a noob. Can you please show me on the attachment which pins i should use for user serial1? TX1 and RX1 i have connected.
Not according to the picture you posted. That picture shows the orange wire connected to pin 14 (TX1) and the red wire connected to pin 1 (TX0).
PaulS:
Not according to the picture you posted. That picture shows the orange wire connected to pin 14 (TX1) and the red wire connected to pin 1 (TX0).
I change the red to pin18 and the orange to pin19. But same effect. Arduino tx blink after loading sketch but the rx/tx lights on the ssc don`t blink for communication.
Is it possible that i must power the VL on the ssc too ? At the moment only VS1 is powered
I load the sketch to the arduino and think i know only talk with the device using Serial1. Took a pic from the connection to the attachment. but same effekt
You connected the TX and RX pins from the green board to the RX and TX pins for the Serial1 instance on the Mega. Thank you for the effort to take and post usable pictures.
But, you are still trying to talk to the board using Serial. That's like having a friend tell you that he got a new phone number, but you still using the old number to call him, and wondering why he doesn't answer.
I thank you for taking the time and explaining things to me.
But now I am confused. Which wire i must switch and to which pin? The TX and RX wire on the green controller ? Or omit ground ?
You need to make the code match your hardware. You connected the servo controller to the Serial1 pins, so you do NOT use Serial to talk to it. Nor do you use Serial2 or Serial3. 8)