Interfacing a Prop with a CDMA cell phone
Jonathan
Posts: 1,023
Hi All,
Since this question doesn't really fit into the previous thread about the Motorola cell phone, I thought I'd start a new thread, hope that is OK.
I'm trying to get a Kyocera K126C to talk to a Prop for a remote alarm system. This guy keeps breaking through the gate of my remote property and stealing logs, cutting down trees and wrecking my road. The sherrif says I need to catch him in the act, hence the remote alarm.
Working with Jay's code and my own, I find the following:
The phone will echo anything I send to it, up to 28.8 baud. After that it hangs.
It always reflects only what I send it, I never see an "OK" or anything other than what I send it.
It doesn't matter if I idle high or low, it always echos.
It doesn't matter which pin I set as in or out, it always echos.
The echos have no delay that I can see using my Parallax scope, I guess it's too slow.
I am using the headphone plug like Jay.
I would give up, except that it seems like I must be getting *something* going, since it only echos up to 28.8 baud and then hangs. Perhaps this phone doesn't do modem commands. I have looked and looked, have called Kyocera and can't find anything about the phone. The only thing I see is that one can buy a comm cable for it to retrieve contacts and ringtones. While I can't find a picture of one, it must go in the headphone jack, as there is no other port.
And, the dang thing uses a tri-screw, which I don't have a screwdriver for. If I can get it apart, perhaps I can interface directly with the keypad using transistors.
TIA,
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Since this question doesn't really fit into the previous thread about the Motorola cell phone, I thought I'd start a new thread, hope that is OK.
I'm trying to get a Kyocera K126C to talk to a Prop for a remote alarm system. This guy keeps breaking through the gate of my remote property and stealing logs, cutting down trees and wrecking my road. The sherrif says I need to catch him in the act, hence the remote alarm.
Working with Jay's code and my own, I find the following:
The phone will echo anything I send to it, up to 28.8 baud. After that it hangs.
It always reflects only what I send it, I never see an "OK" or anything other than what I send it.
It doesn't matter if I idle high or low, it always echos.
It doesn't matter which pin I set as in or out, it always echos.
The echos have no delay that I can see using my Parallax scope, I guess it's too slow.
I am using the headphone plug like Jay.
I would give up, except that it seems like I must be getting *something* going, since it only echos up to 28.8 baud and then hangs. Perhaps this phone doesn't do modem commands. I have looked and looked, have called Kyocera and can't find anything about the phone. The only thing I see is that one can buy a comm cable for it to retrieve contacts and ringtones. While I can't find a picture of one, it must go in the headphone jack, as there is no other port.
And, the dang thing uses a tri-screw, which I don't have a screwdriver for. If I can get it apart, perhaps I can interface directly with the keypad using transistors.
TIA,
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Comments
Perhaps Kyocera K126c does NOT support AT commands at all and the headphone jack is for TTY use only (see Kyocera's manual and link below)?
http://www.t-mobile.com/Company/Community.aspx?tp=Abt_Tab_Safety&tsp=Abt_Sub_TTYPolicy
From what you described I suspect that the TTY/headset jack somehow jumpers both Tx and Rx signal paths, so when you type AT you gonna see the echoed AT back and duplicated as AATT - am I correct? The same you can observe when connecting together Tip and Ring of your "communication" headphone plug·
Post Edited (john_s) : 12/2/2008 10:52:56 PM GMT
Jay, no continuity between RX/TX on the cable, so that part was OK. I just don't think it does it. Of course, I'll find out it can after I solder up all the bloody transistor and write klunky macro style code to send messages. :0 But hey, if I catch the guy, I'll be well pleased.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
www.sparkfun.com/commerce/product_info.php?products_id=560
The property is located about 2 miles away from where I live. I could have done a modem, but the phone and airtime were around $25, so this is a cheap way to go. Don't want a camera, he works at night mostly and he would see the flash. Just knowing that he has gone through the gate is enough, I'll go and block the driveway with my truck and call the sheriff.
Now to get it all in a waterproof container and catch me a dirtbag! This guy has cost me a lot (to me) of money, and also started a fire on a nearby property, so I sooooo hope he tries it again!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Please let us know how the hunt goes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's Only A Stupid Question If You Have Not Googled It First!!