I've connected it with arduino and it work at baud rate 9600. But it won't work at higher baud rate. I am using UART tx from arduino to rx servo board. In the description of servo controller it said that baud rate will detect automatically, but it seems I bought another bullshit? I need to send tons of bytes
forgoden:
I am using UART tx from arduino to rx servo board. In the description of servo controller it said that baud rate will detect automatically, but it seems I bought another bullshit? I need to send tons of bytes
If you got any documentation with it please post it here.
Yes, I need higher baud rate, because it sends a lot of datas each servo. 16 servos will be controlled all over the time and the moving is not only from a to b. It's more like you moving your fingers.
I see nothing in the GoogleDrive document about how to change the baud rate and it looks like the NZ document is for a USB only device. Baud rates are a bit meaningless with USB.
If it can detect the baud rate I wonder if you need to repeatedly send some specific character or group of characters so it can try the different baud rates and see which one works.
I would not do my tests with SoftwareSerial - get it working with HardwareSerial first. An Arduino such as a Mega or Leonardo with a spare HardwareSerial port would be a good idea for testing.
Moral of Story ... cheap without documentation is too cheap
Don't know what the overhead of I2C is,
but a commonly used 16-channel PCA9685 servo board can do 400kHz (FastMode), or even 1Mhz (FastMode+).
I think FastMode+ is not supported by common Arduinos, but Fastmode is.
Leo..
Robin2:
Isn't the purpose of that sort of servo board to take load off the Arduino so it can do its stuff at a more leisurely pace?
How could you possibly need to update the position of one of 16 servos 400,000 / 16 = 25,000 times per second?
Or even 25 times per second?
I think both boards do this, only the communication protocol is different.
400kHz is the bit (not byte) rate, and several bytes are needed to position one servo.
As said, not sure what the overhead is, but I estimate that you could send about 10,000 positions/sec.
I think the main advantage of high speed comms is that the Arduino has more time left to do other things.
Leo..