element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum How to use the ESP8266 WiFi module with Arduino?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 5 replies
  • Answers 1 answer
  • Subscribers 393 subscribers
  • Views 756 views
  • Users 0 members are here
  • wifi
  • esp8266
  • iot
  • webpage
  • arduino
  • sensor
Related

How to use the ESP8266 WiFi module with Arduino?

Former Member
Former Member over 10 years ago

I want to start sending sensor data to a webpage with the ESP8266. I've been looking for libraries for 2 days no and cant seem to get anything to work besides the simple AT commands. Could someone steer me in the right direction?

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago +1 suggested
    https://www.facebook.com/esp8266wifi http://tech.scargill.net/esp8266-and-mqtt-a-marriage-made-in-heaven/ These two may help alot, Pete is a life long friend of mine, he lives primarily in the uk and is…
  • oksbwn
    oksbwn over 8 years ago in reply to Former Member +1
    You can use TCP and GET/POST to send data from arduino using ESP8266. I have a tutorial around it using AT commands you can check that out for reference. http://bit.ly/2dBMjEq
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago

    https://www.facebook.com/esp8266wifi

     

    http://tech.scargill.net/esp8266-and-mqtt-a-marriage-made-in-heaven/

     

    These two may help alot, Pete is a life long friend of mine, he lives primarily in the uk and is in constant contact with the developer working on the OS/Firmware that is contained within the ESPxxx

     

    He also now has even a 300 LED string of WS2812 (Addressable LEDs) being driven directly by this (No Arduino or PI needed image as it is a uController in its own right

     

    check it out on his ESP Facebook page

     

    Peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • nikil511
    0 nikil511 over 10 years ago

    your question is not very clear... AT commands are one way to send data.

     

    if you just want the basics, then this should do:

    http://allaboutee.com/2014/12/30/esp8266-and-arduino-webserver/

     

    A very detailed reference is this:

    https://nurdspace.nl/ESP8266

     

    you can do more advanced stuff like modifying the esp8266 firmware directly

    How to Directly Program an Inexpensive ESP8266 WiFi Module | Hackaday

     

    or program an Arduino remotely via the esp8266

    Programming an Arduino over WiFi with the ESP8266 | Hackaday

     

    Hope these help,

    Manolis

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to nikil511

    Same problem. I got to know what AT commands does using Putty. But I am not getting how to send a data, say, analog values of temperature sensor to Webpage.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • oksbwn
    0 oksbwn over 8 years ago in reply to Former Member

    You can use TCP and GET/POST to send data from arduino using ESP8266. I have a tutorial around it using AT commands you can check that out for reference.

    http://bit.ly/2dBMjEq

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 8 years ago

    You don't send data to a web page (Normally), the web page requests data from you (your ESP8266 Module)

     

    .one thing that may help you alot with this is to think of the ESP8266 as just a TCP/IP (Network) processor. Use the Arduino to send the data to an MQTT server and use a web page to read from MQTT, Or a phone, or any other computer.

     

    Making the ESP8266 run a web page is also a possibility but not very efficient and not very discoverable. Using the Arduino would be a sure way to run out of RAM and FLASH.

     

    So. Arduino collects all sorts of data your interested in and publishes it to an MQTT server (Mosquitto, Eclipse, Other free services can provide the actual server if you dont want to run your own).

    A browser can subscribe to the MQTT server directly or via a web page. You can also easily get other Arduinos or PI, or ... to subscribe and publish to this MQTT server and so now you have a solid target to get the data. You have seperation of your data sources and what is used to view the data.

     

    I have many videos on my YouTube channel that shows this in operation, and there are many more beyond my videos too.

     

    If you can describe from end to end what your trying to achieve then I can advise on a solution better.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube