Joke Collection Website - Public benefit messages - The Problem of Controlling Serial Port of A6GSM Module with Single Chip Microcomputer
The Problem of Controlling Serial Port of A6GSM Module with Single Chip Microcomputer
The problem is that the baud rate between A6 and MCU is inconsistent. MCU is generally set to 9600, and A6 defaults to 1 15200. If the baud rate of the single chip microcomputer is set to 1 15200, communication can be achieved. However, if the crystal oscillator used by the single chip microcomputer is 1 1M, it is not easy to adjust it to 1 15200 (I have tried many times and failed). I use the computer serial port to connect A6 first, use AT+IPR=9600 to adjust its baud rate to 9600, and then connect the serial port of the single chip microcomputer to A6 (hot plug dialing), so that A6 can't be powered off (because A6 can't seem to save the settings, but the single chip microcomputer can restart), so that the single chip microcomputer can communicate with A6. You can verify the above method by writing a program on a single chip microcomputer to respond to different led lights according to the content of short messages. The above pro-test passed.
- Related articles
- 300 short messages are inexhaustible.
- Wechat greetings on March 8 Women's Day
- I hacked my husband's WeChat, and I didn't answer dozens of calls, nor did I send text messages or return voice calls. What will he think if I don't answer them?
- What are the restrictions on group texting?
- My wife received an ambiguous message from a gay man, deleted it and lied to me that she was a lesbian, sometimes carrying it behind her back.
- Humorous words wishing my husband a happy birthday
- Poetic greetings from Mid-Autumn Festival
- I changed my password for fun.
- L 1: What languages are there in English? More commonly used.
- Air ticket prices from Guangzhou to Chengdu Shuangliu Airport