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
Servo DS3218MG (Digital Servo)
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 4
- Joined: 12 Dec 2019, 13:19
Re: Servo DS3218MG (Digital Servo)
i tried it with a wemos d1 mini on D7 (GPIO13) with this http
and this is the output
but nothing happened.
what can i do??
Code: Select all
http://192.168.1.73/control?cmd=Servo,1,13,-180
Code: Select all
{
"log": "GPIO 13 Servo set to -180",
"plugin": 1,
"pin": 13,
"mode": "servo",
"state": 0
}
Ok
what can i do??
Re: Servo DS3218MG (Digital Servo)
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
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.
-
- New user
- Posts: 4
- Joined: 12 Dec 2019, 13:19
Re: Servo DS3218MG (Digital Servo)
thanks for this information.
i tried it with both (GPIO12 and GPIO14) but nothing happened
i tried it with both (GPIO12 and GPIO14) but nothing happened
- dynamicdave
- Normal user
- Posts: 257
- Joined: 30 Jan 2017, 20:25
- Location: Hampshire, UK
Re: Servo DS3218MG (Digital Servo)
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.
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.
-
- New user
- Posts: 4
- Joined: 12 Dec 2019, 13:19
Re: Servo DS3218MG (Digital Servo)
'dead' looks like mine.
so should use a 6,8 V external power supply, but how many ampere???
so should use a 6,8 V external power supply, but how many ampere???
Who is online
Users browsing this forum: No registered users and 33 guests