Joke Collection Website - Public benefit messages - Single-chip microcomputer serial port control GSM program (text message or phone call will do) urgent! ! !

Single-chip microcomputer serial port control GSM program (text message or phone call will do) urgent! ! !

Sending text messages is quite simple, but making phone calls is more troublesome.

Set the baud rates of both parties, preferably using a 5-wire serial port.

If you only send English and numbers, send them through a serial port.

at+cmgf = 1 & lt; Enter > < line break >

At+cmgs= the other party's mobile phone number & lt line feed >

Delay 0.5~ 1s

Then send the message content.

Send a 16 hex 0x 1a after the message content is sent.

If there is no problem, the other party will receive the message.

& ltEnter >< line feed > is 16 hexadecimal 0x0d, 0.

It will be more troublesome if you want to send Chinese, and it will be more troublesome to send it in pdu format.

The above is a simple experiment. If it is practical, you have to look for the information of GSM07.07 AT instruction set. There are many online.