ESP8266 AT commands development (based on STC89C52 SCM): Hardware Description

 

 

 

Physical map

  

 

 

  

 

 

 

 

 

Hardware Description

  Development board on-board Description:

  1. master chip: STC89C52

  2.Wi-Fi module: ESP8266

  3. The temperature and humidity sensor: DHT11   

  4. LCD: IIC OLED                  

  5. Relay: 220V 10A        

  6. Other: See Schematic

 

DESCRIPTION serial communication control

  Consider the following two orange jumper connector

 

  

 

  First, the computer 51 and the microcontroller serial communications

 

    

 

 

  Second, the computer and the serial communications ESP8266

 

    

 

 

  Third, the microcontroller 51 and the communication ESP8266

 

    

 

 

 

 

 

 

 

 

Microcontroller program download step 51

  1. If your computer does not CH340 installation (serial modules) drive, install CH340 (Serial Module) driver

    

 

 

    

 

 

  2, USB serial cable to your computer, and the computer serial port communications microcontroller 51 (two picture orange jumpers)

    

 

 

 

  3. Open the download software, choose STC89C52RC

    

 

 

    

 

 

    

 

 

  4. choose the appropriate computer port (of their choice)

 

    

 

 

  5. Open the file, selection routine -> 1- Hardware Description -> microcontroller 51 DHT11 acquisition program -> DHT11Collect.hex

 

    

 

 

  6. Click to download programming

 

    

 

 

  7. Press the Reset button to download development board, and release (the red box are standard)

 

    

 

 

  8. normal will see download

 

    

 

 

  The liquid crystal display panel temperature and humidity data. Serial printed once every 1S temperature and humidity data

    

 

 

 

 

    

 

 

 

 

    

Guess you like

Origin www.cnblogs.com/yangfengwu/p/12014366.html