Page 1 of 1

ESPEasy servo controlled blinds

Posted: 28 Feb 2018, 16:45
by the cosmic gate
At the momemt i'am busy to build my servo controlled venation blinds, but when using the standard servo control commands :

Code: Select all

http://<espeasyip>/control?cmd=Servo,1,2,90
its not possible to use "-" commands .
With this blinds it's not only open - close , but you can move the blinds from horizontal ( 0 degree) to 180 degree left , or 180 degree's to the right
How can i arrange this with te default servo commands ?

The 2nd issue i'll get is so called : servo buzz . This means when you move the servo to some possition it keeps buzzing / shaking a bit.
Is there some solution for this ? I found somebody who changed the servo code a bit :

Code: Select all

cli();
long start = micros();
digitalWrite(PIN, HIGH);
while (micros() - start < duration)
  ;
digitalWrite(PIN, LOW);
sei();
found here : https://electronics.stackexchange.com/q ... om-shaking
But how is this possible to test within ESPeasy ( i use the latest mega build v2.0-20180228 )

i also placed a capacitor , but the problem still remains

somebody who can help me with these questions ?

Re: ESPEasy servo controlled blinds

Posted: 28 Feb 2018, 18:18
by toffel969
There is probably a work around in software, I asked vader to elaborate on detaching in this old thread viewtopic.php?f=6&t=3329&p=25263#p25263

Re: ESPEasy servo controlled blinds

Posted: 01 Mar 2018, 16:18
by toffel969
check the other thread, waspie posted the answer to your question there