Go Down

Topic: (SOLVED) Servo and External Power Supply (Read 985 times) previous topic - next topic

JotaStar

Aug 14, 2015, 04:36 pm Last Edit: Aug 14, 2015, 05:46 pm by JotaStar
Hello,

I'm trying to power a Servo by external power source because I've read (and checked) that by feeding it with the BEC of an ESC can cause problems for power down.

I followed several intructables to reduce power 8v (2S LiPo) to 5-6V requiring servo (NS-05 Walkera).

http://www.instructables.com/id/Serial-Servo-Controller-wAduino-Control-Up-To-1/?ALLSTEPS


https://www.youtube.com/watch?v=GqJRGQE884w

https://www.youtube.com/watch?v=49KLYHR3S5s

I used the built LM371T power loss and effectively get the ~ 5V. And also try with with 4x1.5v AA with the same result.

The problem is that when I connect it and make a simple sketch the servo does not stop turning, it is not positioned as indicated by the signal cable.

However, connect the servo to the VCC and GND pin Arduino and at the same signal and does work correctly. What's wrong?

I checked with a multimeter 5v both the Arduino and external power I did and give the same voltage and amperage (~ 3mAh)

Sketch:
Code: [Select]
#include <Servo.h>

Servo a;
void setup()
{
  Serial.begin(57600);
  Serial.flush();
  Serial.println("OK");
  a.attach(6);
}

void loop()
{
  a.write(90);
  delay(500);
  a.write(180);
  delay(500);
  a.write(0);
  delay(3000);
}

theinlinaung2010

Can you post your actual circuit diagram?
Thein Lin Aung

JotaStar

#2
Aug 14, 2015, 05:47 pm Last Edit: Aug 14, 2015, 09:33 pm by JotaStar
I just forgot put the Arduino GND pin to the extenal power source.

http://rcarduino.blogspot.com.es/2012/04/servo-problems-with-arduino-part-1.html

Go Up