Search found 6 matches

by craicfinder
09 Oct 2019, 14:46
Forum: ESP Easy: General Discussion
Topic: Doesn't wake up after DeepSleep
Replies: 5
Views: 1296

Re: Doesn't wake up after DeepSleep

I did a few tests with several nodeMCUs I purchased in different dates and... it doesn't work in some of them. Sound like a batch of them are faulty.
Definitely it is a hardware problem.

Thabks a lot for your message, it put me in the way to the solution.
by craicfinder
07 Oct 2019, 01:22
Forum: ESP Easy: General Discussion
Topic: Doesn't wake up after DeepSleep
Replies: 5
Views: 1296

Re: Doesn't wake up after DeepSleep

Forgot to say, I flashed ESP_Easy_mega-20190928_normal_core_241_ESP8266_4M1M.bin to my ESP.
by craicfinder
07 Oct 2019, 01:19
Forum: ESP Easy: General Discussion
Topic: Doesn't wake up after DeepSleep
Replies: 5
Views: 1296

Re: Doesn't wake up after DeepSleep

First of all, thanks for replying TD-er. I have a proximity (ultrasonic) sensor (RCW-1601) connected like this: Trigger to GPIO-12(D6) -> Set as Output High Echo to GPIO-13(D7) -> Set as Input The rest of pins are set as by default. Without DeepSleep it works great, giving measures every second. Do ...
by craicfinder
07 Oct 2019, 01:09
Forum: ESP Easy: General Discussion
Topic: Doesn't wake up after DeepSleep
Replies: 5
Views: 1296

Doesn't wake up after DeepSleep

Hi ESP friends, I am working with a ultrasonic sensor ('detector' device in code) to check when an object is close to it. I got a NodeMCU v3 (ESP 8266 12-E) and flashed into it. GPIO16 (D0) is connected to RST Set the wifi settings, MQTT... and the code, like this: On detector#Distance>0.0 do Publis...
by craicfinder
05 Oct 2019, 00:28
Forum: ESP Easy: General Discussion
Topic: Reading GPIO value
Replies: 1
Views: 1349

Re: Reading GPIO value

Just found the way, the right code is:

Code: Select all

on System#Boot do
 Monitor GPIO,4
endon

on GPIO#4 do
 Publish,home/garage/maindoor,%eventvalue%
endon

on MQTT#Connected do
  Publish,home/garage/maindoor,[Plugin#GPIO#Pinstate#4]
endon
by craicfinder
04 Oct 2019, 23:56
Forum: ESP Easy: General Discussion
Topic: Reading GPIO value
Replies: 1
Views: 1349

Reading GPIO value

Hi there, I am setting the behaviour for a magnetic sensor to check if a door is closed. GPIO04 is set as input. This is my code: on System#Boot do Monitor GPIO,4 endon on GPIO#4 do Publish,home/garage/maindoor,%eventvalue% endon on MQTT#Connected do Publish,home/garage/maindoor,[GPIO#4] endon MQTT#...