PS - The image shows a very "custom/rough" board design. Obviously this will have to be refined along the way, it's just a prototype of a versatile ESP01 custom board. Flexibility of access to the several ESP01 modes and options is the main purpose. Eventually I'll send it to a PCB fab if it works Also, the crude, raw solder joints could get a good use as TEST POINTS, it really allows my testing before connecting this to real VCC-GND, also for testing connections, resistence values etc.)
Hello, I found this forum and wish to contribute while I gain some experience.
I've got some experience in electronics, Arduinos, uCs and also ESP01 having read a lot. But that's precisely the origin of my doubts and questions, since I tend to find several apparently contradictory advice on how to setup the ESP01/ESP01S...
Let's see. I'm building this mini-custom board for the ESP01. This is one of those Chinese dealer ESP01, not the 01S but with 1MB flash anyway. It has both LEDs and the relatively big SMD cap just in the vicinity of pin 8 (GPIO16).
My idea was to try expand from a 2x4 female header to which I connect the 01, and try to provide for things as:
- Custom access to the EN pin, by a jumper you could tie it to VCC but could get off the jumper and drive the pin externally also. This was motivated by some thread out there in which people tied the GPIO16 to EN ??? (I thought it was tied to RESET pin, for the deep sleep thing, but oh well... ) Does it have sense to drive EN? I though it ws enough to keep it pullup'ed to VCC (but see next item on what's the proper pullup R value).
- Proper pull-ups for GPIO0 and RESET for their default '1' states, although I've seen designs with 3k3 pullups other with 10k.. which is the best? Is 3k3 dangerous/ borderline in order to drive the current into these pins ?
- I've also attached extra circuitry for the RESET to be able to be riden by external uC (thinking Tiny85 because I'll need extra in/outs to sensors that the ESP01 alone can't provide). So basically I'll need sometimes the ESP01 to act driven by the Tiny85, or also maybe to be able to drive RESET from a firmware-sending PC, all the while maintaning chances of driving externalyl the RESET line.
- In order to do the above point, I put Schotkky diodes, one going directly RESET -> external pin (though for Tiny85 in the future), the other to manual SWitch, but with a 4u7 cap in parallel to earth, and a 100R i.e. not connecting the SW directly to GND in the other end. Later on I though, 4u7 is a bit overkill, I've seen caps in this regard being only 4n7, or maybe just 10/100 nF, what's right?
- Not to talk about the GPIO16 provision which is NONE in these tiny boards, so I managed to solder a tiny wire to that (later on I hotglued the works of course!), my plans are to attach this fixed wire to a female Dupont end so that I could tie it to either RST line or externally. So e.g. if I leave it tied to the RST by the Dupont header, then I can be sure that the deepSleep function will do its thing w/out problems etc... am I right?
All around I think this could work and be a mini design of mine that will serve me for many purposes, because it would allow: programming on- and off-the project, manual SW + external + deepsleep internal resetting, care about multiple drivings to GND of RESET pin (thanks to the Schottkys) etc.
I've got it constructed right now but with 3k3 pullups and the 4u7 cap which I think was an errata? The Schottkys are 1N5819 more than enough I guess.
The board connects to the UART (had of course a 4-way Dupont male header installed in my current hardware version), detects, can flash firmware (I put BOTH a RESET button and a GPIO0 tie-to-gnd button) without a glitch, I already talked to it via miniterm.py blah blah... all right, BUT then I need to confirm the R, C values, and all these design decisions so to speak... that's when I come here to ask for help and advice.
I don't know why some Chinese dealers (and not just those!) are just dropping out ESP01s with the bare minimums!
So any advice on my choosings and any further insight into this design I'll be so grateful. Thanks again folks! And of course when I have it finished I'll show here the results.