GPIO16 issue of ESP WROOM32
-
- Posts: 6
- Joined: Mon Feb 25, 2019 9:37 am
GPIO16 issue of ESP WROOM32
Hello ,
I have attached push button switch to GPIO16 of ESP WROOM32 as shown in the figure. I am using GPIO16 as interrupt pin. On the falling edge of switch I am performing some task. But the problem is that GPIO16 is automatically triggering this task after some time without touching push button. Is there any issue with this GPIO16 or should I modify the circuit. Please help me to solve this problem.
I have attached push button switch to GPIO16 of ESP WROOM32 as shown in the figure. I am using GPIO16 as interrupt pin. On the falling edge of switch I am performing some task. But the problem is that GPIO16 is automatically triggering this task after some time without touching push button. Is there any issue with this GPIO16 or should I modify the circuit. Please help me to solve this problem.
-
- Posts: 7
- Joined: Tue Dec 11, 2018 3:09 am
Re: GPIO16 issue of ESP WROOM32
I think the schematic is OK, and you may check your code with respect to the GPIO init. You can post the code if you like. Also the GPIO may suffer noises from other part of the board. In this situation a larger value of the capacitor will help to solve the problem, e.g. 1uF.
Re: GPIO16 issue of ESP WROOM32
Circuit is fine.
-
- Posts: 6
- Joined: Mon Feb 25, 2019 9:37 am
Re: GPIO16 issue of ESP WROOM32
I tried it with larger capacitor also but it is not working . I found that this problem occurs when I am switching the AC load using relay.I have connected 8 relays to ULN2803 IC . When I am switching the AC load ,it is triggering the interrupt connected to the push button. There is no connection between the AC load and push button. I monitored the status of GPIO16 there is no falling edge on this GPIO16 when I was monitoring the status of this on digital oscilloscope. When I am not connecting any AC load to the relay that time all operations okay .
-
- Posts: 6
- Joined: Mon Feb 25, 2019 9:37 am
Re: GPIO16 issue of ESP WROOM32
When I removed the capacitor connected to push button,false triggering frequency gets reduced by 80 percentage.AshIsPurestWhite wrote: ↑Mon Feb 25, 2019 12:05 pmI think the schematic is OK, and you may check your code with respect to the GPIO init. You can post the code if you like. Also the GPIO may suffer noises from other part of the board. In this situation a larger value of the capacitor will help to solve the problem, e.g. 1uF.
-
- Posts: 9
- Joined: Tue Feb 19, 2019 4:45 pm
Re: GPIO16 issue of ESP WROOM32
Is your uln2803 + relay decoupled? (see http://forum.arduino.cc/index.php?topic=157018.0)
-
- Posts: 6
- Joined: Mon Feb 25, 2019 9:37 am
Re: GPIO16 issue of ESP WROOM32
Hello When I am connecting 8 relay to output of ULN2803 and controlling it with 3.3V to the input of ULN2803. The problem is that when I am controlling 12V relay it is effecting the operation of ES32 .Please tell me the solution
Re: GPIO16 issue of ESP WROOM32
Your not providing enough information for people to help.
How are you powering your ESP32
How are you powering your 12v relays.
What is the schematic of your system, how are things wired up, what other components do you have on your system.
The more information you provide the more it will help.
How are you powering your ESP32
How are you powering your 12v relays.
What is the schematic of your system, how are things wired up, what other components do you have on your system.
The more information you provide the more it will help.
-
- Posts: 6
- Joined: Mon Feb 25, 2019 9:37 am
Re: GPIO16 issue of ESP WROOM32
Find the attached schematic
- Attachments
-
- Capture.JPG (174.89 KiB) Viewed 11343 times
-
- Posts: 9
- Joined: Tue Feb 19, 2019 4:45 pm
Re: GPIO16 issue of ESP WROOM32
12v should be decoupled (say, 10 uF -low pass, for relay activation- + 100 nf).
3.3v decoupling (2*0.1 uF : 100nf + 0.1uf) is either a typo, or unsufficient (100 nF + 1 uF would be better)
3.3v decoupling (2*0.1 uF : 100nf + 0.1uf) is either a typo, or unsufficient (100 nF + 1 uF would be better)
Who is online
Users browsing this forum: Google [Bot] and 188 guests