0

Arduino as ucontroller and ESP8266 as WiFi
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Arduino as ucontroller and ESP8266 as WiFi

by rickseiden on Sat Jan 06, 2018 2:09 pm

Hello,

I'm trying to build a project that uses the Arduino Uno as the microcontroller and uses the ESP8266 just as a WiFi adapter. All the code I see for using the Arduino MQTT library uses the ESP8266 as both the microcontroller and the WiFi adapter. I need more IO than the ESP8266 is capable of, so I can't just use that as a microcontroller.

Nothing against Lada Ada, but I also don't want to just use the Feather Huzzah. I have one, and they work great, but it will be much cheaper to build these units with a ATMega328 and an ESP8266 than it will be to build it with a Huzzah, and I have to build five units.

Can anyone point me in the direction of using an Arduino Uno as the microcontroller and ESP8266 as the WiFi adapter that works with Adafruit IO?

Thanks
Rick

rickseiden
 
Posts: 13
Joined: Thu Oct 06, 2016 2:48 pm

Re: Arduino as ucontroller and ESP8266 as WiFi

by franklin97355 on Sat Jan 06, 2018 3:13 pm

See if you can find something that uses the ESP8266 as a serial pass-through.

franklin97355
 
Posts: 18326
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Arduino as ucontroller and ESP8266 as WiFi

by rickseiden on Sat Jan 06, 2018 3:38 pm

franklin97355 wrote:See if you can find something that uses the ESP8266 as a serial pass-through.


I've looked all over and the only solution I can find is to use the ESP8266 as the microprocessor. If you know of an example of using it as a serial pass through, that would be very helpful!

Thanks
Rick

rickseiden
 
Posts: 13
Joined: Thu Oct 06, 2016 2:48 pm

Re: Arduino as ucontroller and ESP8266 as WiFi

by franklin97355 on Sat Jan 06, 2018 4:12 pm

You will need to set the ESP8266 up as the wifi controller making the connection to the network then listening for data from the Arduino and sending it on. You might also take a look at the WINC1500 chip as an alternative.

franklin97355
 
Posts: 18326
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Please be positive and constructive with your questions and comments.