Reset method, auto reset and i2c (ESP-01)
Posted: Mon Oct 24, 2016 6:18 am
Hi,
First post here, tried to search but couldn't find anything concerning my problem (which i thought I wouldn't be the only one to have)
To summarize; I'm using the Arduino IDE to program a ESP-01 module. So far so good.
What I would like to achieve (which I know is possible all parts by them self but maybe not all together at the same time) is Auto Reset when programming using FTDI adapter which exposes DTR and CTS line. Would love to have the Arduino IDE serial monitor working even with auto reset circuit in place. And finally use GPIO 0 and 2 for I2c together with auto reset without any buttons or jumpers etc.
It might be to much to ask from the ESP-01 module, but shouldn't be impossible really.
In theory I got it working, but I got stuck on the auto reset.
I have the hardware circuit working "manually" but not from the DTR line.
Where do I find the information on what reset method "ck" vs "NodeMcu" actually do with the serial lines (DTR/RTS)? When and how do they go High or Low etc in the different modes?
(And also information on all the other settings which isn't self explaining such as speed and flash size. Haven't search for the others yet though because everything is working except auto reset)
During my searches I saw somewhere that it was possible to turn of´f DTR/RTS for the serial monitor to get that part working together with auto reset, but I really didn't find out more than it should be possible in the Arduino IDE.
How is this achieved?
If I can sort those two things out (really the auto reset is the biggest problem) I can start testing and se if I can have i2c without problems from the auto reset circuit.
Thx
/Henrik
First post here, tried to search but couldn't find anything concerning my problem (which i thought I wouldn't be the only one to have)
To summarize; I'm using the Arduino IDE to program a ESP-01 module. So far so good.
What I would like to achieve (which I know is possible all parts by them self but maybe not all together at the same time) is Auto Reset when programming using FTDI adapter which exposes DTR and CTS line. Would love to have the Arduino IDE serial monitor working even with auto reset circuit in place. And finally use GPIO 0 and 2 for I2c together with auto reset without any buttons or jumpers etc.
It might be to much to ask from the ESP-01 module, but shouldn't be impossible really.
In theory I got it working, but I got stuck on the auto reset.
I have the hardware circuit working "manually" but not from the DTR line.
Where do I find the information on what reset method "ck" vs "NodeMcu" actually do with the serial lines (DTR/RTS)? When and how do they go High or Low etc in the different modes?
(And also information on all the other settings which isn't self explaining such as speed and flash size. Haven't search for the others yet though because everything is working except auto reset)
During my searches I saw somewhere that it was possible to turn of´f DTR/RTS for the serial monitor to get that part working together with auto reset, but I really didn't find out more than it should be possible in the Arduino IDE.
How is this achieved?
If I can sort those two things out (really the auto reset is the biggest problem) I can start testing and se if I can have i2c without problems from the auto reset circuit.
Thx
/Henrik