Pulse Counter problem with ESPEasy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TiaPreve
New user
Posts: 2
Joined: 10 Apr 2020, 16:52

Pulse Counter problem with ESPEasy

#1 Post by TiaPreve » 10 Apr 2020, 17:02

Hi everybody,

I faced a problem while I'm setting up my ESP01 with the Pulse Counter.

I want to use 2 different Pulse Counter, one LJ12A3 to read the amount of water I'm using and the YF-B6 to see if I have some water licking. On the YF-B6 I have an NTC Thermistor that permit to me to read the water temperature.
I solder a jumper directly on the board and it works fine.

The problem coming up once on the devices page on my ESPEasy configuration. Once I set up the Pulse Counter on the GPIO0 and the Analog input A0 everything works fine, instead when I set up the second Pulse Counter on the GPIO2 the firmware doesn't work anymore and it is impossibile to change the configurations and I need to flash again to make it work until I set up again the 2 Pulse Counter and it stops again to work.

I tried with the ESP01 and a Sonoff as well and the problem is still the same. I even used 2 different types of firmware but the problem still persist.

Does anyone know how to solve it?

Thanks a lot,
Mattia

GravityRZ
Normal user
Posts: 206
Joined: 23 Dec 2019, 21:24

Re: Pulse Counter problem with ESPEasy

#2 Post by GravityRZ » 10 Apr 2020, 17:57

if i google gpio-0 gpio-2 i find instantly that this has something to do with boot flash and program

some pins can not be used for everything unless you take special care

why not use save options like gpio-12, 13 or 14

inside the esp you see a triangle behind the gpio pin if it can not be uses savely

so unless you want the maximum amount of pins connected i should go for the easy way (D5, D6)

TiaPreve
New user
Posts: 2
Joined: 10 Apr 2020, 16:52

Re: Pulse Counter problem with ESPEasy

#3 Post by TiaPreve » 10 Apr 2020, 18:50

Hi,

I tried to change the GPIO's and now I'm using the Gpio 12 and 14.

As you can see in the picture this is the configuration of my devices
Schermata 2020-04-10 alle 18.46.23.png
Schermata 2020-04-10 alle 18.46.23.png (167.08 KiB) Viewed 5626 times
and then the log
Schermata 2020-04-10 alle 18.46.38.png
Schermata 2020-04-10 alle 18.46.38.png (265.44 KiB) Viewed 5626 times
.
It continues to lose the connection even in this way.

What do you suggest to do?

Thanks a lot,
Mattia

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Pulse Counter problem with ESPEasy

#4 Post by grovkillen » 10 Apr 2020, 18:52

Perhaps use a newer version?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests