Dimmer Example problem

9 years 9 months ago #515 by VasilijHCN
Hi, temperature and relay node working perfect, but dimmer node - can not add to ESP8266 EasyIoT driver. Where can be my fault. I tried v0.6 and now v0.7beta windows version, same problem. When one time i get connected to dimmer node, slider not changing led brightness(on 13 pin LOW level present).

Please Log in or Create an account to join the conversation.

9 years 9 months ago #522 by EasyIoT
Replied by EasyIoT on topic Dimmer Example problem

VasilijHCN wrote: Hi, temperature and relay node working perfect, but dimmer node - can not add to ESP8266 EasyIoT driver. Where can be my fault. I tried v0.6 and now v0.7beta windows version, same problem. When one time i get connected to dimmer node, slider not changing led brightness(on 13 pin LOW level present).


I've double checked and it works for me. I'm testing with Arduino Meaga 2650 and HW serial port. I've tested with slightly modified ESP8266 EasyIoT library. You can try this library if you download latest GitHub version - updated today.
The following user(s) said Thank You: VasilijHCN

Please Log in or Create an account to join the conversation.

9 years 9 months ago - 9 years 9 months ago #528 by VasilijHCN
Replied by VasilijHCN on topic Dimmer Example problem
Thank U again, at this moment fail again, also when i power up relay node, all temperature nodes go offline(now more stable), all nodes have static ip by mac.
Now i added N0S0 dimmer node, but no reaction on dimming wheel .
I added software reset in arduino code, every 5 min reset, to prevent offline.
When i hit i.e. on 50%, then close wheel, and open it again, i see 0.
My HW - arduino pro mini 5V(converted to 3.3V)
If i use hardware serial i need this ?
esp.begin(incomingMessage, 3, Serial);

Please Log in or Create an account to join the conversation.

9 years 9 months ago - 9 years 9 months ago #530 by EasyIoT
Replied by EasyIoT on topic Dimmer Example problem

VasilijHCN wrote: Thank U again, at this moment fail again, also when i power up relay node, all temperature nodes go offline(now more stable), all nodes have static ip by mac.
Now i added N0S0 dimmer node, but no reaction on dimming wheel .
I added software reset in arduino code, every 5 min reset, to prevent offline.
When i hit i.e. on 50%, then close wheel, and open it again, i see 0.
My HW - arduino pro mini 5V(converted to 3.3V)
If i use hardware serial i need this ?
esp.begin(incomingMessage, 3, Serial);


Software reset??
In esp.begin function is the second parameter Arduino pin connected to reset on ESP. Read ESP8266 Arduino connection tutorial. If you have problems enable debug and see what's happening.

Please Log in or Create an account to join the conversation.

9 years 9 months ago #532 by VasilijHCN
Replied by VasilijHCN on topic Dimmer Example problem

Software reset??
In esp.begin function is the second parameter Arduino pin connected to reset on ESP. Read ESP8266 Arduino connection tutorial. If you have problems enable debug and see what's happening.

My arduino code contain reset function for every 5 minutes.
..........
void(* resetFunc) (void) = 0;//declare reset function at address 0
.........
if (millis()>300000)
{
resetFunc(); //call reset  
}
...........

Please Log in or Create an account to join the conversation.

9 years 9 months ago #554 by EasyIoT
Replied by EasyIoT on topic Dimmer Example problem

VasilijHCN wrote:

Software reset??
In esp.begin function is the second parameter Arduino pin connected to reset on ESP. Read ESP8266 Arduino connection tutorial. If you have problems enable debug and see what's happening.

My arduino code contain reset function for every 5 minutes.
..........
void(* resetFunc) (void) = 0;//declare reset function at address 0
.........
if (millis()>300000)
{
resetFunc(); //call reset  
}
...........


Why?? ESP8266 EasyIoT library handles ESP freeze

Please Log in or Create an account to join the conversation.

Time to create page: 0.283 seconds

Forum latest

  • No posts to display.