Hi. I'm making my first IoT project and I'm trying to connect an ESP-01S to my arduino Due.
looking at some websites, they have a lot of differences since some of them use resistors, some of them connect a port and disconnect it after a second or some of them even recommend using external power supply for it.
Also the pins on the ESP are useless for a breadboard so if anyone can suggest any other way for making the connections I'd appreciate it
I found out that using the maximum speed on the ESP draws more current than the maximum for each pin on the arduino so I'm still not sure which circuit to use
The picture alone will answer your question about the connection possibilities. These are "dupont" cables.
Maybe the rest of the article has also useful information for your project.
Thanks for the article; It was helpful but still I'm worried if using the maximum speed of the ESP will draw too much current and if it does what resistor should I use
As you can see in this page of the datasheet (I attached it), there is a possibility that the ESP can draw 170mA current which is not allowed in the arduino Due datasheet since maximum is 110mA per pin. if there's a way to restrict the maximum speed of the ESP so I don't have to use resistors That would be awesome
Also, why woudn't I use ESP-01s with arduino Due? is there a better choice for a WiFi module?
I have ESP8266s connected to an Arduino Mini and they work just fine. The 170mA number only relates to the power pins of the ESP, not the signal pins (RX/TX/RST/etc)
hzrnbgy:
I have ESP8266s connected to an Arduino Mini and they work just fine. The 170mA number only relates to the power pins of the ESP, not the signal pins (RX/TX/RST/etc)
jeeves:
Also, why wouldn't I use ESP-01s with Arduino Due? is there a better choice for a WiFi module?
I must confess I am not familiar with the Due, but I suspect that for most applications, the ESP8266 is of quite comparable capability in itself and the Due would be unnecessary if you used an ESP8266 - such as the WeMOS D1 Mini - with more accessible I/O.
The 170 mA power draw of the ESP8266 is during transmission of WiFi signals and in no way related to any "speed" but rather the power level it determines necessary to make contact with another WiFi point. It has nothing whatsoever to do with the data connections and I am sure FWIW, that the Due's power supply is more than capable of providing that current.