Joke Collection Website - Public benefit messages - Single chip microcomputer controls mobile phone to send short messages.
Single chip microcomputer controls mobile phone to send short messages.
1. Hardware design: MCS-51compatible single chip microcomputer is selected, I use windon 78 e 58 b, and then use GSM module of Motorola G20. The external SIM card circuit and 3.3v power supply circuit are designed by ourselves. The GSM module is connected with the serial port of the single chip microcomputer through a serial port and is controlled by instructions. Another 433MHZ wireless receiving module is used, and one of its contacts is connected to the I/O port of the single chip microcomputer. When the monitored equipment (the inductive switch in the safety door) is triggered, the 433MHZ wireless transmitting module sends a RF switch signal to the corresponding receiving module, and the receiving module outputs the switch signal to the I/O port of the single chip microcomputer. After the MCU program detects the I/O signal jump, it sends an instruction to the GSM module to send a short message to the designated mobile phone, which can monitor multiple monitoring points at the same time.
2. program: c language. Please refer to G20 instruction manual and AT instruction manual for details. Both the program and the hardware run through, which is feasible.
3. Please pay attention to the level conversion between GSM and MCU when making, one is 3.3V and the other is 5V, which should be handled well.
I hope the above can help you. If you still don't understand or have questions about the program description, please contact gz119 @ 21cn.com.
Supplement: the above scheme is used for the design of specialized products, and it is more troublesome to do it under amateur conditions. If you just play with it yourself, you don't need to use GSM module, just speed up the single chip microcomputer test board and connect it with a cheap old mobile phone with serial port. If you can't find a serial phone, you can use an old Nokia phone with infrared port to transform it. Good luck!
- Related articles
- SMS notification to freeze the property under the name
- Humorous and witty sentences for marriage proposal
- I am still at school and want to buy a mobile phone. I want to buy a mobile phone in Hebi. The advantages and disadvantages of writing something are about 1500, but not more than 2500.
- What apps can translate Uighur?
- What should I do if my iphone message is intercepted?
- Shentong courier delivers the courier to the woman in pajamas. What wonderful couriers have you met?
- How to write the copy of returning to work in the gym
- My boyfriend told me to accompany me at noon. This is not sure if I can answer him?
- A male friend was so slow to reply to text messages that I almost asked him, does he hate me?
- The morning greeting of the working group is very short and it is the most beautiful sentence.