Hello, I'm trying to use some motors that need serial communication. The standard baudrate of the Servo Motor is 115200, but the real baudrate of the motor is 117647, so sending packets for the motor is ok, but receiving they always get wrong.
I'm thinking if I can just put Serial1.begin(117647)... It will work in arduino Mega? Or the board doesn't support this baudrate?
If not, the arduino mega supports 1000000 bps ? Because I can change the servo motor for this baudrate.
in my experience the 115200 bauds speed and arduino mega works very well. I wrote a library for Arduino mega and i had no problems with this speed.link:Dongbu Herkulex Arduino Library « Robottini
alegiaco:
in my experience the 115200 bauds speed and arduino mega works very well. I wrote a library for Arduino mega and i had no problems with this speed.link:Dongbu Herkulex Arduino Library « Robottini
Ohh it seens pretty good. I will try your library! Thanks
alegiaco:
in my experience the 115200 bauds speed and arduino mega works very well. I wrote a library for Arduino mega and i had no problems with this speed.link:Dongbu Herkulex Arduino Library « Robottini
Thank you soo much! It really works, I think that the previous library problem in receiving packs, was because the receive function doesn't wait the complete size of receiving pack to read, the function simple read while serial is available.
Can I make some changes in your library just to use functions that I need, and with other names ?