LOGIN
Subramanya Chakravarthy
Engineer (Project Leader)
 · HyderabadIndia
Edit
Delete
Share
Report
TASK
Open
  ·  Close Task

Control a Led connected to ESP8266 from a local router

0 like 
Like
Share
Load 1 previous comments
Nibir Chakraborty
Senior Research Fellow
 · BengaluruIndia
Edit
Delete
Share
Report

Those things are very easy, you will get ready made code from internet. Better focus on the user configuration and deployment aspects. Once you have the device ready, the end user should be able to configure it so that it connects to a router with specified SSID and Password, reset it in case a new router is purchased, options for dynamic and static IP configurations, etc. You cannot programme the device each time the connection settings changes.

0 like 
Subramanya Chakravarthy
Engineer (Project Leader)
 · HyderabadIndia
Edit
Delete
Share
Report

Thanks for the suggestion. I will give a try today

0 like 
Steven Reubenstone
Mechanical Engineer & Collaborizm Mentor. Join our iOT Hackathon!
 · New YorkU.S.
Edit
Delete
Share
Report

the hardest part is just setting up the wifi connection and then making proper http request and then storing that information.

I have some experience doing this with arduino.

All you need to receive is binary data? Like what information for LCD?

0 like 
Subramanya Chakravarthy
Engineer (Project Leader)
 · HyderabadIndia
Edit
Delete
Share
Report

Yesterday, I made a localhost in my computer and created a json file. and in esp8266 loop it checks every time whether the light is on or off. The problem is it continuously pings the server. I have to make a mechanism so esp has to push update only if some changes occur

0 like 
Subramanya Chakravarthy
Engineer (Project Leader)
 · HyderabadIndia
Edit
Delete
Share
Report

Steven Reubenstone please share how you accomplish it

0 like 
Swapnil Kalhapure
Entrepreneur, roboticist and avid blogger
 · PuneIndia
Edit
Delete
Share
Report

try using MQTT instead, it’s a light weight messaging platform. Use the below reference for more info :
https://github.com/tuanpmt/espduino

2 likes 
Leave a reply...
DISCOVER
CHAT
ALERTS
-2
DISCUSSIONS
-1
FEED