I am trying to control a motor with analog feedback through the 21v3. I WANT to use the basic PWM signal from the arduino to control the motor position.
In other words, I want the analogWrite function to control the position. For example, a command like analogWrite(motorPin, 125) in the code would move the motor to its halfway position.
Is this possible? or are the PWM signals from the arduino too different from standard RC servo PWM signals.
I CANNOT USE SERIAL COMMUNICATION, SO DON’T EVEN MENTION THAT.
I could try to convert the arduino PWM to analog, but then I would have to add hardware. It would be way easier on me if I could simply connect a pwm pin to the RX pin on the 21v3 and use the anlogWrite() function. Is that possible?
Thank you.