-->
Page 1 of 1

Connecting ESP8266 to Atmega 328

PostPosted: Mon Jul 24, 2017 10:44 am
by crop
Hi,

im grabbing some data through atmega 328 and at the moment I can see them on the serial port of PC. Now I want to transmit this data to PC or thingspeaks web page through a wifi module and I'm using esp 8266. How is this possible? How should I program wifi module and controller?

Re: Connecting ESP8266 to Atmega 328

PostPosted: Tue Jul 25, 2017 8:48 pm
by QuickFix
Wouldn't it be better (and perhaps easier) to drop the Atmel and only use the ESP?
The ESP superior to the ATMega on many points (except for analog and digital IO-count perhaps) and if you're already using Arduino (are you?), you're almost already done, since you can program the ESP with the Arduino IDE using the ESP8266 core. :idea:

If ditching the ATMega is not an option, you could try to use the ESP in default AT-command mode or write a simple bridge/gateway yourself (with Arduino) that will transport serial data over WiFi.

Re: Connecting ESP8266 to Atmega 328

PostPosted: Wed Jul 26, 2017 4:21 pm
by crop
QuickFix wrote:Wouldn't it be better (and perhaps easier) to drop the Atmel and only use the ESP?
The ESP superior to the ATMega on many points (except for analog and digital IO-count perhaps) and if you're already using Arduino (are you?), you're almost already done, since you can program the ESP with the Arduino IDE using the ESP8266 core. :idea:

If ditching the ATMega is not an option, you could try to use the ESP in default AT-command mode or write a simple bridge/gateway yourself (with Arduino) that will transport serial data over WiFi.



I just want to do the second option.. I've tried to grab the data using serial.read() for the data receiving at rx and tx pins... but not sure what to do exactly... need some help with programming. I've connected tx rx of my preprogrammed controller to rx tx pins of esp module

Re: Connecting ESP8266 to Atmega 328

PostPosted: Sat Feb 17, 2018 7:22 pm
by theenggprojects
Hi,

If you are working on Atmega328 then you should have a look at Introduction to Atmega328. I have written this article and I think you guys will like it. I have tried my best share all about this microcontroller.

Thanks.