-->
Page 1 of 1

Adafruit ESP8266 Huzzah Feather + Arduino Mega 2560 V3

PostPosted: Tue Aug 21, 2018 11:39 am
by Nouman
Hi,
I am working on a project in which Arduino Mega and ESP Huzzah Feather collect multiple sensor readings. I want the ESP8266 Huzzah Feather to collect the data from Arduino Mega as well and forward it to the server website. Is it possible? If yes, it would be a great help if you could share your experience.

Re: Adafruit ESP8266 Huzzah Feather + Arduino Mega 2560 V3

PostPosted: Wed Aug 22, 2018 7:40 am
by QuickFix
Any reason not to drop the Mega (the ESP is also a microcontroller and in many aspects superior to the Atmel)?

Re: Adafruit ESP8266 Huzzah Feather + Arduino Mega 2560 V3

PostPosted: Fri Aug 24, 2018 10:03 am
by Nouman
QuickFix wrote:Any reason not to drop the Mega (the ESP is also a microcontroller and in many aspects superior to the Atmel)?


That is a great tip, I will certainly try it out. I actually started with Mega and continued building on it with a data logging Shield. But for Wifi support purchased an ESP Huzzah. If we can not use the Huzzah for general Wifi purpose with Mega, it means I spend more money.

Re: Adafruit ESP8266 Huzzah Feather + Arduino Mega 2560 V3

PostPosted: Mon Oct 22, 2018 3:07 am
by vibhu18
1. The only way of doing this is by serially passing the sensor readings from mega to esp8266. but the problem is this process is slow and hinder the back ground tasks. due to some issue in esp8266 as mentioned here https://github.com/esp8266/Arduino/issues/1330 you can't use I2C to communicate or you can't make ESP8266 as a slave device. you can use SPI with the same development boards like ESP and ESP communication but not with mega and ESP. uh can use SPI only while flashing the device

2. You can use I2C with sensors. This will help the UART communication with two board much better and will not hinder the process. you can use these sensor module https://store.ncd.io/?fwp_product_type=temperature which have I2C compatibility