i need to convert a analog signal using adc0808 and then send the data to the serial out of the 8051 in order to transmit it to the gprs modem. i tink i hav to use ATcommands. Can anyone guide me on how to do this? I don't kno much about the uC so any info u may have please share
"i tink i hav to use ATcommands."
Yes, you do.
But note that GPRS is a Packet-based link; so, once the link is established, you will then need to use a suitable packet protocol - most likely IP. See the modem Manual for details.
"Can anyone guide me on how to do this? I don't kno much about the uC"
Dealing with AT Commands has nothing specifically to do with the uC - AT Commands work exactly the same whether you use a uC, or enter them manually on a terminal, or use some PC software, etc, etc,...
So you first step is to learn how to do serial comms on the uC - there are plenty of examples on this site and elsewhere. See also: www.8052.com/.../120308 in fact, http://www.8052.com/faqs has a whole section on 8051 Serial Comms.
See also: www.8052.com/.../161553
thank for your advice Andy; what about if i was to use a pic18f452 instead? it has a built-in 10-bit ADC that stores the result in a 16-bit register. Are u familiar with this uC? If so could you shed some light?
As I said, it makes absolutely no difference whatsoever to the AT commands - or any other interaction with the modem!
However, it does obviously become strictly off-topic for this Keil forum, doesn't it?!
I guess u rite... Sorry for any inconvience caused. I'll let you know if i get through and thanks again for the info...