ESPEasy servo controlled blinds

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
the cosmic gate
Normal user
Posts: 102
Joined: 14 Nov 2015, 20:17

ESPEasy servo controlled blinds

#1 Post by the cosmic gate » 28 Feb 2018, 16:45

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 ?

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: ESPEasy servo controlled blinds

#2 Post by toffel969 » 28 Feb 2018, 18:18

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
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: ESPEasy servo controlled blinds

#3 Post by toffel969 » 01 Mar 2018, 16:18

check the other thread, waspie posted the answer to your question there
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests