Reset ESP-01 from an Arduino

Hi,

My goal is to be able to restart an ESP-01 from an Arduino digital pin.

The Arduino is 5v and ESP-01 is 3.3v and if you set the reset pin low, it restarts, so that's the goal!

I need some help with the electronics, and I'm not sure what I've thought is possible.

Is it possible to make a DO pin as output and keep it high and then set it low when it needs to be reset?

Or will I be able to set a digital pin to input and then set it to low when it needs to be reset?

Is any of this possible or what would be the right thing to do?

Those can work. Another approach is to pull the reset pin up to 3.3 V with a 10k resistor and use a diode to pull it low from the Arduino pin. Your second diagram plus a diode. This prevents any possibility of 5 V being applied to the reset pin. :grinning:

Is it possible to make a DO pin as output and keep it high and then set it low when it needs to be reset?

By "D0" do you mean digital pin 0? What type of Arduino? On many types of Arduino, you should avoid using pins 0, 1 because they are used for sketch upload and serial monitor.

Paul__B:
Those can work. Another approach is to pull the reset pin up to 3.3 V with a 10k resistor and use a diode to pull it low from the Arduino pin. Your second diagram plus a diode. This prevents any possibility of 5 V being applied to the reset pin. :grinning:

Thank you very much, a diode is a great idea!

PaulRB:
By "D0" do you mean digital pin 0? What type of Arduino? On many types of Arduino, you should avoid using pins 0, 1 because they are used for sketch upload and serial monitor.

I was just thinking of a digital output pin. Should not have written DO

It's actually an atmega328p processor just like those on a uno

The voltage divider will likely not work as the RESET pin has its own pull-up resistor (probably 10k) to 3.3V. So when pulling it low you still have about 1.5V on that pin.

The diode solution should work fine.

You all say: a diode will be a good idea. Can someone please update the little circuit from "easyanton"?

RudolfAtRTC:
You all say: a diode will be a good idea. Can someone please update the little circuit from "easyanton"?

Thank you very much. Is it like this?

Correct.

Are you using AT commands? I think there is one to reset the ESP.

to easyanton: The small circuit diagrams are very easy to read. What program are they drawn with? I would like to use that.

It looks very much like KiCAD. Quite certainly not EagleCAD, that uses a different colour scheme. Both are highly recommended for drawing schematics - KiCAD is FOSS; EagleCAD has a free version with limited functionality which for hobby use appears to be just fine.
I'm using KiCAD all the time; no personal experience with EagleCAD.

RudolfAtRTC:
to easyanton: The small circuit diagrams are very easy to read. What program are they drawn with? I would like to use that.

It's EasyEDA I use (Link)

Thanks to easyanton! The EasyEDA works for me.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.