Servo DS3218MG (Digital Servo)

Moderators: grovkillen, TD-er, Stuntteam

Post Reply
Message
Author
homecineplexx
Normal user
Posts: 4
Joined: 12 Dec 2019, 13:19

Servo DS3218MG (Digital Servo)

#1 Post by homecineplexx » 12 Dec 2019, 13:27

Hi
I need some help.
Is it possible to control this servo https://www.amazon.de/gp/product/B01MU7 ... UTF8&psc=1
via the Command Servo <Nr>, <GPIO>, <degrees> or vie HTTP?
Or i must do more than that?
thanks

homecineplexx
Normal user
Posts: 4
Joined: 12 Dec 2019, 13:19

Re: Servo DS3218MG (Digital Servo)

#2 Post by homecineplexx » 12 Dec 2019, 17:11

i tried it with a wemos d1 mini on D7 (GPIO13) with this http

Code: Select all

http://192.168.1.73/control?cmd=Servo,1,13,-180
and this is the output

Code: Select all

{
"log": "GPIO 13 Servo set to -180",
"plugin": 1,
"pin": 13,
"mode": "servo",
"state": 0
}

Ok
but nothing happened.
what can i do??

User avatar
ThomasB
Normal user
Posts: 691
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Servo DS3218MG (Digital Servo)

#3 Post by ThomasB » 12 Dec 2019, 17:31

GPIO13 (D7) is serial TXD. I suggest you use a different pin, such as GPIO12 or GPIO14.
EDIT: Ooops. GPIO13 is OK to use for Servos.

- Thomas
Last edited by ThomasB on 12 Dec 2019, 20:00, edited 1 time in total.

homecineplexx
Normal user
Posts: 4
Joined: 12 Dec 2019, 13:19

Re: Servo DS3218MG (Digital Servo)

#4 Post by homecineplexx » 12 Dec 2019, 17:38

thanks for this information.
i tried it with both (GPIO12 and GPIO14) but nothing happened

User avatar
dynamicdave
Normal user
Posts: 214
Joined: 30 Jan 2017, 20:25
Location: Hampshire, UK

Re: Servo DS3218MG (Digital Servo)

#5 Post by dynamicdave » 12 Dec 2019, 17:44

I'm not familar with that particular servo,
however I found I needed to power my miniature servos from a separte power supply
otherwise the sudden current surge as the servo starts to move puts the ESP8266 (Wemos D1 Mini) into reboot.

Just something worth checking, as my servos appeared 'dead' the first time I used them.

David.

PS:
Just looked at your link... that is a chunky servo, it will definitely need its own power supply.

homecineplexx
Normal user
Posts: 4
Joined: 12 Dec 2019, 13:19

Re: Servo DS3218MG (Digital Servo)

#6 Post by homecineplexx » 12 Dec 2019, 18:44

'dead' looks like mine.

so should use a 6,8 V external power supply, but how many ampere???

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests