Been making a few posts about my drone and i am getting closer and closer to my goal to make it work.
Right now I have a problem with stuttering with all four of my motors (sometimes the motors does not even start but they beep instead). This is the motor and esc I use: https://hobbyking.com/en_us/mt1806-brushless-combo-include-esc-5030cw-ccw.html
So motor connected to the ESC and the ESC grounds go to arduino Gnd, the signal pins from the ESC goes to different pwm pins and the rest of the esc goes to the power distribution where i also insert my 3s lipo battery. From my power distribution i connect two cables to my arduino uno gnd and vin pin.
When I use this very simple code:
ESC9.write (100); ESC6.write (100); ESC5.write (100); ESC3.write (100); delay (2000); ESC9.write (0); ESC6.write (0); ESC5.write (0); ESC3.write (0); delay (2000);
The motors start like they should but they stutter (some motors move more than others) and as you can see in my code i tell them to stop after 2 seconds to see if i can control them and indeed they stop nicely.
This is a 3 second video on how it looks once I enter my lipo battery:
Is this a case of bad soldering somewhere perhaps or do I need to calibrate my ESC/motor? Codewise I am just using a simple Servo and then I just use the code I posted above. Do I need to add anything else maybe? Since all 4 motors are stuttering/buzzing it is most likely not a problem with the motor/esc i suppose!
My arduino uno is a chinese copy, could that have anything to do with it?
Also I made this post earlier with a little less information but more info about my soldering: All four of my ESC motors stutters when I run it on my Arduino, how can this be fixed?
Appreciate every help and tips!