I've read the wiki and I can control the SG90 with the servo command, but only up to 180°. So my questions are:
1. Is there a device to be installed in the task table for the servo?
2. Why are the servos identified with ID (e.g. servo,1,14,0), when the command direct control the GPIO?
3. How is the command for 181° and up?
Thanks for any help.
PS: The servo command is twice in the wiki command reference!
Servo SG90, need help
Moderators: grovkillen, Stuntteam, TD-er
Re: Servo SG90, need help
No. It is just controlled by HTTP-commands, no device setting.
Can't say why. Maybe a developer can say something about it.2. Why are the servos identified with ID (e.g. servo,1,14,0), when the command direct control the GPIO?
Ooops - something about servos in general:3. How is the command for 181° and up?
There are a lot of servos on the market. Most of them are not able to turn full 360°!
Following the datasheet of SG90 ( http://www.micropik.com/PDF/SG90Servo.pdf )) this servo
can turn about 180°.
From the datasheet:
If you try to turn more then 180° it starts humming and vibrating and gets somewhat hot - the motor tries to turn moreServo can rotate approximately 180 degrees (90 in each direction)
then the stoppers in the gear allow.
There is no special command for > 180°, it's same command. Just the servo can't turn that far.
Regards
Shardan
Regards
Shardan
Shardan
Re: Servo SG90, need help
Ah, ok,I didn't know that. There was no hint in the item specification for this limitation. Thank god, that I only payed 1.55€ for it. Thanks anyway for the infos.
Re: Servo SG90, need help
I would bet, we are not the only two....
Re: Servo SG90, need help
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Who is online
Users browsing this forum: Google [Bot] and 31 guests