Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MCU
IO
port
individually
hung
2.4G
module
NRF24L01 + sub
Pick
up
three
separate red, green
and
blue
LED
lights
on
the
microcontroller
IO
port
Buzzer
The MCU can be reset to force action on the ESP8266 ESP8266 prevent crashes
Photoresistor
connected to the
P1.7 port, you
can collect the
ambient
brightness,
which with AD
Temperature
sensor connected
to P1.6
You can manually
reset ESP8266
ESP8266
has
six
external use available
generic IO ports are
GP0 GP2 GP15 GP12 GP13 GP14 which GP0 GP2 GP15 before the system starts, it determines
what the state after the system starts to enter, after the system starts properly, GPO GP2 GP15 do
general IO ports.
Therefore, all the IO port 6 after the system is running can be when using common IO port, do the
following figure as the input and output output, ESP8266 IO port directly drive LED
ESP8266
reuse as
key
detection
input
ESP8266
onboard
adapter base
as follows:
E1
transposon
E2transposon
The figure marked ESP8266 module into the normal startup, received 8266 MCU serial port
control! You can now test the demo phone control panel stuff
The figure marked the system is linked to the microcontroller serial port, so that the program can
be programmed into the device
The figure indicates that the system enters upgrade status! Please note that the above four DIP
switches
The figure marked the system's serial port connected to the ESP8266 can demonstrate manually
AT serial debugging software
system starts! So please do not be too confident its own power, no problem. Simple and reliable
way, and after two 1.5V batteries in series to power the new module
2 is guaranteed CH_PD chip strobe pin is high, if GPIO15 (ie MTDO), please take this pin low.
Note that the above two points, the factory out of the module, you can enter the system after
entering the system,
A module current 70-80 mA. . Please test this current 20A stalls measuring! Necessary.
2 If the indicator system, the electric blue light will blink at once and instantly exterminate!
Flashing is because after power system data output. Because indicator connected to the data output
port! If you see the indicator data with output, and you did not serial data, the data representing the
output of you not well received, please check your USB
3 system starts at 0.91 and previous versions, the system will output a bunch of gibberish (in fact,
not garbled, after the system starts out some inside information)) and output READY!
Representative system to normal
4 as described above, the normal operation of the system should be able to hand on the machine or
computer to search for the first router to ESP_XXXX If the above description of the state of the
system, the system is running on your behalf. According to official data, GP0 GP2 GP15 in
normal operation GPO GO2 needs then high, G15 constant low. GP0 is low, GP2 is high, GP15 is
low, on behalf of the system into a new program through the serial port upgrade status
The simplest system diagram above after several validated middle four feet short circuit connected
Some details:
A simple system startup conditions: two battery-powered, CH_PD then high if GPIO15, please
GPIO15 low. It's that simple
2 If the blue light flashing after power is off 0.2 seconds for normal to normal after 70-90 mA
current system
3 Remember to enter various AT commands to add a carriage return after! Remember to add a
carriage return, or what made you what module returns.