Controlling a DC Motor with an Arduino through a flightcontroller

Hello everyone,
as simple as my Problem may seem, it´s driving me crazy.
I am trying to controll an old C9000-60005 DC Motor i got out of an old printer with an P-90 flightcontroller. For the Input i am using an Arduino Nano.
For my Project i need to adjust the motor speed and the P-90 flightcontroller should be able to do that but for some mysterious reason it doesn´t work.

The code i am using so far is rather simple:

int MotorPin = 3;

void setup() {

  pinMode(MotorPin, OUTPUT);
}

void loop() {

  analogWrite(MotorPin, 255);
  delay(1000);
  analogWrite(MotorPin, 10);
  delay(1000);
}

It´s supposed to run the motor with full speed for a second and really slow for a second. I added an picture of my circuit. Apology for how it looks i sadly don´t know how to do a proper circuit diagram.

About my problem: the motor runs, but only at full speed. No slowing down at all.

I tried using a L293D before but the motor didn´t move at all. As far as i understood due to the current limitation of the L293D.
Since i am trying to get the P-90 to work i already tried using different Pins on the Nano, a different Nano, a different powersupply and a different motor but nothing seems to work. By elimination it should be the flightcontroller that is causing the problem but my knowledge in electronics is far away from understanding how exactly a flightcontroller works.

So my questions are:
Is it possible to controll a DC motor like that with an Arduino Nano?
Is there any obvious mistake i overlooked?
Does anyone know of typical flaws of any of these parts?

Just in case some informations about me, i am studying mechanical engineering, so i know some basics about electronics but not much really. Also i am german so please excuse any shortcomings with my english.

Many thanks in advance

Moritz

Do you have a link to the data sheet for the flight controller?

A link or data sheets for the parts would be helpful. The main information needed is what the output signal looks like for the P-90 and the interface to the motors. The drawing helped. You can download KiCad for free but a donation is nice. It is a full blown CAD package for electronics, even will get you to the Gerber files to make a PCB.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.