BMMCC PWM Specs
Posted: Fri Mar 25, 2016 7:53 pm
Hi,
I'm trying to gain control via PWM on the servo inputs of the expansion port. Not much documentation that I can find. From the image on the site, I gather:
- logic operation range of 0-5V
- Frequency of 50Hz (20ms)
- Duty cycle range: 1ms - 2ms (not sure why it doesn't use up to 50% though).
I've gone back to basics with an Arduino manually generating a Pulse. Unfortunately nothing seems to be working. I can trigger increments when I manually plug/unplug the signal cable but can't seem to get further.
A bit about the Arduino code, in case I'm doing something wrong there.
Here's the basic version I'm using to, for instance create a manual 1ms pulse at 50z:
Here's another one that I started from with variable potentiometer input:
http://www.arduino.cc/en/Tutorial/Knob
Any help is much appreciated in order to generate the appropriate control signal.
Marc
I'm trying to gain control via PWM on the servo inputs of the expansion port. Not much documentation that I can find. From the image on the site, I gather:
- logic operation range of 0-5V
- Frequency of 50Hz (20ms)
- Duty cycle range: 1ms - 2ms (not sure why it doesn't use up to 50% though).
I've gone back to basics with an Arduino manually generating a Pulse. Unfortunately nothing seems to be working. I can trigger increments when I manually plug/unplug the signal cable but can't seem to get further.
A bit about the Arduino code, in case I'm doing something wrong there.
Here's the basic version I'm using to, for instance create a manual 1ms pulse at 50z:
- Code: Select all
void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delayMicroseconds(1000);
digitalWrite(13, LOW);
delayMicroseconds(19000);
}
Here's another one that I started from with variable potentiometer input:
http://www.arduino.cc/en/Tutorial/Knob
Any help is much appreciated in order to generate the appropriate control signal.
Marc