Servo does not work on ORION port 7 and 8


#1

m.Block v5.4.0
I can set up a servo for port 7 or 8, but it does not work.
It only works on port 3,4 and 6.

The Arduino C window below show correct set up.
What is the problem?

#include <MeOrion.h>

#include <Arduino.h>
Servo servo_8_1;
MePort port_8(8);

void _delay(float seconds) {
long endTime = millis() + seconds * 1000;
while(millis() < endTime) _loop();
}

void setup() {
servo_8_1.attach(port_8.pin1());

servo_8_1.write(90);

}

void _loop() {
}

void loop() {
_loop();
}


#2

This could be a problem with the ORION. Many programming boards only support some ports to power specific types of servos. Unless you need to use port 7 or 8, I would advise using 3, 4, or 6.


#3

First of all thank you for the quick reply.
I did some additonal checks with the Orion.
Ports 3,4 and 6 support 2 servos.
Ports 7 and 8 support one servo on S2 connector, but not on S1.
The documents say, Port 7and 8 only have single digitial support, so this means only S2 is supported for PWM output. Right? I wish the dokuments would be more precise.

Additionally the test/check in Life mode is not reliable, Port 7 and 8 do not work at all.
On Ports 3,4 and 6 the servos jitter and show uncontrolled movements.
Only the download FW show my results above.

Thank you, have a nice day.


#4

I don’t know much about the ORION board, but I’d assume you’re right. Again:


#5

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