SlideShare uma empresa Scribd logo
1 de 12
ESP8266
NodeMCU
Arduino Killer
Or
How I learned to stop worrying
and ...
Arduino Nano
• Arduino version used for our FW-Dev
workshop
• Atmel ATmega328 16MHz
• 14 Digital I/O Pins
• 8 Analog Input Pins
• DC Current per I/O Pin 40 mA
• 32 KB Flash
• 2 KB RAM
• No WiFi on-board
• WiFi options were expensive
 We used 433MHz radio to send data off-
board
Wi-Fi Shield
• Expensive. $85/each.
Wow
• 802.11b/g
• WEP and WPA2
• Connection with Arduino
on SPI port
• Onboard micro-SD card
slot
CC3000 Wi-Fi
• Expensive. $35/each
• Breakout board with chip antenna
• 802.11b/g
• Built in TCP/IP stack
• Can connect to an access point but it cannot be an
access point.
• SSID scanning, connection, DHCP, DNS lookup, ping
• SPI Interface
• Buggy and ornery, easy to brick
ESP8266
• ESP-01
• Originally was $5
• Now < $2 on eBay
• Simple serial interface
• AT commands
• Can be Client or
• Access Point
To the Cheap Cloud
ESP8266 Wifi Module
• Self contained Expressif SoC with integrated
• TCP/IP protocol stack
• 32-bit RISC Xtensa CPU 80 MHz
• 64 KB of instruction RAM, 96 KB of data RAM
• 512 KB to 4 MB (up to 16MB is supported) external Flash
• IEEE 802.11 b/g/n Wi-Fi
• 16 GPIO pins
• SPI, I²C
• UART on dedicated pins
• 2nd transmit-only UART on GPIO2
• 1 10-bit AD
• The ESP8266 is capable of either hosting an application or
offloading all Wi-Fi networking functions to a micro-controller
• ESP-01 PITA to program
NodeMCU
• 32-bit RISC CPU 80 MHz (OC 160MHz)
• 64 KB of instruction RAM, 96 KB of data RAM
• 4MB flash
• IEEE 802.11 b/g/n Wi-Fi
• 13 GPIO pins – Not 5v Tolerant!
• SPI, I²C
• 1 10-bit AD
• CP2102 USB
• Can be programmed with Lua, C/C++, Python,
Basic, JavaScript, Arduino IDE
NodeMCU DEVKIT V1.0
Saturday Workshop?
• Similar to Arduino Workshop.
• Use same IDE and language to program a more
powerful chip with built in WiFi
• For nominal fee ($20?), you'll get parts, code
and ~4 hrs of instruction for projects
• Parts:
• NodeMCU
• Sensors (Temperature/Humidity or?)
• Display (OLED or LCD)
• Breadboard, wires
• Mid to End May?
Example Agenda
• ESP8266/NodeMCU overview
• Setup development environment
• Build a Wifi client and pull data
• Read sensors and push data to web
• Create a Web server, web page with sensor
data and access from PC/Phone
• Display sensor data on graphic display
• Create Wifi Access Point with SSID
• All code and tutorials will be put on github

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
Arduino
ArduinoArduino
Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino & NodeMcu
Arduino & NodeMcuArduino & NodeMcu
Arduino & NodeMcu
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 
Arduino uno
Arduino unoArduino uno
Arduino uno
 
Ardui no
Ardui no Ardui no
Ardui no
 
1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT1. Introduction to Embedded Systems & IoT
1. Introduction to Embedded Systems & IoT
 
Esp32 cam arduino-123
Esp32 cam arduino-123Esp32 cam arduino-123
Esp32 cam arduino-123
 
Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Robotics and Arduino (Arduino UNO)
Robotics and Arduino (Arduino UNO)Robotics and Arduino (Arduino UNO)
Robotics and Arduino (Arduino UNO)
 
Arduino
ArduinoArduino
Arduino
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
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 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]
 
NodeMCU with Blynk and Firebase
NodeMCU with Blynk and FirebaseNodeMCU with Blynk and Firebase
NodeMCU with Blynk and Firebase
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 

Destaque

Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
Ahmed Sakr
 
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
David Fowler
 
Laboratory compaction study of fly ash mixed with lime precipitated electropl...
Laboratory compaction study of fly ash mixed with lime precipitated electropl...Laboratory compaction study of fly ash mixed with lime precipitated electropl...
Laboratory compaction study of fly ash mixed with lime precipitated electropl...
eSAT Journals
 
E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...
E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...
E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...
CNT
 

Destaque (20)

Build WiFi gadgets using esp8266
Build WiFi gadgets using esp8266Build WiFi gadgets using esp8266
Build WiFi gadgets using esp8266
 
Home Automation by ESP8266
Home Automation by ESP8266Home Automation by ESP8266
Home Automation by ESP8266
 
Esp8266 Workshop
Esp8266 WorkshopEsp8266 Workshop
Esp8266 Workshop
 
WiFi SoC ESP8266
WiFi SoC ESP8266WiFi SoC ESP8266
WiFi SoC ESP8266
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
 
Node MCU Fun
Node MCU FunNode MCU Fun
Node MCU Fun
 
Cassiopeia Ltd - ESP8266+Arduino workshop
Cassiopeia Ltd - ESP8266+Arduino workshopCassiopeia Ltd - ESP8266+Arduino workshop
Cassiopeia Ltd - ESP8266+Arduino workshop
 
Getting started on IoT with AWS and NodeMCU for less than 5€
Getting started on IoT with AWS and NodeMCU for less than 5€Getting started on IoT with AWS and NodeMCU for less than 5€
Getting started on IoT with AWS and NodeMCU for less than 5€
 
Home automation using IoT
Home automation using IoTHome automation using IoT
Home automation using IoT
 
What exactly is the "Internet of Things"?
What exactly is the "Internet of Things"?What exactly is the "Internet of Things"?
What exactly is the "Internet of Things"?
 
Dc servo motor
Dc servo motorDc servo motor
Dc servo motor
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
 
Internet of Things and its applications
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applications
 
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
 
Sistema de aquisição de um sinal de ECG
Sistema de aquisição de um sinal de ECGSistema de aquisição de um sinal de ECG
Sistema de aquisição de um sinal de ECG
 
Laboratory compaction study of fly ash mixed with lime precipitated electropl...
Laboratory compaction study of fly ash mixed with lime precipitated electropl...Laboratory compaction study of fly ash mixed with lime precipitated electropl...
Laboratory compaction study of fly ash mixed with lime precipitated electropl...
 
Optimizing for low power in embedded mcu designs
Optimizing for low power in embedded mcu designsOptimizing for low power in embedded mcu designs
Optimizing for low power in embedded mcu designs
 
E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...
E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...
E book-why-appliance-designers-should-consider-hall-effect-sensor-i cs-for-mo...
 
OSGi Cloud Ecosystems (EclipseCon 2013)
OSGi Cloud Ecosystems (EclipseCon 2013)OSGi Cloud Ecosystems (EclipseCon 2013)
OSGi Cloud Ecosystems (EclipseCon 2013)
 

Semelhante a Esp8266 NodeMCU

Semelhante a Esp8266 NodeMCU (20)

4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf
 
ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu ESP8266 Wifi Nodemcu
ESP8266 Wifi Nodemcu
 
ARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptxARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptx
 
Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of Webpages
 
Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application
 
IoT Devices, Which One is Right for You to Learn? by Toni Haryanto (Codepolitan)
IoT Devices, Which One is Right for You to Learn? by Toni Haryanto (Codepolitan)IoT Devices, Which One is Right for You to Learn? by Toni Haryanto (Codepolitan)
IoT Devices, Which One is Right for You to Learn? by Toni Haryanto (Codepolitan)
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)
 
Flyport openPicus datasheet
Flyport openPicus datasheetFlyport openPicus datasheet
Flyport openPicus datasheet
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
 
IoT Intro and Demo
IoT Intro and DemoIoT Intro and Demo
IoT Intro and Demo
 
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Republic of IoT 2018 - ESPectro32 and NB-IoT WorkshopRepublic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Qiscus bot esp8266
Qiscus bot esp8266Qiscus bot esp8266
Qiscus bot esp8266
 
Internet of Things Devices - Which One Is Right for You to Learn
Internet of Things Devices - Which One Is Right for You to LearnInternet of Things Devices - Which One Is Right for You to Learn
Internet of Things Devices - Which One Is Right for You to Learn
 
IoT Devices, Which One Is Right for You to Learn?
IoT Devices, Which One Is Right for You to Learn?IoT Devices, Which One Is Right for You to Learn?
IoT Devices, Which One Is Right for You to Learn?
 
Arduino01.pptx
Arduino01.pptxArduino01.pptx
Arduino01.pptx
 
Arduino
ArduinoArduino
Arduino
 
IoT Devices, Which One is Right for You to Learn?
IoT Devices, Which One is Right for You to Learn?IoT Devices, Which One is Right for You to Learn?
IoT Devices, Which One is Right for You to Learn?
 
IoT Devices, Which One is Right for You to Learn
IoT Devices, Which One is Right for You to LearnIoT Devices, Which One is Right for You to Learn
IoT Devices, Which One is Right for You to Learn
 
A brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) ThingA brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) Thing
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 

Esp8266 NodeMCU

  • 1. ESP8266 NodeMCU Arduino Killer Or How I learned to stop worrying and ...
  • 2. Arduino Nano • Arduino version used for our FW-Dev workshop • Atmel ATmega328 16MHz • 14 Digital I/O Pins • 8 Analog Input Pins • DC Current per I/O Pin 40 mA • 32 KB Flash • 2 KB RAM • No WiFi on-board • WiFi options were expensive  We used 433MHz radio to send data off- board
  • 3. Wi-Fi Shield • Expensive. $85/each. Wow • 802.11b/g • WEP and WPA2 • Connection with Arduino on SPI port • Onboard micro-SD card slot
  • 4. CC3000 Wi-Fi • Expensive. $35/each • Breakout board with chip antenna • 802.11b/g • Built in TCP/IP stack • Can connect to an access point but it cannot be an access point. • SSID scanning, connection, DHCP, DNS lookup, ping • SPI Interface • Buggy and ornery, easy to brick
  • 5. ESP8266 • ESP-01 • Originally was $5 • Now < $2 on eBay • Simple serial interface • AT commands • Can be Client or • Access Point
  • 6. To the Cheap Cloud
  • 7. ESP8266 Wifi Module • Self contained Expressif SoC with integrated • TCP/IP protocol stack • 32-bit RISC Xtensa CPU 80 MHz • 64 KB of instruction RAM, 96 KB of data RAM • 512 KB to 4 MB (up to 16MB is supported) external Flash • IEEE 802.11 b/g/n Wi-Fi • 16 GPIO pins • SPI, I²C • UART on dedicated pins • 2nd transmit-only UART on GPIO2 • 1 10-bit AD • The ESP8266 is capable of either hosting an application or offloading all Wi-Fi networking functions to a micro-controller • ESP-01 PITA to program
  • 8.
  • 9. NodeMCU • 32-bit RISC CPU 80 MHz (OC 160MHz) • 64 KB of instruction RAM, 96 KB of data RAM • 4MB flash • IEEE 802.11 b/g/n Wi-Fi • 13 GPIO pins – Not 5v Tolerant! • SPI, I²C • 1 10-bit AD • CP2102 USB • Can be programmed with Lua, C/C++, Python, Basic, JavaScript, Arduino IDE
  • 11. Saturday Workshop? • Similar to Arduino Workshop. • Use same IDE and language to program a more powerful chip with built in WiFi • For nominal fee ($20?), you'll get parts, code and ~4 hrs of instruction for projects • Parts: • NodeMCU • Sensors (Temperature/Humidity or?) • Display (OLED or LCD) • Breadboard, wires • Mid to End May?
  • 12. Example Agenda • ESP8266/NodeMCU overview • Setup development environment • Build a Wifi client and pull data • Read sensors and push data to web • Create a Web server, web page with sensor data and access from PC/Phone • Display sensor data on graphic display • Create Wifi Access Point with SSID • All code and tutorials will be put on github