USB to serial (hardware control pins)
Posted:
Sat May 09, 2015 3:43 am
by tprochazka
Arduino IDE for ESP8266 use DTR and RTS pins to automatic switch to bootloader mode and reset.
It is possible uset another hardware control pins?
Like this adapter has only DTR and CTS:
http://www.aliexpress.com/item/B06-GY23 ... -download-cable/32257029121.html
And this one only RTS and CTS:
http://www.aliexpress.com/item/F08264-P ... 55670.html
Re: USB to serial (hardware control pins)
Posted:
Sat May 09, 2015 6:41 am
by villTech
dtr and rts are the only control pins of standard serial port.
Re: USB to serial (hardware control pins)
Posted:
Sat May 09, 2015 7:31 pm
by j0hncc
You could go with something like this. Has DTR and RTS pins available ("standard serial" or not, LOL). So it looks like you can adapt it to do what ever you need. It's what I will probably order if/when I feel I need another adapter.
http://www.ebay.com/itm/6Pin-USB-2-0-to ... 0565980256Cheers,
John
Re: USB to serial (hardware control pins)
Posted:
Sat May 09, 2015 11:12 pm
by jwatte
I did something much simpler. I had an Xbee USB Explorer layout around.
It has GND, VCC 3.3V, TXD and RXD, but no control lines at all.
However, this works great for talking to the module.
I soldered a half-width microswitch straight to the GND and GPIO0 pins.
When I want to program the device, I unplug the USP from the USB Explorer, hold down the switch, and re-plug the USB.
Unplug and re-plug (without switch holding) to boot as normal.
Works like a charm!