-->
Page 1 of 3

Arduino using ESP8266 to communicate with Android

PostPosted: Thu May 25, 2017 1:09 pm
by ruicosta
I everyone, I'm a newbie on both, Arduino and ESP8266.
I'm an experienced programmer (ASP.NET/C#) this world is completely new to me.
I'm graduating and I have a month to develop a project where I should put an Arduino communicating with an Android smartphone.

I will have to simulate a "connected house" sending from Arduino to smartphone, using the ESP8266, information gathered from several sensors (movement, temperature, humidity, doors opening...).

Also, I will have to send from Android to arduino, also using the ESP8266, several commands (open doors, turn lights on/off, control a fan speed, simulating an AC device, turn off an alarm...)

I was advice to use websockets.
I would like to know if you agree and where I can find a working example of communication, using this technique, between Android and arduino.
I just need an example about the communication, I think I can handle the rest.

I have already made a tiny project of serial communication over bluetooth with an HC-05 but with ESP8266 I'm finding so many things that I'm lost.

Thank you all

Re: Arduino using ESP8266 to communicate with Android

PostPosted: Thu May 25, 2017 8:41 pm
by atexit8
Isn't it a bit late to be doing your project given that you know nothing about either the Arduino, the ESP8266, or how to build an Android app?

Re: Arduino using ESP8266 to communicate with Android

PostPosted: Sat May 27, 2017 7:28 pm
by QuickFix
As I see it: drop the Arduino-board entirely and directly use the ESP8266 (you can still use the Arduino IDE and platform for that though).
There are lots of ready to use sketches for the ESP that use all kinds of sensors en relays/switches and what not.

Join all of these together in a "Network" and read them out using a web application in ASP.Net or just HTML served by the ESP's in your "Network".
Or have a look at the vast list of examples using MQTT

Although I have to agree with atexit8 that only a month time to work on it isn't much, specially if you're a total n00b. :?

Re: Arduino using ESP8266 to communicate with Android

PostPosted: Sun May 28, 2017 8:50 am
by atexit8
QuickFix wrote:Although I have to agree with atexit8 that only a month time to work on it isn't much, specially if you're a total n00b. :?


I always wonder what these students have been doing all semester long?
Skipping class?