Hi there! Welcome to our YouTube channel.
In this tutorial, we'll show you how to get
started with the NodeMcu ESP8266 DevKit and
how to program it. Without any further delay,
let's get started!
NodeMcu ESP8266 DevKit is a microprocessor-
based development board developed by
NodeMcu Team. It contains ESP12E Wi-Fi
Module, which integrates an ESP8266EX Wi-Fi
System-on-a-Chip (SoC). The chip is
embedded with Tensilica Xtensa L106, 32-bit
Microprocessor, which has a 160KB of SRAM.
The chip has an external 4MB SPI Flash
Memory to store the user program. It runs on
the clock speed of 80MHz to 160MHz. It
supports IEEE 802.11b/g/n wireless networking
standards and operates on 2.4GHz frequency
band. It also supports WEP, WPA, and WPA2
security protocols. NodeMcu ESP8266 DevKit
uses Silicon Labs CP2102 chip, as a
USB-to-Serial Convertor.
NodeMcu ESP8266 DevKit can be
programmed or powered with the USB-to-Serial
connection of 5V, via Type-Micro B USB Connector.
NodeMcu ESP8266 DevKit has 9 digital
input/output pins, which are labeled
D0 through D8. These pins are used for
general purpose input/output and can be
configured by using the pinMode(), digitalRead(),
and digitalWrite() functions.
NodeMcu ESP8266 DevKit also has 1 analog
input pin, which is labeled A0. This pin is
connected to on-board 1-channel 10-bit
Analog-to-Digital Converter (ADC) and is used
to read the analog voltages by using the
analogRead() function.
Both digital and analog pins can tolerate a
maximum voltage of 3.3V and can provide or
receive a maximum current of 12mA. Each
of these pins has an internal pull-up resistor,
which can be enabled by using the
INPUT_PULLUP command.
VIN Pin is used to power the board with an
external power supply of 5V to 12V.
3V3 Pin provides a regulated 3.3V output from
the board.
GND Pins are the Ground pins.
Digital Pin D1 to D8 are the External Interrupts
pins, which can be configured to trigger an
interrupt on a low value, a rising or falling edge,
or a change in value by using the
attachInterrupt() function.
Digital Pin D1 to D8 are the Pulse Width
Modulation (PWM) pins, which provides 10-bit
Pulse Width Modulation (PWM) output by using
the analogWrite() function.
Digital Pin D1 and D2 are SDA and SCL
respectively are the Two Wire Interface (TWI)
pins, which support Two Wire Interface (TWI) or
I2C communication by using the Wire library.
Digital Pin D5, D6, D7, and D8 are SCK,
MISO, MOSI, and SS respectively are the
Hardware Serial Peripheral Interface (SPI)
pins, which support Serial Peripheral Interface (SPI)
communication by using the SPI library.
RX and TX Pin are the Serial pins, which
support Serial or UART communication by
receiving/transmitting TTL serial data.
RST Pin is the Reset pin, which is used to
bring the line LOW to reset the microprocessor.
EN Pin is the Chip Enable pin, which is to be
active HIGH for normal operation.
CLK, SD0, CMD, SD1, SD2, and SD3 Pin are
the Serial Peripheral Interface (SPI) pins, which
are exclusively used for Quad-SPI
communication with the Flash Memory on
ESP12E Wi-Fi Module.
RSV Pins are the Reserved pins, which are not used.
RST Button is used to reset the
microprocessor when pressed.
FLASH Button enables us to flash the
firmware into the microprocessor when pressed.
There is a built-in LED which is connected to
the Digital Pin D4.
Components that you'll required:
NodeMcu ESP8266 DevKit
LED
220 Ohm Resistor
400 Tie-Points Breadboard
Jumper Wire
Type-A to Type-Micro B USB Cable
Please check out the description or resources
to buy these components.
Now, let's see the connections.
Connect the anode of LED to the Digital Pin D4
of NodeMcu ESP8266 DevKit, via a 220 Ohm Resistor.
Connect the cathode of LED to the GND Pin
of NodeMcu ESP8266 DevKit.
In order to program the NodeMcu ESP8266 DevKit,
you'll need to download the software and
source code from the description or resources.
Now, let's program the NodeMcu ESP8266 DevKit.
Connect the one end of USB cable to
the NodeMcu ESP8266 DevKit,
and another end to your Computer.
Install the CP210x USB to UART driver, if not
already installed.
Open the sketch in the Arduino IDE.
This program enables the NodeMcu ESP8266 DevKit
to turn the LED on and off depending upon the
value of pin connected to the LED. When the
pin value is HIGH, the LED turns on and when
the pin value is LOW, the LED turns off. This
program doesn't require any library.
Open the Preferences dialog from the File
menu of Arduino IDE.
Enter the URL of the Board Package into the
Additional Board Manager URLs field.
Open the Boards Manager from the Tools
menu of Arduino IDE.
Find the "esp8266" platform and click on the
Install button.
Select the proper Board from the Tools menu
of Arduino IDE.
Select the proper Serial Port from the Tools
menu of Arduino IDE.
Click on the Upload button to upload the sketch
to the NodeMcu ESP8266 DevKit.
If the upload is successful, the message
"Done uploading" will appear in the status bar
of Arduino IDE.
After a few seconds, you should see the LED
starts blinking.

For more infomation >> HSN | Chef Curtis Stone 02.09.2019 - 09 PM - Duration: 1:00:01.
For more infomation >> FDJ EMILY YOUNG - NGOMONG APIK APIK [Official Music Video] | Reggae Version - Duration: 5:37. 
For more infomation >> Cần Bán Kawasaki z1000 Xanh Đen Giá Rẻ Liên Hệ 0787678774 - Duration: 1:01.
For more infomation >> Asus zenfone 6 Release Date | FB update | Tech Goship #59 - Duration: 7:33.
For more infomation >> LIBERALS Hoảng Loạn Khi Nghe Tin TRUMP THẮNG cử Phần 3 - Duration: 8:01. 

No comments:
Post a Comment