EmbeddedRelated.com
Forums

Re: Hardware vs software interrupt vectors

Started by Bill Auerbach December 15, 2009
You can connect the phone to a serial port (UART) and talk to it with AT
commands.

Google is your friend here.

/Ruben

> Hi Group,
> I have a couple ofquestions aboutthe HC12 controller.
>
> 1) Can we connect a cell phone to HC 12 controller
> 2) Then pass command back and forth between the cell phone and HC12
> 3) Has any one done a project in which you can pass a message to a cell phone
> connected to the HC 12 controller and depending on the message or number the
> output of the controller will be a 0 0r 1.
>
> Any information on the above related questing will be greatly appreciated.
>
> Thanks!
>
> Mahesh Suddhala
>
>
>
>
>
>
Hi Ruben,
                  Thanks for your reposne.
 
I never used AT commands in the HC 12 compiler. I wonder if I can use AT commands in C program. Would you know any website or book which can help me enhance my knowledge on At commands and help me use it with HC 12.
 
I am searching in google and trying to learn more about AT commands.
 
Thanks!

--- On Wed, 12/30/09, Ruben Jönsson wrote:
From: Ruben Jönsson
Subject: Re: [68HC12] Can we connect a cell phone to hc12
To: 6...
Date: Wednesday, December 30, 2009, 2:53 AM
 

You can connect the phone to a serial port (UART) and talk to it with AT
commands.

Google is your friend here.

/Ruben

> Hi Group,
>                I have a couple of questions about the HC12 controller.
>  
> 1) Can we connect a cell phone to HC 12 controller
> 2) Then pass command back and forth between the cell phone and HC12
> 3) Has any one done a project in which you can pass a message to a cell phone
> connected to the HC 12 controller and depending on the message or number the
> output of the controller will be a 0 0r 1.
>  
> Any information on the above related questing will be greatly appreciated.
>  
> Thanks!
>  
> Mahesh Suddhala
>  
>
>
>
>
>
>
>
>
> ------------ --------- --------- ------
>
>
Hi, Mahesh

Use AT commands is not a compiler problem.
The soft problem is to be able to transmit (and maybe to receive) on a
serial port.

If you use CodeWarrior, you can ask the compiler to do that, but I can't say
anymore, because I don't use it (too expensive).

In other case, you have to write your own serial port driver, that means
write "putchar" function depending on what serial port you use...
When you have done this, you just have to send commands to your putchar or
puts function.
I've posted a couple of months (years ?) ago a serial driver on this site.

So, for me, under ImageCraft ICC12, I wrote
- my own "putchar" function
- so, printf, puts automatically use MY putchar

I think in fact the main difficult is WHERE to connect the serial port
(Transmit, Receive, GND) to the cell phone, and to know the speed of the
transmission. The remaining is easy.

Hope this helps.
Joel

-----Message d'origine-----
De: 6... [mailto:6...] De la part de
mahesh suddhala
Envoy mercredi 30 dembre 2009 09:08
: 6...
Objet: Re: [68HC12] Can we connect a cell phone to hc12

Hi Ruben,
Thanks for your reposne.

I never used AT commands in the HC 12 compiler. I wonder if I can use AT
commands in C program. Would you know any website or book which can help me
enhance my knowledge on At commands and help me use it with HC 12.

I am searching in google and trying to learn more about AT commands.

Thanks!

--- On Wed, 12/30/09, Ruben Jsson wrote:
From: Ruben Jsson
Subject: Re: [68HC12] Can we connect a cell phone to hc12
To: 6...
Date: Wednesday, December 30, 2009, 2:53 AM


You can connect the phone to a serial port (UART) and talk to it with AT
commands.

Google is your friend here.

/Ruben

> Hi Group,
> I have a couple ofquestions aboutthe HC12 controller.
>
> 1) Can we connect a cell phone to HC 12 controller
> 2) Then pass command back and forth between the cell phone and HC12
> 3) Has any one done a project in which you can pass a message to a cell
phone
> connected to the HC 12 controller and depending on the message or number
the
> output of the controller will be a 0 0r 1.
>
> Any information on the above related questing will be greatly appreciated.
>
> Thanks!
>
> Mahesh Suddhala
>
>
>
>
>
>
>
>
>
> ------------ --------- --------- ------
>
>