0

Using ESP8266 as Arduino connected module
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Using ESP8266 as Arduino connected module

by retiredwizard on Wed Sep 28, 2016 9:11 pm

I'm using an ESP8266 as a module on an Arduino and I'd like to interface with adafruit.io. I see there's support for connecting with the standalone ESP8266 (I.e. in Feather form) but is there a library to use the ESP8266 as a serially connected module to the Arduino and then access adafruit.io

retiredwizard
 
Posts: 16
Joined: Wed Sep 28, 2016 9:06 pm

Re: Using ESP8266 as Arduino connected module

by adafruit_support_rick on Thu Sep 29, 2016 11:11 am

Not sure why you'd want to do that. The ESP8266 is already a microcontroller. If you simply want to communicate between the ESP and the Arduino, you can use serial or I2C pretty easily.

adafruit_support_rick
 
Posts: 35087
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Using ESP8266 as Arduino connected module

by retiredwizard on Thu Sep 29, 2016 11:34 am

I thought it was simpler to add the WiFi module to an Arduino project that has a lot of development time already invested than to modify the design to support the differences between the breakout or feather esp8266. The Feather looks like it has about the same GPIO capabilities but I would have to add voltage shifters and obviously rewire to the new physical pin locations.

It sounds like I don't have an adafruit.io option. I have been able to interface with a website without the use of a library so perhaps I can build what I need on a PI based web server running locally.

Thanks!

retiredwizard
 
Posts: 16
Joined: Wed Sep 28, 2016 9:06 pm

Re: Using ESP8266 as Arduino connected module

by adafruit_support_rick on Thu Sep 29, 2016 12:03 pm

If you just want WiFi, then you should use a WINC1500 breakout instead of an ESP8266. It's not really effective to use an ESP this way.
https://www.adafruit.com/category/234?q ... 0breakout&

adafruit_support_rick
 
Posts: 35087
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Using ESP8266 as Arduino connected module

by retiredwizard on Thu Sep 29, 2016 12:24 pm

The ESP8266 breakout and even the feather are less expensive so while I agree a lot of the extra power of the ESP8266 isn't being used it certainly seems cost effective. That being said if there isn't support for it to be used in this way, I agree it ends up not being a good solution.

I see that there is an Arduino library for the WINC1500 breakout which is a big help. I don't see the WiFi101 library listed on the Adafruit.io MQTT support list though. Can this module be used with Adafruit.io?

retiredwizard
 
Posts: 16
Joined: Wed Sep 28, 2016 9:06 pm

Re: Using ESP8266 as Arduino connected module

by retiredwizard on Thu Sep 29, 2016 12:34 pm

Sorry, I just skimmed the description before sending my last post. The description clearly says that it works with adafruit.io so this looks like the way I should go, Thanks!!!

retiredwizard
 
Posts: 16
Joined: Wed Sep 28, 2016 9:06 pm

Re: Using ESP8266 as Arduino connected module

by adafruit_support_rick on Thu Sep 29, 2016 12:37 pm

Yes, you can use it with Adafruit IO.

adafruit_support_rick
 
Posts: 35087
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.