tag:blogger.com,1999:blog-6245413346375218188.post1339166178854031459..comments2024-03-15T05:42:04.481-07:00Comments on Nerd Ralph: Zero-wire auto-reset for esp8266/ArduinoRalph Doncasterhttp://www.blogger.com/profile/00037504544742962130noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-6245413346375218188.post-78421762293751144302018-03-26T23:17:11.532-07:002018-03-26T23:17:11.532-07:00There is very little information available the las...There is very little information available the last few years on the ESP8266 auto reset which I find strange as it is almost a prerequisite to do serious debugging. I had to use a 10ms RC; higher values gave constant problems with this auto reset. I also connect DTR to CH-PD and keep RST pulled-up to 3.3V: in case of reset from sleep this seems to be a preferred solution.Erikhttps://www.blogger.com/profile/18017754870696382132noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-19133349277537391532015-05-16T08:16:44.361-07:002015-05-16T08:16:44.361-07:00I thought Ivan would have integrated my patch by n...I thought Ivan would have integrated my patch by now, but it seems not.<br />https://github.com/igrr/esptool-ck/issues/4<br />You could clone the latest esptool-ck, apply the patch I posted, and build your own.<br /><br />Nevertheless, the binary I posted should still work with newer versions of the IDE unless I accidentally used dynamic instead of static linking. I'll try to take a look over the next couple days.<br />Ralph Doncasterhttps://www.blogger.com/profile/00037504544742962130noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-78746365322957205362015-05-16T08:13:03.873-07:002015-05-16T08:13:03.873-07:00Correct.Correct.Ralph Doncasterhttps://www.blogger.com/profile/00037504544742962130noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-80252508161837128942015-05-16T05:02:03.725-07:002015-05-16T05:02:03.725-07:00Hi Again Ralph,
It seems that your version of espt...Hi Again Ralph,<br />It seems that your version of esptool.exe that can be downloaded from your site is outdated. <br />I am using the version of sandeepmistry/esp8266-Arduino. When I replace the esptool.exe the bare minimum sketch is not compiling anymore.<br /><br />I would love to try your solution. Now i am on a dead end. Could you help in one way or another.<br /><br />Anonymoushttps://www.blogger.com/profile/04703950568193444495noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-70006350889677489362015-05-13T12:17:21.268-07:002015-05-13T12:17:21.268-07:00Hi Ralph,
Another question: I have bought lately ...Hi Ralph, <br />Another question: I have bought lately a set of (ceramic) capacitors with 50 different values. The one you mentioned is not in it. <br /><br />With the calculation you decribed I tried to find another type of capacitor: <br />0.1µF capacitor and a 330KΩ resistor gives a result of 33MSec. Is that correct? <br />Regards,<br />Jeroen Beemster<br />Anonymoushttps://www.blogger.com/profile/04703950568193444495noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-53838717378453674592015-05-13T12:16:26.559-07:002015-05-13T12:16:26.559-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04703950568193444495noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-16320190225330831062015-05-13T10:40:49.569-07:002015-05-13T10:40:49.569-07:00Hi Ralph,
I love the idea with just 2 components e...Hi Ralph,<br />I love the idea with just 2 components extra. This will be a big benefit for easy using esp8266 like an arduino<br />I can see that Igor (iggr) has not merged your github request. Although he has already merged other ones. Is it possible that you add his suggestion to upload the change to github. By that he can just merge by pressing the merge button.<br />The benefit for me is that I am able to continue using his build for arduino. I would love to add this solution to www.arduinesp.com<br />Regards, Jeroen Beemster<br /><br />Anonymoushttps://www.blogger.com/profile/04703950568193444495noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-42100085925305400052015-05-13T03:02:51.829-07:002015-05-13T03:02:51.829-07:00I've not set it up, but if all you need is TX,...I've not set it up, but if all you need is TX,RX,GND you can use an audio jack, and an audio cable to connect a USB-Serial device to the ESP and program it. I've not got an schematics, as i don't (yet) have any software to do it. on the list. <br /><br />Anonymoushttps://www.blogger.com/profile/09986136949389223751noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-33185013867689540402015-05-05T05:35:05.445-07:002015-05-05T05:35:05.445-07:00Andrew Melvin:
Can you please give a full solutio...Andrew Melvin:<br /><br />Can you please give a full solution about the audio cable?<br />What do you mean?<br />Schematics would be nice<br /><br />Or did you mean that becase u just need 3 cables u did a usb to pl connection?<br /><br />I'm a bit confused<br />Please elaborate<br /><br />I also have a ch340 (cheap chines usb ttl)Unknownhttps://www.blogger.com/profile/12097041117255288852noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-77316181717979944502015-05-04T02:21:19.567-07:002015-05-04T02:21:19.567-07:00I think your first statement is the right one, it ...I think your first statement is the right one, it was hanging at 93%. I found your diode design, and that works flawlessly. I have no problems sending a break on my cheap adapters, but i wanted it for the device that can do 921600!, these ones don't work past 115200 . Good idea with drivers. I will try it on a PC at some point.Anonymoushttps://www.blogger.com/profile/09986136949389223751noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-45757268618583603852015-05-03T20:57:27.950-07:002015-05-03T20:57:27.950-07:00When you say it didn't work reliably, were you...When you say it didn't work reliably, were you getting hangs during uploads? I've been thinking that even at higher baud rates, a stream of data with >50% zero bits could discharge the RST below the threshold voltage. With the diode, the stop bit after each byte would re-charge the capacitor.<br /><br />I suspect the problem sending break is likely a driver rather than a hardware problem. The cheap (<$1 ea) pl2303hx USB-serial modules I use have no trouble generating a break under Windows 7 and Linux.<br />Ralph Doncasterhttps://www.blogger.com/profile/00037504544742962130noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-76330815662349369032015-05-03T07:15:30.233-07:002015-05-03T07:15:30.233-07:00Thought i'd add that i figured out how to do i...Thought i'd add that i figured out how to do it. This method did not work for me reliably. Your other method with the diode did. <br /><br />Thats TRX - 7.5K - RST, RST - 4.7uF - GND, TRX - Diode - RST. <br /><br />I've combined it with the ATTiny85 idea from http://tech.scargill.net, so I now have a reset and program function with just TX, RX, GND. Can program my ESPs,using an audio cable! I've had to add a send break command to the esptool.py which was easy enough.<br /><br />The one thing i've found is that no all USB-Serial converters can send breaks. I only have one type that can, an FTDI cheap Chinese one. My adafruit one for raspberry pi that can to 961000 does not do it, neither does another module I have. <br /><br />I used a scope to check their outputs when i send a break, so they definitely do not do it. <br /><br /><br />Anonymoushttps://www.blogger.com/profile/09986136949389223751noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-42432664800771266952015-05-01T13:22:19.129-07:002015-05-01T13:22:19.129-07:00This might be a stupid question. When ever i conn...This might be a stupid question. When ever i connect a capacitor and resistor to the Rx pin I get unable to communicate. <br /><br />Does it matter what type of capacitor you use, film or ceramic? <br /><br />If film does it have to be a certain way round?<br />Anonymoushttps://www.blogger.com/profile/09986136949389223751noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-49491436076452860342015-04-16T13:36:48.443-07:002015-04-16T13:36:48.443-07:00Multiply the resistance in Ohms by the capacitance...Multiply the resistance in Ohms by the capacitance in Farads. Where I used a 4.7uF cap and a 7.5K resitor, that would be:<br />4.7x10^-6 x 7.5x10^3 == 4.7 * 7.5 * 10^-3 == 0.03525 seconds<br />or roughly 35ms.Ralph Doncasterhttps://www.blogger.com/profile/00037504544742962130noreply@blogger.comtag:blogger.com,1999:blog-6245413346375218188.post-2723687441545986142015-04-13T01:37:01.424-07:002015-04-13T01:37:01.424-07:00How do u calculate the RC timeout?
what is the equ...How do u calculate the RC timeout?<br />what is the equation?Unknownhttps://www.blogger.com/profile/12097041117255288852noreply@blogger.com