NodeMCU quick start, nodemcuquickstartWhat is NodeMCU?
NodeMCUIs an open-source Iot platform. It is programmed in Lua scripting language. This platform is based on eLua] Open-Source Project. ESP8266 sdk 0.9.5 is used at the underlying layer. The platform uses many open-source projects, such as lua-cjson, spiffs. NodeMCU contains firmware that can run on the esp82
Preparatory work1.NodeMCU Module2.esp8266flasher.exe3.ESPlorer V0.2.0-RC6Building firmware
Building The firmware provides three ways to build your own firmware.
It is recommended to use the simple cloud build service NODEMCU Custom builds to customize your own firmware, just choose the library you need on the site, leave the mailbox, will be able to receive the compiled firmware.
I chose th
most IOT application is battery-powered, in the case of a certain amount of battery power (volume, environment, etc.), the consumption of electricity determines the life of the product, determines whether the product is practical. The main purpose of this paper is to learn about The dormancy mechanism of NODEMCU. Nodemcuof theApiHttps://github.com/nodemcu/nodemcu
ESP8266 WIFI module Burn write upgrade firmware
http://cckyz.blog.163.com/blog/static/13706603520150282355569/
When you want to get started with the ESP8266 WIFI module burning, you must be getting a headache from a bunch of help files. And then bask in how I burn the firmware, hoping to help you to relieve the effect. :) Burn Write Step 1, connect the GPIO0 through the 1K resistor to GND 2, connect the CH_PD to VCC 3, connect Utxd with URXD to the corresponding PIN 4 of the USB port module, a
What is NODEMCU
NODEMCU is a fast-developing hardware platform based on ESP8266Can be developed in other ways, such as Arduino, LUA, etc.
The development method of this article is mainly developed through the Lua language on the platform of the completed SDK, and the SDK is developed directly.API Documentation: APIBbs:bbsDocs:docs Online Customization SDK NODEMCU
On the board of NODEMCU, there is the other LEDs what can be tested.
1. First LED
Through the PCB file of NODEMCU (see Figure-1 or Https://github.com/nodemcu/nodemcu-devkit-v1.0/blob/master/NODEMCU_DEV Kit_v1.0.pdf), we can find the first led which connected by GPIO16 and vdd3v3. The index of PIN is 0. (see another ar
This is the use of this paragraphBecause this default is the firmware that supports the AT command, so we're going to brush Nodemcu'sFirst look at the wiringGPIO0 default is operating mode (no wiring). If the next low level is the download mode (to the module brush firmware!!) ) So the low level is connected. CH_PD high level, the rest can not be wired except TX,RX.The rest is actually almost the same as my article NODEMCU preliminary studyThe first i
The functions implemented:led_1and theled_2can be used simultaneouslyAPPand theKEY1and theKEY2button (short press) controlsuitable for entry-level Meng Xin, big guy please skip, thank you! Features: Led_1 and led_2 can be controlled simultaneously with app and KEY1 and KEY2 keys (Short press)First, the hardware circuit and the development environment construction1. Hardware circuitFirst is from a treasure purchase WiFi module ESP8266 NODEMCU, I bought
1.ESP8266 Chip Related information
ESP8266 's official website in: Http://www.espressif.com/zh-hans
NODEMCU's official website is in: http://nodemcu.com
NODEMCU Online Document Location: https://nodemcu.readthedocs.io/en/master/en/upload/
NODEMCU Open Source in: Https://github.com/nodemcu/nodemcu-firmware
The NODEMCU is a compact development board with integrated WiFi and MCU, based on the ESP8266 chip. Forum in http://bbs.nodemcu.com/, source code in HTTPS://GITHUB.COM/NODEMCU.Using the Openscad to make a shell, you can use the 3D printer output, and no longer "bare-Ben".OPENSCAD's original model file is as follows, which can be modified and output on the 3D printer itself.NODEMCU Smart Device, box, Rainproof (vertical mount)//author:[emailprotected],
NODEMCU's documentation finally found that ESP8266 's GPIO 2 is indeed a PIN 4,gpio 0 is pin 3. Https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_cn In other words, this API is not for the Earth people to see. According to the instructions, Net.createserver returns the Server, in fact, if using UDP, according to the code inside you do not work out. Finally found the answer in the Www.esp8266.com
will be sent by the mobile phone.
Enter the current network password and send it to the UDP port.
Esp8266 automatically receives and calls the connection informationWiFi.smartConfigDone()Exit and wait.
That's easy!Esp8266 firmware code
Sample Code for Arduino core for esp8266:
# Include
The code is simpler if nodemcu Lua is used:
wifi.setmode(wifi.STATION)wifi.startsmart(0, function(ssid, password) print(string.
reality device display to provide support.ArWhile most AR applications may be a bit far away from us, the closest thing to us is leap motion--, which can be entered using palm and finger movements, but without touching or touching the hand.In the same vein, the data from the sensor is read, and the gesture is left to the browser to handle. For details, refer to my previous writing: "Leap Motion JavaScript Development gesture Control Basics"HardwareEarlier I saw that Arduino encapsulated the API
use WebView to render VR perspectives:and each browser manufacturers in the promotion of Webvr for virtual reality device display to provide support.ArWhile most AR applications may be a bit far away from us, the closest thing to us is leap motion--, which can be entered using palm and finger movements, but without touching or touching the hand.In the same vein, the data from the sensor is read, and the gesture is left to the browser to handle. For details, refer to my previous writing: "Leap M
fact, is a computer running Linux.Since it's a Linux computer, it's easy to develop software. But, wait! Because arm's device performance is still low, generally not suitable to run the IDE, code editing, compiling, packaging and other work, so generally on the PC built a " cross-compilation Environment ", compiled program, into a binary package, and then burned to write in. Android ADK, for example, is a set of tools that can be edited, debugged, compiled, packaged, and so on. And OpenWrt is t
interface on the basis of stm32f405 MCU. The board contains 4 LEDs, an acceleration sensor, which can operate at voltages between the 3v-10v. The only Micropython development Board that supports the communication positioning functionTPYBoardv702, the only Micropython Development Board that supports the communication positioning function. Support Beidou gps Dual-mode positioning, GPRS communication, SMS, Bluetooth, telephone and other functions. Board load Force sensing, temperature and humidit
Due to the widespread use of the COM protocol, many devices, although the interface changed to USB, but the internal data communication protocol is still using COM (that is, the traditional RS232 serial port protocol, the new use of TTL). Many devices use PL2302/CH340/FTDI and other chips to simulate the serial port protocol via USB, such as ARDUINO/NODEMCU, etc., using a similar mechanism.Under Windows, after you install the driver, you can find the
the ESP8266 Development Board
to Le Xin website download burning tool: Flash download tool (ESP8266 ESP32)
Https://www.espressif.com/zh-hans/support/download/other-tools
Using the Le Xin Windows download tool, download at the following address:
Filename
Burn Address
Boot_v1.7_921600.bin
0x0
Esp_init_data_default.bin
0x3fc000
Blank.bin
0x3fe000
Helloworld@esp8266-0x1000.bin
0x1000
"Boot_v1.7_921600.bin" "
Test with your own little board ...The arrangement?One, ESP8266 download and brush firmware (LUA development----Experience the charms of LUA development)Two, control a light offThird, the TCP serverFour, the TCP clientFive, UDPVI, file operation (save data to 8266 internal)Seven, peripheral operation (SPI,ADC)Eight, besides ...Ultimately, it makes it easy for everyone to doHttp://www.cnblogs.com/yangfengwu/p/7513097.htmlEasy to use 8266See download your own firmware firstFill in your e-mail addr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.