Wiring ESP8266 to un arduino UNO

ffoo31
Posts: 18
Joined: Tue Oct 11, 2016 6:25 pm

Wiring ESP8266 to un arduino UNO

Post by ffoo31 »

Hello
I would like your help to carry out a mini project.

I want to connect via arduino uno and wifi module ESP8266ex to handle my air conditioning.

By following your helpers, I was able to read the IR code of my air conditioner.
 
Now I have problems connecting ESP8266 and arduino uno.
I have read several articles, but every time I find difference in connection, those recommend 3.3V voltage rectifier, others use capacitor and resistors, and others use external voltage source.

Please tell me the correct wiring method that stabilizes the signal.

Is it possible with arduino uno I can send the signal via an application via a wifi network ?.
thank you very much
User avatar
AnalysIR
Site Admin
Posts: 793
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: Wiring ESP8266 to un arduino UNO

Post by AnalysIR »

UNO is 5v GPIO
ESP8266 is 3V3 GPIO....so ideally do some level conversion.

Google for "level shift(er/ing)"

Why do you need a UNO...can you not do everything on the ESP8266?

When you say wiring the ESP to the UNO...what form of communications scheme are you using?

Unfortunately, without more specific information, I cannot add anything more.



FYI: we have just released a new IR shield for ESP8266....see our blog
ffoo31
Posts: 18
Joined: Tue Oct 11, 2016 6:25 pm

Re: Wiring ESP8266 to un arduino UNO

Post by ffoo31 »

Thanks AnalysIR

Ok, I'll opt for a 3.3V stabilization wiring.

But it is new to me to hear that IR code can only be transmitted with ESP8266.
Can you orient me to realize this project.
cordially
User avatar
AnalysIR
Site Admin
Posts: 793
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: Wiring ESP8266 to un arduino UNO

Post by AnalysIR »

But it is new to me to hear that IR code can only be transmitted with ESP8266.
That is not correct. You can send IR with most MCU platforms, including UNO.

In general, UNO will be easier to use. However, if you need to use WiFi, then ESP8266 is a better choice.

There are several examples on our blog & also look at IRremote as a ready made library.

Start off with the examples first on the UNO, then move to the ESP8266 for wifi (You will then need ESP8266IRremote, which is a version of IRremote for ESP8266)
ffoo31
Posts: 18
Joined: Tue Oct 11, 2016 6:25 pm

Re: Wiring ESP8266 to un arduino UNO

Post by ffoo31 »

Hello

But how ESP8266EX can send signals without an IR transmitter.
Or exists another model of ESP8266 capable of doing everything without using arduino
thanks
User avatar
AnalysIR
Site Admin
Posts: 793
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: Wiring ESP8266 to un arduino UNO

Post by AnalysIR »

It should be possible to send IR signals from most ESPs, but you need to add in an IR transmitter circuit. This is the same for all MCU platforms.

AFAIK - ESP8266EX is a MCU id, not a platform. Post a link or image for your system.

Unless there is somethng strange about your system you should be able to send IR with it.

However, you should do some searching about how to set up an IR sender for your platform.

If you are a beginner, I suggest starting with Arduino UNO & IRremote as a first step, before moving on to the bigger challenge with ESPs & WiFi.

Once you have got some experience, you can then look at the IR modules we have in our online shop.
ffoo31
Posts: 18
Joined: Tue Oct 11, 2016 6:25 pm

Re: Wiring ESP8266 to un arduino UNO

Post by ffoo31 »

Thank you very much for this answer.

Here is my wifi module that I use
http://www.electrodragon.com/product/es ... fi-module/

And an arduino uno r3.

For receiving and transmitting IR signals, that's good. I master the method.
I even carried out tests with success.
This success remains at the local level. I want to transmit signals via an application.
My problem is how I make this connection.

Give me advice for the best equipment to use for this project. Must be less expensive of course
cordially
User avatar
AnalysIR
Site Admin
Posts: 793
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: Wiring ESP8266 to un arduino UNO

Post by AnalysIR »

I would use a Wemos D1 Mini. You can get them for a similar price from Aliexpress, <%3

However, you should first start using the ESP-01 with ESP8266IRremote from Github & go thru the examples.

Once you have completed this, look at moving to the Wemos. We have just launched a new shield for IR with Tx & Rx. It comes with example firmware. (see our blog for details)

If that is outside your budget, Check out our recent blog post about the ESP8266 uPWM Hack, which explains one method of getting High Quality IR sent using the ESP. This may require some modifications as explained in the blog post.

Otherwise just go with ESP8266IRremote library on github, which should work just fine.

You will have to do the project work yourself and/or use the approaches i suggested.
ffoo31
Posts: 18
Joined: Tue Oct 11, 2016 6:25 pm

Re: Wiring ESP8266 to un arduino UNO

Post by ffoo31 »

OK,I will buy a NodeMCU ESP8266 and I come back to you
thanks
ffoo31
Posts: 18
Joined: Tue Oct 11, 2016 6:25 pm

Re: Wiring ESP8266 to un arduino UNO

Post by ffoo31 »

Hello
I bought a wifi module ref ESP8266MOD MODEL VENDOR
is that this model is adapted with the desired project
thank you
Locked