Is the battery powering the IOIO also a 2-cell? Is the servo powered by the
5V rail? Can you send a wiring diagram of some sort?


On Mon, Mar 24, 2014 at 10:40 AM, Marius Vosylius <[email protected]
> wrote:

> Im Using 7.4 LiPo Battery for 4WD Motor Module Only.
>
> And Another LiPo Battery for IOIO-OTG.
>
> Servo Motor Powered Directly from IOIO Board.
>
>
> On Monday, March 24, 2014 5:32:56 PM UTC, Ytai wrote:
>
>> OK, so this is most likely a power issue. What power supply are you using
>> and how is power distributed to the DC motor driver and servo?
>>
>>
>> On Mon, Mar 24, 2014 at 10:06 AM, Marius Vosylius 
>> <[email protected]>wrote:
>>
>>> Sorry Ytai, I thought that you need to see my 4WD motor code. Heres my
>>> servo code, which one really simple:
>>>
>>> Main Class:
>>>
>>> private static final int SERVO_PIN = 3;
>>>
>>> SeekBar tiltBar;
>>>
>>> Servo Class extends BaseIOIOLooper:
>>>
>>> private PwmOutput pwmServo;
>>> Setup:
>>>
>>> pwmServo = ioio_.openPwmOutput(SERVO_PIN, 100);
>>> Loop:
>>>
>>> pwmServo.setPulseWidth(500 + tiltBar.getProgress() * 2);
>>>
>>> I have changed DC Motors rate to 1000 as you recommended, this helps a
>>> bit, servo triggered only once at DC motor start.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "ioio-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/ioio-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to