Search found 7 matches

by 19roland70
09 Sep 2017, 12:01
Forum: ESP Easy: Software
Topic: Dimming and a rotary-encoder
Replies: 8
Views: 7525

Re: Dimming and a rotary-encoder

I use following rules to control led on my connected pro-mini.you can replace command EXTPWM,13,[dummy#d1] with PWM,13,[dummy#d1] to control local led on esp8266.It is also controlled by web browser with event command like: http://<espeasyip>/control?cmd=event,dimmer1=0 (lowest level) or http://<es...
by 19roland70
22 Aug 2017, 23:53
Forum: ESP Easy: Software
Topic: Dimming and a rotary-encoder
Replies: 8
Views: 7525

Re: Dimming and a rotary-encoder

I have not tested this code myself but this is how I would do it. LED on GPIO12 (D6). Rotary Encoder with max value 100 and min value 0 , the device named "rotary" and the value named "count". on rotary#count do pwm,12,[rotary#count]*10 //if you want the max value to be 1000 end...
by 19roland70
21 Aug 2017, 20:49
Forum: ESP Easy: Software
Topic: Dimming and a rotary-encoder
Replies: 8
Views: 7525

Dimming and a rotary-encoder

Is there anybody who has a example in rules how to dim a led with a Rotary encoder?
by 19roland70
07 May 2017, 10:02
Forum: ESP Easy: Hardware
Topic: Esp-12 i.c.m Rotary encoder
Replies: 6
Views: 5708

Re: Esp-12 i.c.m Rotary encoder

This is how I want it to do: https://www.uploadarchief.net:443/files/download/rotary%20encoder.gif Below is the switch state of the Rotary-encoder. https://www.uploadarchief.net:443/files/download/rotary-encoder-fasering.jpg If I read input A then check what is the status of input B is. Then I know ...
by 19roland70
23 Apr 2017, 11:56
Forum: ESP Easy: General Discussion
Topic: Feature request --Rotary encoder
Replies: 0
Views: 1234

Feature request --Rotary encoder

Is there someone who has tried to connect a Rotary encoder to a esp8266? My programming skills are not so good that I can implement it on espeasy. I want to try it to connect to gpio 4 and gpio 5,and the pushbutton connect to gpio 0 for example something like this: If gpio4 = 1 Then If gpio5 = 1 The...
by 19roland70
09 Apr 2017, 09:40
Forum: ESP Easy: Hardware
Topic: Esp-12 i.c.m Rotary encoder
Replies: 6
Views: 5708

Re: Esp-12 i.c.m Rotary encoder

The problem with a potmeter is that when I used my Phone or iPad to dim the bulb that the state of the potmeter not chanched.
With a Rotary is the state not important .
by 19roland70
08 Apr 2017, 13:43
Forum: ESP Easy: Hardware
Topic: Esp-12 i.c.m Rotary encoder
Replies: 6
Views: 5708

Esp-12 i.c.m Rotary encoder

Is it possible to use a rotery encoder with the esp ? I have written a script in Lua and Domoticz . The script works and de led dims from 100 to 0 %. Now I want the use an esp with a rotary encoder because i can use the as dimmer. Are there more peolple that use the Rotary with the esp? I think it's...