Search found 9 matches

by Denis Brion
Tue Feb 26, 2019 4:27 pm
Forum: General Discussion
Topic: GPIO16 issue of ESP WROOM32
Replies: 13
Views: 3772

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)
by Denis Brion
Tue Feb 26, 2019 9:26 am
Forum: General Discussion
Topic: GPIO16 issue of ESP WROOM32
Replies: 13
Views: 3772

Re: GPIO16 issue of ESP WROOM32

Is your uln2803 + relay decoupled? (see http://forum.arduino.cc/index.php?topic=157018.0)
by Denis Brion
Fri Feb 22, 2019 12:40 pm
Forum: ESP32 Arduino
Topic: Broken I2C communication while using wifi!
Replies: 10
Views: 3719

Re: Broken I2C communication while using wifi!

One weird behaviour is, when I put my hands closer to the DPS, the number of wrong values are greatly reduced. Maybe this is the reason of my problems, but I do not know what to do ... Seems a symptom of your problems. You really should post a (link to a) photo of the circuit as it is: a)Are each a...
by Denis Brion
Thu Feb 21, 2019 1:04 pm
Forum: ESP32 Arduino
Topic: Broken I2C communication while using wifi!
Replies: 10
Views: 3719

Re: Broken I2C communication while using wifi!

Two things keep on worrying me (searching for powwer supply trouble):
a) you have an analog circuit before the analog to I2C converter. Is it decoupled? How is it powered?
b) ESP have separated flash (another chip), with a separate decoupling (say, 1uF).
c) Is your ESP32 tied to an antenna?
by Denis Brion
Thu Feb 21, 2019 12:16 pm
Forum: ESP32 Arduino
Topic: Broken I2C communication while using wifi!
Replies: 10
Views: 3719

Re: Broken I2C communication while using wifi!

Well, your ADC has a 100 n decoupling ;OK I2C legs are pulled up with 10k ;OK EPS32 has ... two 100 nF decoupling (200 nF) From https://www.espressif.com/sites/default/files/documentation/esp32_hardware_design_guidelines_en.pdf , fig.2 -maybe 3- seems it lacks >= 1uF decoupling capacitors . from the...
by Denis Brion
Thu Feb 21, 2019 10:13 am
Forum: ESP32 Arduino
Topic: [SOVLED] AsyncWebServer doesn't receive values from HTTP_POST
Replies: 6
Views: 3108

Re: Trying to save some values from two input fields from inside a HTML page

Well, my answer wo not solve your problem, but might avoid troubles . I saw some classical troubles in your main.cpp: line 13 : What is the use of delay(1000) ; lines 28..34 : what happens if there are more than two lines? I would have written (more concise; safer; easier to understand... but untest...
by Denis Brion
Thu Feb 21, 2019 9:34 am
Forum: ESP32 Arduino
Topic: Broken I2C communication while using wifi!
Replies: 10
Views: 3719

Re: Broken I2C communication while using wifi!

Other issues might be pullup resistors (SDA and SCL should be tied to + via a , say, 2.2k resistor, else, it gets noise sensitive -and as ESP_Sprite wrote, wifi can generate noise). Is there a way to put pictures of your hardware in this forum -on both sides, so that nothing gets hidden: "smart" "ph...
by Denis Brion
Wed Feb 20, 2019 1:23 pm
Forum: ESP32 IDF
Topic: Including files in one custom component from another
Replies: 4
Views: 1740

Re: Including files in one custom component from another

Excuse me, but if you are under linux/Unix, ln -s can be tryied (shares (contents of) a file between two directories (file names): if you modify one version of the file, say in directory A, it is modified in the other directory and no extra room (except for a "adress" ) is used.... This can be used ...
by Denis Brion
Tue Feb 19, 2019 6:53 pm
Forum: ESP32 Arduino
Topic: [SOLVED] Should I use "String" or 'char arrays' ?
Replies: 1
Views: 2811

Re: Should I use "String" or 'char arrays' ?

you should not worry that much about optimizing resources, as ESP32 are way bigger and faster than 8 bits arduino. Both String and char arrays are comfortable for me, and conversion is very fast using .c_str (ask arduino help : is in your IDE): creates a pointer, no RAM displacement (very fast); toC...

Go to advanced search