Archives

ESP8266 NodeMCU Interface – DSB1820

Code

 

ESP8266 NodeMCU Module – HTTP

 

 


ESP8266 NodeMCU HTTP Module functions

http.delete() Executes a HTTP DELETE request.
http.get() Executes a HTTP GET request.
http.post() Executes a HTTP POST request.
http.put() Executes a HTTP PUT request.
http.request() Execute a custom HTTP request for any HTTP method.

 

http.delete()

  • Executes a HTTP DELETE request. Note that concurrent requests are not supported.
  • Syntax : http.delete(url, headers, body, callback
  • Parameters
    • url The URL to fetch, including the http:// or https:// prefix
    • headers Optional additional headers to append, including \r\n; may be nil
    • body The body to post; must already be encoded in the appropriate format, but may be empty
    • callback The callback function to be invoked when the response has been received or an error occurred; it is invoked with the arguments status_code, body and headers. In case of an error status_code is set to -1.
  • Returns : nil

 

 


HTTP Get Example

  • Read your thing-speak text file from below code

Code

 


 

HTTP Post Example

Post Data to thinkspeak website

Code

 

Post Data to aruneworld Website

code

 

 

 


 

ESP8266 NodeMCU – Build Firmware


Introduction

What is firmware?

  • Firmware is a piece of code for small type of device. The firmware contains binaries, that can do all the works and process.

If you have a questions like following, you can learn all of this questions solutions here.

  1. What is NodeMCU Firmware?
  2. What is the format of NodeMCU Firmware?
  3. What contains the NodeMCU Fimware?
  4. Build Firmware
    1. How to build the NodeMCU Firmware for ESP8266?
    2. How to compile the NodeMCU Firmware for ESP8266?
    3. How to build the NodeMCU firmware from source?
    4. How Build NodeMCU firmware for ESP8266 in Linux Machine?
    5. How Build NodeMCU firmware for ESP8266 using web based Cloud?
    6. how to build NodeMCU firmware on your own?
  5. What are the ESP8266 modules are support this NodeMCU Firmware?
  6. Which ESP8266 modules is best for NodeMCU Firmware?

NodeMCU Firmware

  • NodeMCU firmware is contains many lua modules.
  • Lua modules are contains many lua library files and calling functions.
  • You can select based on your requirement in custom firmware build page.

 


In Linux

 


Web based Cloud Build Custom NodeMCU Firmware

Beginner Recommended Method*

 

Step 1 :

Go-to this site https://nodemcu-build.com/

 

Step 2 :

Two times enter your e-mail address (You will get a status about building the firmware)

 

Step 3 :

Select branch to build from (Recommended choose master always)

Step 4 :

Select modules to include( More than 40+ NodeMCU Lua Modules are available, Select depends upon your application development)

 

Step 5 :

Miscellaneous options (Recommended for beginner : Don’t select any option )

 

Step 6 :

Click Start Your Build button

 

Step 7 :

Open your mail id (What you gave before)

Step 8:

you will get a email about firmware  building started and finished notification. In finished Notification mail you can download float  and integer  type NodeMCU .bin  firmware file.

 


 

 

ESP8266 NodeMCU Interface – ADXL345

ADXL345 Means

A    – Analog

D    – Device

X

L

3

4

5

 


Example Code

  • Note

     


 

if you have any queries call us +918300026060 or WhatsApp Dismiss

0

Your Cart

%d bloggers like this: