Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am perusing my engineering degree. And i want to make project with connecting multiple esp8266 with router and control multiple relay boards I am unable use esp8266 12 e with arduino. I used this connection shown in the link below, but it didn't work. So please help me with the solution. I also refer post and all possible posts, but it didn't help. Please help me as soon as possible.

connection: https://i.stack.imgur.com/9H6Wc.png post: How to connect ESP8266 12e directly to Arduino Uno (without shields)

share|improve this question
1  
In engineering, you'll have to use valid sources and constantly validate your choices (and explore options). Why would you even use an Arduino + ESP8266, if you can use an ESP8266 dev board (with USB) instead of an Arduino (+ESP) – Paul Nov 22 '16 at 23:03
    
Have you also checked the answer on that question? You could check other sources and see if they validate that connection, or simply do it conoletely different (try to explain why thuis connection is right, and other aren't) – Paul Nov 22 '16 at 23:11
    
i already bought arduino and because of my budget i am unable to buy dev board. So is there a way by which i can integrate esp8266 12e(without wifi shield) with arduino – ayush chachre Nov 23 '16 at 10:48
    
They're around 4$, but you could also use an Arduino (or USB<->serial chip) to program the ESP8266 directly. – Paul Nov 23 '16 at 17:04
    
But, have you checked other sources? And what firmware is installed on your ESP8266? – Paul Nov 23 '16 at 17:05

I agree with Paul, you shouldn't use the Arduino, you can get break out boards at £1 for 10, but that's not what your problem is...

You are using a couple of resistors to do the level shifting taking the 5V to 3.3V. This is a bad plan, you need a proper bidirectional level shifter, particularly at higher baud rates, i.e. above 1000.

You are supplying the top VCC rail with both 3V from the batteries and 3.3V from the Arduino, not the best plan IMO.

You are not supplying the Arduino with any power, I guess this is a drawing error but just in case it isn't I though I best mention it.

You have no level shifting on the Arduino's Rx line. Its not technically needed, but you might require it particularly when the batteries are going flat.

You are using batteries and that's not a great plan.

Have you configured the ESPs using the AT command set, since you won't program them.

Just for the record the ESP has more memory it has a faster processor (80MHz) and you can still use the Arduino IDE. You should be able to pick up boards to mount the ESPs so you can use them more easily for less that the price of the level shifters, but its your call.

share|improve this answer
    
can you suggest which breakout board should i use. And what proper method i should follow to use esp8266 12 e perfectly. And guys i live in india and the things are 2 or 3 times costly, and where i live don't have varieties of this things even online i don't have much options. I am trying to find out ideal breakout board for 12e .But in mean time i can use suggestions that how can i use 12e. :) – ayush chachre Nov 23 '16 at 14:38
    
Something like this item from AliExpress aliexpress.com/item/… Or something similar. Just to make the ESP more useable. – Matt Nov 23 '16 at 16:04
    
You may be able to make you own break out boards depending on your soldering ability. How do you use it properly? In the Arduino IDE use the board manager to download the support for ESPs. At the basic level it is so similar to an Arduino you will laugh. There are loads of tutorials out there, the biggest problem is remembering that in the code digital pin 0 means GPIO 0 which may or may not be marked as zero on your board. On my boards pin 0 is pin 6 :) – Matt Nov 23 '16 at 16:08
1  
@Matt, for the pins, you may want to do a search on ”[name of your breakout/devboard] Arduino pins" and do defines such as: '#define PIN6 D0', to have a solution that has no runtime overhead and is as easy to use. – Paul Nov 23 '16 at 16:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.