Название: NodeMCU Development Workshop (+code)
Автор: Kurniawan A.
Издательство: PE Press
Год: 2015
Страниц: 117
Формат: PDF, EPUB
Размер: 10.5 Мб
Язык: English
NodeMCU is the Development Kit based on ESP8266 with NodeMCU firmware. This book was written to help anyone want to get started with NodeMCU v2 board development. It describes the basic elements of NodeMCU development starting with Lua programming.
Table of Contents
Copyright
Preface
1. Preparing Development Environment
1.1 NodeMCU
1.2 Electronics Components
1.2.1 Arduino Starter Kit
1.2.2 Fritzing
1.2.3 Cooking-Hacks: Arduino Starter Kit
1.2.4 Arduino Sidekick Basic kit v2
1.2.5 Grove - Starter Kit for Arduino
1.2.6 DFRobot - Arduino Kit for Beginner v3
1.3 Development Tools
1.4 Testing
2. Setting Up NodeMCU
2.1 Getting Started
2.2 Connecting NodeMCU board to Computer
2.3 Flashing The Latest NodeMCU Firmware
2.3.1 Windows Platform
2.3.2 Linux and OS X Platforms
2.4 Development Tools
2.4.1 Serial/UART Tool
2.4.2 Arduino IDE
2.4.3 NodeMCU Studio
2.5 Hello NodeMCU: Blinking LED
2.5.1 Wiring
2.5.2 Writing Program Using Serial/UART Tool
2.5.3 Uploading Lua Script File to NodeMCU Board
3. Lua Programming Language
3.1 Preparing Development Environment
3.2 Common Rule
3.3 Variables
3.3.1 Declaring Variable
3.3.2 Assigning Variables
3.3.3 Demo
3.4 Comment
3.5 Arithmetic Operations
3.6 Mathematical Functions
3.7 Increment and Decrement
3.8 Comparison Operators
3.9 Logical Operators
3.10 Decision - if..then
3.11 Iteration - for
3.12 Iteration - while
3.13 Iteration - repeat
3.14 break and do
3.15 Array
3.16 Functions
3.17 Lua Modules
4. GPIO Programming
4.1 Getting Started
4.2 Wiring
4.3 Writing a Program
4.4 Testing
5. PWM and Analog Input
5.1 Getting Started
5.2 Demo Analog Output (PWM) : RGB LED
5.2.1 Wiring
5.2.2 Writing Program
5.2.3 Testing
5.3 Demo Analog Input: Working with Potentiometer
5.3.1 Wiring
5.3.2 Writing Program
5.3.3 Testing
6. Working with I2C
6.1 Getting Started
6.2 Writing Program
6.3 Writing Program
6.4 Testing
7. UART
7.1 Getting Started
7.2 Wiring
7.3 Writing a Program
7.4 Testing
8. SPI
8.1 Getting Started
8.2 Wiring
8.3 Writing a Program
8.4 Testing
9. Working with OLED Display
9.1 Getting Started
9.2 Wiring
9.3 Writing a Program
9.4 Testing
10. Connecting to a Network
10.1 Connecting to a WiFi Hotspot
10.2 Building a Simple Web Server
Source Code
Contact
Скачать Kurniawan A. - NodeMCU Development Workshop (+code)
Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации