Flyduino-A 12 Servo Controller HELP

I am using the Arduino IDE (v 1.0.3) and cannot get this flyduino to work. The code is uploading, but no response from the servo. Currently, I have selected the board Arduino Pro 3.3v ATMega328.

I am trying to run the following custom test code as the provided sample does not quite work with the latest IDE. I merged the basic sample with the ‘sweep’ sample code:

[code]#include <Servo.h>
#define NBR_SERVOS 1 // the number of servos, up to 48 for Mega, 12 for other boards
#define FIRST_SERVO_PIN 2

Servo servos[NBR_SERVOS] ; // max servos is 48 for mega, 12 for other boards

int pos = 0; // variable to store the servo position

void setup()
{
for( int i =0; i < NBR_SERVOS; i++)
servos*.attach( FIRST_SERVO_PIN +i );
//servos*.attach( FIRST_SERVO_PIN +i, 800, 2200);
}
void loop() {
for( int i =0; i < NBR_SERVOS; i++) {
for(pos = 0; pos < 180; pos += 1) {
servos*.write(pos);
delay(15);
}

  for(pos = 180; pos>=1; pos-=1) {                                
    servos*.write(pos);              
    delay(15);                       
  } 

}
}[/code]****

I cannot use the sample code as the there are errors in that one based on the Arduino IDE version I am using - it does not recognize MegaServo.h. I modified it to use the current Servo library.

No reply from support for 3 weeks. I provided my full test code. If I could get some sort of help that would be great, otherwise I need to return both of these things as defective.

If you follow the link you provided for obtaining the MegaServo library, you will see that the functionality has been replaced with the Servo library as of Arduino IDE release 0017. I am currently using release 1.0.3. Installing the MegaServo library into my IDE does not work - it will not compile properly so I am unable to use it anyway.

So, using the Servo library, and the basic sweep example, I am unable to get any response from the flyduino.

I am using a 3.3v USB board for programming. Judging by the activity of the status LEDs on the programmer, the code appears to be making its way onto the board (and Arduino IDE is not complaining).

I have tried leaving the programmer as the power source, but nothing works (likely because the voltage is too low. When I try to use the input power terminals, the board will not power up that way.

Ok, that explains it. I am trying to drive standard 1/10 scale RC Car servos. I will make arrangements to have these flyduinos sent back immediately.

Did you try just the sample code and have it upload successfully? Does the servo move?

We apologize. When you wrote “I modified it to use the current Servo library.” we thought you had the product up and running. The MEGA servo library can be found here:
playground.arduino.cc/Code/MegaServo
You need to modify the line

MegaServo Servos[NBR_SERVOS] ;

to

MegaServo Servos[12] ;

This sample code also reads a potentiometer connected to pin 0, so if you don’t have a potentiometer to connect, you’ll need to create your own code to test the board. Alternatively, you can just use the command similar to

Servos1.write(90); // you choose the servo number and set the angle

If you still have issues, we’re here to help.

Just to confirm - which USB to serial board are you using? Is it 5V or 3.3V?
Also, how are you powering the board?

We confirmed with the manufacturer that the Flyduino used 3.3V logic and the same voltage level to create signals for the servos. As a result, the board is only able to control ~4V servos or other servos with lower voltage. Standard 6V servos will not register the 3.3V signal pulse as being HIGH (at least not consistently). We apologize for the inconvenience and plan to update the product description. We would understand if you would like to exchange the product. In order to do so, please contact us via our support center: [email protected]