Nodemcu is a
great WiFi chip, that can be used in several wireless applications. In my previous post, i showed you guys how to control devices using Nodemcu and Android Phone, and i received overwhelming response from you guys, and all due to this, my last post "Controlling Devices Using Nodemcu", is now one of the popular posts of my blog. But there was one dependency in that project, the involvement of WiFi router. In the last post, first you have to connect Nodemcu with the Router and then you have to connect the Android Phone with the same router, but as Nodemcu can behave as Access Point, so we can bypass the router and directly connect our Android Phone with Nodemcu, by doing some minor changes in the Nodemcu Code. The Block Diagram is as follow:
You can compare this code, with the code from the last post, and you will see, the changes are very less, see the following comparison snapshot.
Changes
After flashing the above code in Nodemcu, first of all you have to connect your Android Phone with the Nodemcu. In code the following lines are written, which is your WiFi name andPassword.
Arduino Code can be copied and pasted from the blog post. Android APK can be downloaded from the link given at the bottom of the post. https://drive.google.com/open?id=0B0ppa9IHkik0Q3BtTGlCbHc4X0k
Hi, Thanks for your code, it is so helpful. I've used you're code to connect raspberry to esp. but I'am Countering an issue that my esp after number of loop it log out from the client.connected loop although, raspberry still connect and receive none instead of values. and for some reason esp don't log on the condition client.available and do what it is inside, just log on to client.connected and only for a short time. what do you think the problem is? looking forward your reply. Regards.
Hi! In my opinion, Nodemcu is a great WiFi chip, that can be used in several wireless applications. It's really cool to control devices using Nodemcu and Android Phone and I am wondering what I have to change in your code to work in ESP8266-07, because seems to not function at all in ESP8266-01.
Dear Sir, thank you so much, your tutorial is so helpful. I am wondering what I have to change in your code to be worked in ESP8266-07, it is work with my ESP-01 but not 07. I am looking forward to hearing your suggestion. Regards.
Dear Sir, thank you so much, your tutorial is so helpful. I am wondering what I have to change in your code to be worked in ESP8266-07, it is work with my ESP-01 but not 07. I am looking forward to hearing your suggestion. Regards.
Hi, I was trying DL HomeAutomation.zip from Google Drive, but the Google say that the file is infected with virus and only the owner is allowed to download infected files!?
I really don't know the problem, even I can't access them, the complete code is available on GitHub now https://github.com/xpress-embedo/HomeAutomation
Dear Sir,
ReplyDeleteI am new in this field.Please provide me source code for this.
"Control Devices Over WiFi Using Phone without Router (Tutorial-4)"
E-mail : amityadav8679@gmail.com
Thanks in advance.
https://github.com/xpress-embedo/HomeAutomation
DeleteDear Sir,
ReplyDeleteI am new in this field.Please provide me source code for this.
"Control Devices Over WiFi Using Phone without Router (Tutorial-4)"
E-mail : amityadav8679@gmail.com
Thanks in advance.
You can download the Arduino Source code and Android Apk from this post only.
Deletewhere can I download it?
DeleteThanks.
Arduino Code can be copied and pasted from the blog post.
DeleteAndroid APK can be downloaded from the link given at the bottom of the post.
https://drive.google.com/open?id=0B0ppa9IHkik0Q3BtTGlCbHc4X0k
https://github.com/xpress-embedo/HomeAutomation
DeleteThanks for this great post! if you are facing any troubleshoot or any problem like
ReplyDeleterouterlogin
netgear setup
Sorry I didn't understand the problem.
DeleteThis post doesn't have any use of router.
Hi
ReplyDeleteI need B4A source code.
Help me please
Need android source code
ReplyDeleteCould you please send e androdi source code for single button
ReplyDeleteHi,
ReplyDeleteThanks for your code, it is so helpful.
I've used you're code to connect raspberry to esp.
but I'am Countering an issue that my esp after number of loop it log out from the client.connected loop although, raspberry still connect and receive none instead of values.
and for some reason esp don't log on the condition client.available and do what it is inside, just log on to client.connected and only for a short time.
what do you think the problem is?
looking forward your reply.
Regards.
Hi! In my opinion, Nodemcu is a great WiFi chip, that can be used in several wireless applications. It's really cool to control devices using Nodemcu and Android Phone and I am wondering what I have to change in your code to work in ESP8266-07, because seems to not function at all in ESP8266-01.
DeleteDear Sir,
ReplyDeletethank you so much, your tutorial is so helpful.
I am wondering what I have to change in your code to be worked in ESP8266-07, it is work with my ESP-01 but not 07.
I am looking forward to hearing your suggestion.
Regards.
Dear Sir,
ReplyDeletethank you so much, your tutorial is so helpful.
I am wondering what I have to change in your code to be worked in ESP8266-07, it is work with my ESP-01 but not 07.
I am looking forward to hearing your suggestion.
Regards.
How can I reread/refresh temp or humidity without disconnect and connect on application ?
ReplyDeleteIt's already there.
DeleteHow can I reread/refresh temp or humidity without disconnect and connect on application ?
ReplyDeleteAmazing nice work. This is very useful article. Thank you. For more
ReplyDeletehow to connect it with internet and name the buttons
ReplyDeleteinstead of relays
Hi,
ReplyDeleteI was trying DL HomeAutomation.zip from Google Drive, but the Google say that the file is infected with virus and only the owner is allowed to download infected files!?
Updated the project on GitHub.
DeleteSimilar to this one.
https://github.com/xpress-embedo/HomeAutomation
I'm wondering if you can update the Google Drive link to get the app. It's not working for me. Cheers.
DeleteI really don't know the problem, even I can't access them, the complete code is available on GitHub now
Deletehttps://github.com/xpress-embedo/HomeAutomation