Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi I am to write about serial communication using mcu and gsm modem to send sms to mobile. but i face some problem. can anyone give suggestion? did i need to set sbuf ??? I am wirting AT command using c language.
while(1){
if (ir_out==0){
SBUF = "A";
waitTx();
SBUF = "T";
waitTx();
}
Hello everyone, I edit the code a;ready, but still cannot send sms . can you check for me. thanks a lot. This is the code.
#include <reg51.h>
#include <stdio.h> /* prototype declarations for I/O functions */
sbit led = P3^6 ;
sbit irout = P1^3 ;
sbit rs=P2^0 ;
sbit...
、
yes, I want to set irout pin to be button. so I can press irout pin to send sms as well as light up led. Do you have any idea?
- - - Updated - - -
irout pin is switch button in my circuit.
OK thanks for your reply. but I still can not send sms and led not light up by pressing p1^3 button . led light up only i press the reset button. i really do not what is wrong with the code. Please help.
I read through AT command code already. But can you help me add in LED p3^6 in your code. led on when device is sending sms and led off when device is not sending sms or did nothing. Thank you so much.
Hi I am using AT89C51 mcu connect with gsm modem . I need to write AT command using c language to run my program. But the code is not working and can not send sms to mobile. Kindly che check for me the below code. I just need press p1^3 button then the prgram can send sms. I did not need receive...
Thank you so much for your reply. But Actually i want to write program so that elderly can press button and auto send sms to family member when they fall down or in danger.
Ok Do you know how to add in ledis. led on when sending sms, led ^is in off mode when device do nothing. And led connect...
Hi I really confuse that how to write coding on sending sms when press p1^3 button in AT COMMAND by using c language???
I connect Gsm modem with AT89C51 (MCU), all set up already .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.