Servo Motor SG90
Moderators: grovkillen, Stuntteam, TD-er
Servo Motor SG90
Hi there,
I have a Wemos D1 Mini with Build version: ESP_Easy_mega_20220427_normal_ESP8266_4M1M_VCC Apr 27 2022.
I connected a Servo Motor SG90 (5V,GND,D7) but when I execute the command /control?cmd=Servo,1,13,90 I have a "FAILED" return.
How to solve the problem?
Thanks in advance.
Sorry for my English, I'm French and I used a translator.
Mathieu
I have a Wemos D1 Mini with Build version: ESP_Easy_mega_20220427_normal_ESP8266_4M1M_VCC Apr 27 2022.
I connected a Servo Motor SG90 (5V,GND,D7) but when I execute the command /control?cmd=Servo,1,13,90 I have a "FAILED" return.
How to solve the problem?
Thanks in advance.
Sorry for my English, I'm French and I used a translator.
Mathieu
Re: Servo Motor SG90
Can you check the logs to see if you see an error like this: "USE_SERVO not included in build" ?
I don't see why it may fail given the command you mention, so then the other idea is that it simply may not be included in the build?
I don't see why it may fail given the command you mention, so then the other idea is that it simply may not be included in the build?
Re: Servo Motor SG90
Hello TD-er
You saw it right!
How to cure it ?
Mathieu
You saw it right!
Code: Select all
14662: HTTP: Servo,1,0,90
14664: USE_SERVO not included in build
Mathieu
Re: Servo Motor SG90
Ah found why it is excluded, apparently.
For some reason, for the _VCC builds, the flag LIMIT_BUILD_SIZE is defined and then the servo is not included.
Do you need a _VCC build?
If not, then you can use the normal bin without _VCC in the name.
For some reason, for the _VCC builds, the flag LIMIT_BUILD_SIZE is defined and then the servo is not included.
Do you need a _VCC build?
If not, then you can use the normal bin without _VCC in the name.
Re: Servo Motor SG90
I'm testing with a no _VCC version.
To be honest, I don't know why I chose this version
To be honest, I don't know why I chose this version

Re: Servo Motor SG90
OK, so you can now also use the A0 analog input. Thus it's a win-win to change the bin then 

Re: Servo Motor SG90
Thank you very much, the commands are working. I have to find for the angles;
Re: Servo Motor SG90
Well, I have to find out why my Servo vibrates even when it is not in abutment.
Re: Servo Motor SG90
Using a value >= 9000 will quiet down the humming of the servo 

/Ton (PayPal.me)
Re: Servo Motor SG90
Hello Ath,
I have to put this value where ?
Thanks
edit: 9000 stops the engine, is that right?
I have to put this value where ?
Thanks
edit: 9000 stops the engine, is that right?
Re: Servo Motor SG90
That is what it is intended to do
Those cheap Chinese servos don't seem to handle stationary positions very well 


/Ton (PayPal.me)
Re: Servo Motor SG90
Thanks a lot.
Are there any other commands like this?
Are there any other commands like this?
Re: Servo Motor SG90
What do you mean by "like this"?
Have you looked at the command reference documentation page? https://espeasy.readthedocs.io/en/lates ... mmand.html
Have you looked at the command reference documentation page? https://espeasy.readthedocs.io/en/lates ... mmand.html
Who is online
Users browsing this forum: No registered users and 11 guests