SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduinoBetsy Eng
 
Esp32 cam arduino-123
Esp32 cam arduino-123Esp32 cam arduino-123
Esp32 cam arduino-123Victor Sue
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoOmer Kilic
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
ESP8266 and IOT
ESP8266 and IOTESP8266 and IOT
ESP8266 and IOTdega1999
 
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
 
Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266Rishav Pandey
 
Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]Alwin Arrasyid
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseElaf A.Saeed
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt maineddy royappa
 

Tendances (20)

Ardui no
Ardui no Ardui no
Ardui no
 
Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Esp32 cam arduino-123
Esp32 cam arduino-123Esp32 cam arduino-123
Esp32 cam arduino-123
 
Arduino
ArduinoArduino
Arduino
 
Arduino & NodeMcu
Arduino & NodeMcuArduino & NodeMcu
Arduino & NodeMcu
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
FireWire
FireWireFireWire
FireWire
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
ESP8266 and IOT
ESP8266 and IOTESP8266 and IOT
ESP8266 and IOT
 
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)
 
Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266Patient Health Monitoring System Using Arduino & ESP8266
Patient Health Monitoring System Using Arduino & ESP8266
 
Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]
 
Embedded system introduction - Arduino Course
Embedded system introduction - Arduino CourseEmbedded system introduction - Arduino Course
Embedded system introduction - Arduino Course
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
 

Similaire à 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
 
NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1Andy Gelme
 
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
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingICS
 
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
 

Similaire à 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
 
NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1
 
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
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO Programming
 
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
 

Plus de 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 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
 
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
 
Lecture 6(simulation programs- برامج المحاكاة)
Lecture 6(simulation programs- برامج المحاكاة)Lecture 6(simulation programs- برامج المحاكاة)
Lecture 6(simulation programs- برامج المحاكاة)Elaf A.Saeed
 

Plus de 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 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
 
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
 
How to be Healthy
How to be HealthyHow to be Healthy
How to be Healthy
 
Lecture 6(simulation programs- برامج المحاكاة)
Lecture 6(simulation programs- برامج المحاكاة)Lecture 6(simulation programs- برامج المحاكاة)
Lecture 6(simulation programs- برامج المحاكاة)
 

Dernier

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Dernier (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

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