SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
NodeMCU Course
NodeMCU dev Board
What we learn in this Lesson
• ESP8266 Board.
• NodeMCU 1.0.
• ESP8266 12-E NodeMCU Kit.
ESP8266 Board
Eng.
Elaf
A.Saeed
• ESP8266 is usually mounted on circuit boards that making it easy for you to
program the chip and to interface with input and output devices.
NodeMCU 1.0
Eng.
Elaf
A.Saeed
ESP-12E Wi-Fi module
• Tensilica L106 32-bitsmicro controller (MCU).
• CPU clock speed is 80MHZ.
• Integrated 10-bit ADC.
• 4MB external SPI flash to store user programs.
• SDIO 2.0, (H) SPI, UART, I2C, PWM, GPIO.
• Integrated TCP/IP protocol stack.
• Frequency: Wi-Fi 2.4 GHz.
• Support STA/AP/STA+AP operation modes.
• Security: Support WPA/WPA2.
• Encryption: WEP/TKIP/AES.
• Protocols: IP4/TCP/UDP/HTTP/FTP.
• Onboard antenna with a reasonable range (-70~-80dBm at 50 feet)
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
• GPIO Maximum Current Imax.
1. 12mA here refers to the source current and sink current is greater than
12mA.
2. 12mA is for per pin and each pin is the same.
3. Drive capacity current of all GPIO pins total can be 16 x 12 mA.
The sink current of GPIO is about 20mA. The maximum source current of
GPIO is about 12mA.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
RST Pin
• Most of the ESP8266 development boards have a built-in LED.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
RST & Flash button
• You need to hold flash and press reset to
get it into upload mode. Some boards like
NodeMCU have a USB to Serial adapter
onboard which does it automatically.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
GPIO
• General-purpose input/output (GPIO) can be either
input pin or output pin, whose behavior can be
controlled at the run time.
• GPIO’s(1,3) are mostly not used for GPIO purpose
because they are reserved for RX and TX in order to
communicate with a host PC through which compiled
object code is downloaded.
• We can use pinMode, digitalRead, digitalWrite,
INPUT, OUTPUT and INPUT_PULLUP for
GPIO’s pins (except GPIO16, it uses
INPUT_PULLDOWN_16)
• (GPIO 6-11) are used to connect the flash memory
chip.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
On-board LED
• Most of the ESP8266 development boards have a built-in LED. This LED is
usually connected to GPIO2.
• The LED works with inverted logic. Send a HIGH signal to turn it off, and a
LOW signal to turn it on.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
GPIO0
• When GPIO0 is pulled LOW, it sets the ESP8266 into bootloader mode. This
is the same as pressing the on-board FLASH/BOOT button.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
GPIO16
• GPIO16 can be used to wake up the ESP8266 from deep sleep. To wake up
the ESP8266 from deep sleep, GPIO16 should be connected to the RST pin.
I2C
• The ESP8266 doesn't have hardware I2C pins, but it can be implemented in
software. So you can use any GPIOs as I2C. Usually, the following GPIOs
are used as I2C pins:
 GPIO5: SCL
 GPIO4: SDA
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
SPI
• The pins used as SPI in the ESP8266 are:
 GPIO12: MISO
 GPIO13: MOSI
 GPIO14: SCLK
 GPIO15: CS
PWM Pins
• ESP8266 allows software PWM in all I/O pins: GPIO0 to GPIO16. PWM
signals on ESP8266 have 10-bit resolution.
Interrupt Pins
• The ESP8266 supports interrupts in any GPIO, except GPIO16.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
Analog Input
• The ESP8266 only supports analog reading in one GPIO. That GPIO is
called ADC0 and it is usually marked on the silkscreen as A0.
• The maximum input voltage of the ADC0 pin is 0 to 1V if you’re using the
ESP8266 bare chip. If you’re using a development board like the ESP8266
12-E NodeMCU kit, the voltage input range is 0 to 3.3V because these
boards contain an internal voltage divider.
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
Bootloader Mode
• The bootloader can go into a number of modes depending on the state of
GPIOs 0,2 and 15. The two useful modes are the UART download mode (for
flashing new firmware) and the flash startup mode (which boots from flash).
GPIO 0 GPIO 2 GPIO 15
UART Download Mode
(programming)
0 1 0
Flash Startup (Normal) 1 1 0
SD Card Boot 0 0 1
ESP8266 12-E NodeMCU Kit
Eng.
Elaf
A.Saeed
Thank you
Email: elafe1888@gmail.com
linkden: www.linkedin.com/in/elaf-a-saeed-97bbb6150
facebook: https://www.facebook.com/profile.php?id=100004305557442
github: https://github.com/ElafAhmedSaeed
youtube: https://youtube.com/channel/UCE_RiXkyqREUdLAiZcbBqSg
slideshare: https://www.slideshare.net/ElafASaeed
Slideplayer: https://slideplayer.com/search/?q=Elaf+A.Saeed
Google Scholar:
https://scholar.google.com/citations?user=VIpVZKkAAAAJ&hl=ar&gm
la=AJsN-F7PIgAjWJ44Hzb18fwPqJaaUmG0XzbLdzx09

Weitere ähnliche Inhalte

Was ist angesagt?

ESP8266 and IOT
ESP8266 and IOTESP8266 and IOT
ESP8266 and IOTdega1999
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYVishnu
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the ArduinoWingston
 
Esp32 cam arduino-123
Esp32 cam arduino-123Esp32 cam arduino-123
Esp32 cam arduino-123Victor Sue
 
ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guidehandson28
 
Arduino Platform with C programming.
Arduino Platform with C programming.Arduino Platform with C programming.
Arduino Platform with C programming.Govind Jha
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoVishnu
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingEmmanuel Obot
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingICS
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoYong Heui Cho
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoOmer Kilic
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATIONsoma saikiran
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduinoSantosh Verma
 

Was ist angesagt? (20)

ESP8266 and IOT
ESP8266 and IOTESP8266 and IOT
ESP8266 and IOT
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Esp32 cam arduino-123
Esp32 cam arduino-123Esp32 cam arduino-123
Esp32 cam arduino-123
 
ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
 
Arduino
ArduinoArduino
Arduino
 
Arduino Platform with C programming.
Arduino Platform with C programming.Arduino Platform with C programming.
Arduino Platform with C programming.
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Report on arduino
Report on arduinoReport on arduino
Report on arduino
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
 
Ardui no
Ardui no Ardui no
Ardui no
 
Arduino & NodeMcu
Arduino & NodeMcuArduino & NodeMcu
Arduino & NodeMcu
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO Programming
 
ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 

Ähnlich wie lesson2 - Nodemcu course - NodeMCU dev Board

Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)
Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)
Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)Athens IoT Meetup
 
Esp8266 - Intro for dummies
Esp8266 - Intro for dummiesEsp8266 - Intro for dummies
Esp8266 - Intro for dummiesPavlos Isaris
 
ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...
ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...
ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...IoTdevices
 
Education Documantary
Education DocumantaryEducation Documantary
Education Documantarytagataho
 
Design and Development of Artix-7 FPGAbased Educational Board
Design and Development of Artix-7 FPGAbased Educational BoardDesign and Development of Artix-7 FPGAbased Educational Board
Design and Development of Artix-7 FPGAbased Educational BoardIJERA Editor
 
Adafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi BoardAdafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi BoardBiagio Botticelli
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Suraj Kumar Jana
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on thePramod Kumar
 
Arduino windows remote control
Arduino windows remote controlArduino windows remote control
Arduino windows remote controlVilayatAli5
 
01_DIGITAL IO.pptx
01_DIGITAL IO.pptx01_DIGITAL IO.pptx
01_DIGITAL IO.pptxssuser593a2d
 
Embedded application development
Embedded application developmentEmbedded application development
Embedded application developmentAakash Raj
 
Touch Switch (Smart Switches) by arduino Project report file
Touch Switch (Smart Switches) by arduino  Project  report fileTouch Switch (Smart Switches) by arduino  Project  report file
Touch Switch (Smart Switches) by arduino Project report fileimkanhaiyalal
 
Office automation system using arduino
Office automation system using arduinoOffice automation system using arduino
Office automation system using arduinoAshfaqul Haque John
 

Ähnlich wie lesson2 - Nodemcu course - NodeMCU dev Board (20)

Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)
Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)
Athens IoT Meetup #3 - Introduction to ESP8266 (Pavlos Isaris)
 
Esp8266 - Intro for dummies
Esp8266 - Intro for dummiesEsp8266 - Intro for dummies
Esp8266 - Intro for dummies
 
Chapter 2.doc
Chapter 2.docChapter 2.doc
Chapter 2.doc
 
ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...
ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...
ESP12.OLED_V1 Datasheet EN - Universal ESP8266 controller board with 0.96″ I2...
 
Education Documantary
Education DocumantaryEducation Documantary
Education Documantary
 
How to use an Arduino
How to use an ArduinoHow to use an Arduino
How to use an Arduino
 
Design and Development of Artix-7 FPGAbased Educational Board
Design and Development of Artix-7 FPGAbased Educational BoardDesign and Development of Artix-7 FPGAbased Educational Board
Design and Development of Artix-7 FPGAbased Educational Board
 
Arduino uno
Arduino unoArduino uno
Arduino uno
 
Adafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi BoardAdafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi Board
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)Practical Introduction to Internet of Things (IoT)
Practical Introduction to Internet of Things (IoT)
 
Arduino Uno
Arduino UnoArduino Uno
Arduino Uno
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on the
 
Arduino windows remote control
Arduino windows remote controlArduino windows remote control
Arduino windows remote control
 
01_DIGITAL IO.pptx
01_DIGITAL IO.pptx01_DIGITAL IO.pptx
01_DIGITAL IO.pptx
 
Embedded application development
Embedded application developmentEmbedded application development
Embedded application development
 
Touch Switch (Smart Switches) by arduino Project report file
Touch Switch (Smart Switches) by arduino  Project  report fileTouch Switch (Smart Switches) by arduino  Project  report file
Touch Switch (Smart Switches) by arduino Project report file
 
Office automation system using arduino
Office automation system using arduinoOffice automation system using arduino
Office automation system using arduino
 

Mehr von Elaf A.Saeed

IOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverIOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverElaf A.Saeed
 
IOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDsIOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDsElaf A.Saeed
 
IOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDsIOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDsElaf A.Saeed
 
IOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMSIOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMSElaf A.Saeed
 
Getting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcuGetting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcuElaf A.Saeed
 
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LEDESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LEDElaf A.Saeed
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetIOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetElaf A.Saeed
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CElaf A.Saeed
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Elaf A.Saeed
 
Lesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo MotorLesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo MotorElaf A.Saeed
 
Lesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorLesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorElaf A.Saeed
 
Lesson 6 - NodeMCU with PWM Pin
Lesson 6 -  NodeMCU with PWM PinLesson 6 -  NodeMCU with PWM Pin
Lesson 6 - NodeMCU with PWM PinElaf A.Saeed
 
lesson4 - NodeMCU control led
  lesson4 - NodeMCU control led  lesson4 - NodeMCU control led
lesson4 - NodeMCU control ledElaf A.Saeed
 
lesson1 - Getting Started with ESP8266
lesson1 -  Getting Started with ESP8266lesson1 -  Getting Started with ESP8266
lesson1 - Getting Started with ESP8266Elaf A.Saeed
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseElaf A.Saeed
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseElaf A.Saeed
 
Pyton with rasperry pi
Pyton with rasperry piPyton with rasperry pi
Pyton with rasperry piElaf A.Saeed
 
Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Elaf A.Saeed
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1Elaf A.Saeed
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1Elaf A.Saeed
 

Mehr von Elaf A.Saeed (20)

IOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU WebserverIOT NodeMCU - NodeMCU Webserver
IOT NodeMCU - NodeMCU Webserver
 
IOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDsIOT NodeMCU - Ubidots Platform to Turn on LEDs
IOT NodeMCU - Ubidots Platform to Turn on LEDs
 
IOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDsIOT NodeMCU - Thinger Platform to Turn on LEDs
IOT NodeMCU - Thinger Platform to Turn on LEDs
 
IOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMSIOT NodeMCU - IFTTT Templet to send SMS
IOT NodeMCU - IFTTT Templet to send SMS
 
Getting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcuGetting date and time from ntp server with esp8266 node mcu
Getting date and time from ntp server with esp8266 node mcu
 
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LEDESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
ESP8266 NodeMCU Server, Client, Station Mode, and Client Control LED
 
IOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to InternetIOT NodeMCU - NodeMCU Connection to Internet
IOT NodeMCU - NodeMCU Connection to Internet
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
 
Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)Lesson 9- NodeMCU with Arduino UNO (UART)
Lesson 9- NodeMCU with Arduino UNO (UART)
 
Lesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo MotorLesson 8- NodeMCU with Servo Motor
Lesson 8- NodeMCU with Servo Motor
 
Lesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC MotorLesson 7- NodeMCU with DC Motor
Lesson 7- NodeMCU with DC Motor
 
Lesson 6 - NodeMCU with PWM Pin
Lesson 6 -  NodeMCU with PWM PinLesson 6 -  NodeMCU with PWM Pin
Lesson 6 - NodeMCU with PWM Pin
 
lesson4 - NodeMCU control led
  lesson4 - NodeMCU control led  lesson4 - NodeMCU control led
lesson4 - NodeMCU control led
 
lesson1 - Getting Started with ESP8266
lesson1 -  Getting Started with ESP8266lesson1 -  Getting Started with ESP8266
lesson1 - Getting Started with ESP8266
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino Course
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino Course
 
Pyton with rasperry pi
Pyton with rasperry piPyton with rasperry pi
Pyton with rasperry pi
 
Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1Summary of MATLAB Functions-Part1
Summary of MATLAB Functions-Part1
 
MATLAB Basics-Part1
MATLAB Basics-Part1MATLAB Basics-Part1
MATLAB Basics-Part1
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1
 

Kürzlich hochgeladen

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Kürzlich hochgeladen (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

lesson2 - Nodemcu course - NodeMCU dev Board

  • 2. What we learn in this Lesson • ESP8266 Board. • NodeMCU 1.0. • ESP8266 12-E NodeMCU Kit.
  • 3. ESP8266 Board Eng. Elaf A.Saeed • ESP8266 is usually mounted on circuit boards that making it easy for you to program the chip and to interface with input and output devices.
  • 4. NodeMCU 1.0 Eng. Elaf A.Saeed ESP-12E Wi-Fi module • Tensilica L106 32-bitsmicro controller (MCU). • CPU clock speed is 80MHZ. • Integrated 10-bit ADC. • 4MB external SPI flash to store user programs. • SDIO 2.0, (H) SPI, UART, I2C, PWM, GPIO. • Integrated TCP/IP protocol stack. • Frequency: Wi-Fi 2.4 GHz. • Support STA/AP/STA+AP operation modes. • Security: Support WPA/WPA2. • Encryption: WEP/TKIP/AES. • Protocols: IP4/TCP/UDP/HTTP/FTP. • Onboard antenna with a reasonable range (-70~-80dBm at 50 feet)
  • 5. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed
  • 6. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed
  • 7. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed • GPIO Maximum Current Imax. 1. 12mA here refers to the source current and sink current is greater than 12mA. 2. 12mA is for per pin and each pin is the same. 3. Drive capacity current of all GPIO pins total can be 16 x 12 mA. The sink current of GPIO is about 20mA. The maximum source current of GPIO is about 12mA.
  • 8. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed RST Pin • Most of the ESP8266 development boards have a built-in LED.
  • 9. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed RST & Flash button • You need to hold flash and press reset to get it into upload mode. Some boards like NodeMCU have a USB to Serial adapter onboard which does it automatically.
  • 10. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed GPIO • General-purpose input/output (GPIO) can be either input pin or output pin, whose behavior can be controlled at the run time. • GPIO’s(1,3) are mostly not used for GPIO purpose because they are reserved for RX and TX in order to communicate with a host PC through which compiled object code is downloaded. • We can use pinMode, digitalRead, digitalWrite, INPUT, OUTPUT and INPUT_PULLUP for GPIO’s pins (except GPIO16, it uses INPUT_PULLDOWN_16) • (GPIO 6-11) are used to connect the flash memory chip.
  • 11. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed On-board LED • Most of the ESP8266 development boards have a built-in LED. This LED is usually connected to GPIO2. • The LED works with inverted logic. Send a HIGH signal to turn it off, and a LOW signal to turn it on.
  • 12. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed GPIO0 • When GPIO0 is pulled LOW, it sets the ESP8266 into bootloader mode. This is the same as pressing the on-board FLASH/BOOT button.
  • 13. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed GPIO16 • GPIO16 can be used to wake up the ESP8266 from deep sleep. To wake up the ESP8266 from deep sleep, GPIO16 should be connected to the RST pin. I2C • The ESP8266 doesn't have hardware I2C pins, but it can be implemented in software. So you can use any GPIOs as I2C. Usually, the following GPIOs are used as I2C pins:  GPIO5: SCL  GPIO4: SDA
  • 14. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed SPI • The pins used as SPI in the ESP8266 are:  GPIO12: MISO  GPIO13: MOSI  GPIO14: SCLK  GPIO15: CS PWM Pins • ESP8266 allows software PWM in all I/O pins: GPIO0 to GPIO16. PWM signals on ESP8266 have 10-bit resolution. Interrupt Pins • The ESP8266 supports interrupts in any GPIO, except GPIO16.
  • 15. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed Analog Input • The ESP8266 only supports analog reading in one GPIO. That GPIO is called ADC0 and it is usually marked on the silkscreen as A0. • The maximum input voltage of the ADC0 pin is 0 to 1V if you’re using the ESP8266 bare chip. If you’re using a development board like the ESP8266 12-E NodeMCU kit, the voltage input range is 0 to 3.3V because these boards contain an internal voltage divider.
  • 16. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed Bootloader Mode • The bootloader can go into a number of modes depending on the state of GPIOs 0,2 and 15. The two useful modes are the UART download mode (for flashing new firmware) and the flash startup mode (which boots from flash). GPIO 0 GPIO 2 GPIO 15 UART Download Mode (programming) 0 1 0 Flash Startup (Normal) 1 1 0 SD Card Boot 0 0 1
  • 17. ESP8266 12-E NodeMCU Kit Eng. Elaf A.Saeed
  • 19. Email: elafe1888@gmail.com linkden: www.linkedin.com/in/elaf-a-saeed-97bbb6150 facebook: https://www.facebook.com/profile.php?id=100004305557442 github: https://github.com/ElafAhmedSaeed youtube: https://youtube.com/channel/UCE_RiXkyqREUdLAiZcbBqSg slideshare: https://www.slideshare.net/ElafASaeed Slideplayer: https://slideplayer.com/search/?q=Elaf+A.Saeed Google Scholar: https://scholar.google.com/citations?user=VIpVZKkAAAAJ&hl=ar&gm la=AJsN-F7PIgAjWJ44Hzb18fwPqJaaUmG0XzbLdzx09