Closed ArnieX closed 7 years ago
Hi @ArnieX,
The flashing pins on the original design didn't work that well for me. It took a lot of tries to flash the module, each time failing when it was around 90% done flashing.
That, combined with the fact I'd like to replace the ESP chip on the module if it ever breaks down, instead of having to bin the entire module, I ended up soldering 2mm headers on my modules like this:
The ESP can be placed on the headers without soldering, and when you want to (re)flash them, just put them on a separate programmer module that has the same exposing headers:
This setup worked very well for me in the first design, so I chose not to have any programming pins exposed in the second design.
What do you think?
Hi @tjclement,
well on previous module it worked perfectly, at least for me. I would also add 3,3V IN so you do not need to connect 12V IN but otherwise it was OK. Problem with your ideas, illustrated by the images you share is that it is good for prototyping, but not really for final module with everything soldered. On our device (but it is a lot bigger) we have made accessible header for programming like this image shows.
It is similar to your solution but allow for ESP to be soldered directly on it, gives it also power from regulator on NodeMCU. So that you do not need to connect it to mains while flashing the firmware. From our experience ESP don't break that easily, actually we haven't yet have any failing.
Here is the scheme for our programming interface:
and if other UART USB2SERIAL is used instead of NodeMCU we have jumper to enable flash mode:
Maybe you could find a way how to get it on your module too, even-thought it is lot more crowded. Otherwise I have already ordered more transistors and the new mini360 power so I can order new modules to test them. BTW my colleague had a great idea to make the programming interface to fit female USB-A but it would need holes to fix it, contact pads could be bent to be soldered on surface contacts. Then you would just hack USB cable to connect to UART USB2SERIAL programmer.
That is just one of the ideas. Nothing will be perfect but I would rather have something than nothing ;)
Let me know if I can do more for you,
Martin
Thanks for the idea with flashing socket from NodeMCU, it works flawlessly.
Hi @tjclement,
good job with the new version, I will likely order it just to have few boards at home. Good to see that you have made contact pads for DC-DC converter much bigger. What am I missing thought are pins for programming the esp. Sometimes there is need to connect it by cable, at least for first flashing. Is it missing by design or did you forget it? Is there place to add it? I would definitely love at least contacts like on the first module but this time with 2.54 pitch so I can snap or solder 2.54 header directly without modification.
Best regards,
Martin