Communicating between ESP and Atmega and Data saving
Posted: Tue Mar 08, 2016 8:21 am
Hi,
I have an ESP 12 board and an atmega chip, atmega do some processing with a sensor and this data is given to esp module to update on web server hosted on internet.
I have few queries regarding this project and I need your suggestion on the approach for this module -
1. How can I communicate serially with ESP and atmega (or arduino ), is there any liberary to do that. any working example?
2. I want to keep the record of last data, I can save it in EEPROM of arduino, I do not want the processing of data to stop, like when I am trying to send data to esp processing should continue, Is this possible??? like a parallel processing in arduino. Purpose of keeping this separate atmega chip is because I dont want any delay or pause in its processing when Data is being sent to internet through ESP. ESP just reads data and sends it and atmega is working on data separately.
3. I want to keep configuration saved, like SSID and password, what is the best approach here for that.
I have checked a lot of examples here and they are very helpful. I need some good approach to start this.
Thank you all!
I have an ESP 12 board and an atmega chip, atmega do some processing with a sensor and this data is given to esp module to update on web server hosted on internet.
I have few queries regarding this project and I need your suggestion on the approach for this module -
1. How can I communicate serially with ESP and atmega (or arduino ), is there any liberary to do that. any working example?
2. I want to keep the record of last data, I can save it in EEPROM of arduino, I do not want the processing of data to stop, like when I am trying to send data to esp processing should continue, Is this possible??? like a parallel processing in arduino. Purpose of keeping this separate atmega chip is because I dont want any delay or pause in its processing when Data is being sent to internet through ESP. ESP just reads data and sends it and atmega is working on data separately.
3. I want to keep configuration saved, like SSID and password, what is the best approach here for that.
I have checked a lot of examples here and they are very helpful. I need some good approach to start this.
Thank you all!