Ls-8101f wiring diagram

ware can I get Servo wiring diagram for a ls-8101f and I need the code to make the Servo 180 the stop? it is a 360 rotational Servo

Google on that device and search for application notes.

Continuous rotation servos can AFAIK only be speed/direction controlled.
They don't have a position sensor.
Leo..

But when I'm running into is the servo motor will not stop it starts up and runs just fine just continuously. I bought this thinking I could use it in a automated blinds project.

Hi,
Have you tried the "Servo knob" example in the IDE examples.

You can control the signal going to the servo.
With the knob, potentiometer, will only be able to control its speed and direction, not position.

Tom... :grinning: :+1: :coffee: :australia:

the code on OSEPP - Arduino Compatible Products - Metal Gear Digital Servo – 360
but it has 3 wires.

#include <Servo.h>

Servo leftmotor;
Servo rightmotor;

void setup()
{
leftmotor.attach(9);
rightmotor.attach(10);
}

void loop()
{
leftmotor.write(90);//for use with continuous motor
rightmotor.write(90);
leftmotor.detach()
}

Hi,

Black (-) Red (+) Yellow (signal) • Same as Hitec wire configuration

Brown (-) Red (+) Orange (signal) • Same as JR Wire Configuration

From the site.
90deg should stop or bring the servo to a very slow speed.

Can you post a picture of your project please?
The Knob code with a potentiometer will help you find the zero command.

Tom... :grinning: :+1: :coffee: :australia:

It uses the SmartThings Arduino ThingShield that I can not get. It is not for sale.
But will be suing the MonaLisa Zigbee Arduino ThingShield replacement for smartthings or hubitat.

https://www.ebay.com/itm/283753298016?hash=item421103b860:g:qq8AAOSwnexeYTs9

So I have to edit his code

It uses the SmartThings Arduino ThingShield that I can not get. It is not for sale.

Hi,
Sorry but I'm not familiar with either of those boards or the miniblinds code.
That shield is almost a system in itself with a specific use.

Maybe another forum member may be able to help.

Tom... :grinning: :+1: :coffee: :australia:

for test trying to get the servo to stop after a certain length of time.

Trying to power a 2.5Amp servo from the Arduino 5volt pin is very wrong.
Leo..

Then how do power the servo?

Dose anyone have any code to stop the servo?

With a 5volt/3A supply. With shared grounds.
You might also be able to power the rest from that supply.

TomGeorge already answered that in post#7.

Or use detach().

Leo..

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