Drone propulsion issues

Hello drones community :)

I am quite new to the drone area and have begun building my own project from ground up, called Project Deimos.

The drone is controlled by an arduino mega 2560 board and I am using an own built custom GS software.

However I have some issues with arduino controlling more than one ESC. So some help would be much appreciated.

My issue is:

Whenever I connect the two ESC to the PWM pins and I issue the command on the serial port to the ESC control, only one ESC "reacts".. meaning just one engine works. I have even tried to control both ESCs with one PWM pin, but then both ESCs don`t work. The engines are connected in parallel to the battery.

Arduino code, declares the two motors, attaches them on the pins, then writes the speed to the ESCs with the Motor.write(speed) command, for each ESC. I have calibrated the ESCs separately, so I pretty much know the arming commands to the ESC. I have tried writing the speed asynchronously to each motor, as well as synchronously (e.g. in same code cycle or in two different cycles). Either way, if two ESCs are connected, just one gets the "message". The ESC signal line is plugged in the board to the PWM pin, without any other filter.

Did anyone have a similar problem? A solution would be much appreciated!

I have attached the schematics (excuse the poor drawing aptitudes :) ).

schematics_2.jpg

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I forgot to mention that the speed parameter is a decimal value between 0 and 180.

    • Nevermind... found out the issue... they now work as needed. As a side note, I would highly recommend not using Motor.write(speed) option, as this gives multiple issues to normal motors. It is intended solely for servos, since it does a conversion from degrees to pulse (hence the PWM pins...)...

This reply was deleted.

Activity