I am integrating 6 T100 motors with pre installed ESC with arduino UNO and controlling their speed with I2C . The system used for communication between laptop and the arduino is Ethernet.
I connected the motors through same I2C and changed their adressses without using pull up resistor for SDA and SCL.
When i operate each motor individually everything works fine ! . When i integrate the full system some unknown problems happens.
1- while operating more than 2 motors … there is a motor or 2 keeps flashing red LED waiting for calibration and it takes too long to calibrate and sometime it doesn’t calibrate successfully then it works randomly with almost full speed without giving it any signal.
2- motors don’t respond to any signal.
3- eventually i managed to get more than 2 motors working ( don’t know why the reason they worked yet ) … i did dry run and everything was working fine … then i tested them in water … the same problems appeared … i give signal to stop the motors … the motors stop but the same motor which takes too long to calibrate operates on with full unknown speed.
i don’t think it is a power problem because i am using a power supply 48volt 40 A then 6 converters 12 volt 20 A to give power to each motor.
I am not sure what is the problem now ? is it from my hardware or from my software ? or i should be using the servo library to give the speed instead of controlling the speed of 6 motors using I2C bus.
Thanks in advance