[question] Grove Analog Servo only has 8 angles?

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
User avatar
uwe.fetzer
Pre-kindergarten
Pre-kindergarten
Posts: 36
Joined: Sun Apr 17, 2016 6:06 am
Location: Neuss, Germany
Contact:

[question] Grove Analog Servo only has 8 angles?

Post by uwe.fetzer » Mon Apr 18, 2016 11:34 pm

Thread moved from Wio Community http://www.seeedstudio.com/forum/viewto ... =72&t=6949

The Analog servo just got 8 possible angles?
Starting with 0°, next 36° and in 18° steps up to 144°

Can you confirm?

kavi
Staff
Staff
Posts: 305
Joined: Tue Dec 09, 2014 12:06 pm

Re: [question] Grove Analog Servo only has 8 angles?

Post by kavi » Wed Apr 20, 2016 7:35 pm

Hi,

The servo moves 1° per step from 0-180° using the sweep example in the Arduino IDE.It is tested with Arduino .

Thanks and Regards

User avatar
uwe.fetzer
Pre-kindergarten
Pre-kindergarten
Posts: 36
Joined: Sun Apr 17, 2016 6:06 am
Location: Neuss, Germany
Contact:

Re: [question] Grove Analog Servo only has 8 angles?

Post by uwe.fetzer » Wed Apr 20, 2016 9:35 pm

Hi Kavi,

I've just tested with the following Python script on my Wio Link:

Code: Select all

import requests
import time

angle = int(0)

while angle < 180:
    url = 'https://se38-wio-1.se38.local/v1/node/GroveServoD0/angle/' + str(angle) + '?access_token=c203b4fbe17e54a40f703ebe51ec30cc'
    print(angle)
    requests.post(url, verify=False)
    angle +=2
    time.sleep(1)
Result: the Servo only moves the mentioned eight times. Maybe it's a Wio driver problem?

Cheers,
Uwe

Post Reply