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.
Just go through the AT commands manual. There you can easily find the commands for all the tasks that are done by the GSM modem.
You can connect it to the PC and use Hyperterminal(Win XP)/ Teraterm (Win 7).
The command for sending SMS is AT+CMGS
For calculating this you can just observe the dis assembly in any compiler and based on the instruction you can find out that the delay will be approximately 250ms.
Interfacing a 4-bit mode LCD is pretty simple.
You can refer this Link
And the EEPROM and RTC can be interface to the controller by using the I2C protocol.
Re: where to use malloc() and calloc in controller programming
malloc() and calloc() are the function which can be ued to allocate memory during run-time. Mainly both the functions do the same job i.e. reserving the requested memory bytes and returning a pointer to that reserved memory with...
Controller is selected on the basis of the features you need. But if you just want to have a basic GSM module interfaced with not so sophesticated facilities then even an 8051 is enough.
What kind of error with insmod. So how to solve that..?
Also if I use printk messages then the log messages are delivered correctly. "Device node created success" etc.....
Why use fgets for 1st time and scanf for the 2nd time..?
To clear the Input buffer there are functions like fflush or __fpurge. Try those.
while(*a)
{
if(*a==' ')
{
a++;
b[i++][j]='\0';
j=0;
continue;
}
b[i][j++]=*a;
a++;
}
b[i][j]='\0';
Secondly I guess you are just separating all the words...
Its the problem of flushing out the STDIN buffer. STDIN is a line buffer i.e. it will flush its data only when a newline is encountered.
First when you scan the string, it will wait for user input till the user presses newline(Enter key), hence the STDIN will flush out data and that will be...
Thanx for answering..
I have used the same method and tried a lot of "googling" about this, but in vain.
I have to use mknod, don't know why..?
I have 2 drivers, one which will successfully creating the dev entry, but my driver with the similar flow of coding and functions is not creating the...
High input impedance is better, so that it will not load the circuit to which it is connected.
Low output impedance is preferred so that the circuit can drive more circuits.
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.