0

Arduino with ESP8266 connecting to Adafruit IO
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Arduino with ESP8266 connecting to Adafruit IO

by Lucifer22334 on Tue Jan 28, 2020 1:46 am

Hi,

I was searching for a way to connect my Arduino Uno to Adafruit IO but couldn't find a thing. I am connecting Arduino Uno with the ESP8266 Module. My Arduino is connected with 3 Analog and 1 Digital sensor so using the ESP8266 I will give Arduino Wifi connectivity to connect with the Internet and communicate with Adafruit IO.

I was searching on the Adafruit page for above but got scammed. on this page: https://learn.adafruit.com/series/adafruit-io-basics
there is a tutorial "Adafruit IO Basics: Digital Input" which has Arduino in its Image and when I opened it, on left-hand side was written Arduino Wiring, code, etc. so I thought this whole tutorial is for showing how can we connect Arduino to Adafruit cloud using ESP8266 but on wiring part I got to know that they were using there own Adafruit module and library is specific to their own boards. Please change that. We, beginners, get lost due to this.

And also if anyone knows how to communicate Arduino with Adafruit IO using ESP8266 Please do tell.

Lucifer22334
 
Posts: 5
Joined: Tue Jan 28, 2020 1:37 am

Re: Arduino with ESP8266 connecting to Adafruit IO

by TI545 on Wed Jan 29, 2020 12:41 am

Interesting comment. I have my esp8266 connected directly to IO.adafruit.com, but not with an arduino uno. Just the 8266 on its own. That method works great, adafruit provided the 'example' sketch in the arduino IDE as part of the adding esp8266 to the IDE boards manager. I don't see the scam photo with the arduino from your link.
The esp8266 has enough memory and flash to be used without the arduino. But of course, it only has one ADC and you want 3 ADC. How do you have the Uno and the esp8266 communicating? I haven't done it but I assume you could send your 3 ADC values to the esp8266 via UART/SPI and then use the 8266 io.adafruit sketch to upload it to io.adafruit.

TI545
 
Posts: 9
Joined: Tue Feb 27, 2018 5:25 pm

Re: Arduino with ESP8266 connecting to Adafruit IO

by Lucifer22334 on Wed Jan 29, 2020 1:29 am

TI545 wrote:Interesting comment. I have my esp8266 connected directly to IO.adafruit.com, but not with an Arduino UNO. Just the 8266 on its own. That method works great, adafruit provided the 'example' sketch in the Arduino IDE as part of the adding esp8266 to the IDE boards manager. I don't see the scam photo with the Arduino from your link.
The esp8266 has enough memory and flash to be used without the Arduino. But of course, it only has one ADC and you want 3 ADC. How do you have the Uno and the esp8266 communicating? I haven't done it but I assume you could send your 3 ADC values to the esp8266 via UART/SPI and then use the 8266 io.adafruit sketch to upload it to io.adafruit.


What do you see in the below image An Arduino with wifi ethernet shield or something else:
Burn.PNG
Burn.PNG (230.58 KiB) Viewed 112 times


And What do you expect on reading the Arduino Wiring on the left panel and from the above Image? Then they simply write Hardware Adafruit's one:
burn2.PNG
burn2.PNG (173.17 KiB) Viewed 112 times


Rest on every tutorial they had their own board Image. That's why I said I got scammed. Every newbie and person with Arduino experience will expect this only.
And also like your idea of how to send the data to Adafruit IO and it can be an option but I was thinking maybe there would a library for Arduino Uno to connect with the Adafruit cloud using the ESP8266 module not just only ESP8266.

Lucifer22334
 
Posts: 5
Joined: Tue Jan 28, 2020 1:37 am

Re: Arduino with ESP8266 connecting to Adafruit IO

by adafruit_support_mike on Wed Jan 29, 2020 5:23 am

[moved to the Adafruit.IO forum]

adafruit_support_mike
 
Posts: 60735
Joined: Thu Feb 11, 2010 2:51 pm

Re: Arduino with ESP8266 connecting to Adafruit IO

by brubell on Wed Jan 29, 2020 11:47 am

Hi,

The Arduino Uno (unless you're using the Arduino Uno V2 with WiFi) does not have a WiFi module built-in. You will need a WiFi module to connect it to the internet. We recommend picking up the AirLift shield (https://www.adafruit.com/product/4285) as it's pin-compatible with the Arduino Uno's shield headers.

Arduino Wiring, code, etc.


This guide and the Adafruit IO Arduino library used by the guide (https://github.com/adafruit/Adafruit_IO_Arduino) are compatible with Arduino-compatible boards including the ESP8266 and an Arduino Uno with a WiFi module.

The wiring will need to be modified if you're using a board other than the Feather Huzzah.

- brent r.

brubell
 
Posts: 745
Joined: Fri Jul 17, 2015 10:33 pm

Re: Arduino with ESP8266 connecting to Adafruit IO

by Lucifer22334 on Thu Jan 30, 2020 1:52 am

brubell wrote:Hi,

The Arduino Uno (unless you're using the Arduino Uno V2 with WiFi) does not have a WiFi module built-in. You will need a WiFi module to connect it to the internet. We recommend picking up the AirLift shield (https://www.adafruit.com/product/4285) as it's pin-compatible with the Arduino Uno's shield headers.

Arduino Wiring, code, etc.


This guide and the Adafruit IO Arduino library used by the guide (https://github.com/adafruit/Adafruit_IO_Arduino) are compatible with Arduino-compatible boards including the ESP8266 and an Arduino Uno with a WiFi module.

The wiring will need to be modified if you're using a board other than the Feather Huzzah.

- brent r.

So If I am using an Arduino UNO with a WiFi module ESP8266 and I just want to program Arduino, not ESP8266 (Just a medium to connect to Internet through WiFi) and connect to Adafruit is it possible using your library "https://github.com/adafruit/Adafruit_IO_Arduino". If it is then how?

Lucifer22334
 
Posts: 5
Joined: Tue Jan 28, 2020 1:37 am

Re: Arduino with ESP8266 connecting to Adafruit IO

by Lucifer22334 on Fri Jan 31, 2020 6:10 am

brubell wrote:Hi,

The Arduino Uno (unless you're using the Arduino Uno V2 with WiFi) does not have a WiFi module built-in. You will need a WiFi module to connect it to the internet. We recommend picking up the AirLift shield (https://www.adafruit.com/product/4285) as it's pin-compatible with the Arduino Uno's shield headers.

Arduino Wiring, code, etc.


This guide and the Adafruit IO Arduino library used by the guide (https://github.com/adafruit/Adafruit_IO_Arduino) are compatible with Arduino-compatible boards including the ESP8266 and an Arduino Uno with a WiFi module.

The wiring will need to be modified if you're using a board other than the Feather Huzzah.

- brent r.

Please answer or anyone answers my above question asked.

Lucifer22334
 
Posts: 5
Joined: Tue Jan 28, 2020 1:37 am

Re: Arduino with ESP8266 connecting to Adafruit IO

by brubell on Fri Jan 31, 2020 12:09 pm

Please answer or anyone answers my above question asked.


Please do not bump posts.

So If I am using an Arduino UNO with a WiFi module ESP8266 and I just want to program Arduino, not ESP8266 (Just a medium to connect to Internet through WiFi) and connect to Adafruit is it possible using your library "https://github.com/adafruit/Adafruit_IO_Arduino". If it is then how?


Could you link to the wifi module you're using?

brubell
 
Posts: 745
Joined: Fri Jul 17, 2015 10:33 pm

Re: Arduino with ESP8266 connecting to Adafruit IO

by Lucifer22334 on Mon Feb 03, 2020 1:58 am

brubell wrote:
Please answer or anyone answers my above question asked.


Please do not bump posts.

So If I am using an Arduino UNO with a WiFi module ESP8266 and I just want to program Arduino, not ESP8266 (Just a medium to connect to Internet through WiFi) and connect to Adafruit is it possible using your library "https://github.com/adafruit/Adafruit_IO_Arduino". If it is then how?


Could you link to the wifi module you're using?


Sorry, I will not do it again. I am using ESP8266 with Arduino UNO and I could link to it via AT command or UART.

Lucifer22334
 
Posts: 5
Joined: Tue Jan 28, 2020 1:37 am

Please be positive and constructive with your questions and comments.