PiPhone icon indicating copy to clipboard operation
PiPhone copied to clipboard

Fona 3g

Open oaf2015 opened this issue 8 years ago • 20 comments

After running the piphone.py file, I could see the keypad but nothing happens on putty after main loop. Line 312 to be exact. Any recommendations?

oaf2015 avatar Mar 22 '17 21:03 oaf2015

Did the calibration test work for the touch screen?

joeblankenship1 avatar Mar 24 '17 04:03 joeblankenship1

Yes it did. I am able to put in numbers, delete, and even hit call but nothing happens. On the terminal while logged in ssh I see an error right at the calling line on mainloop.

On Mar 24, 2017 12:26 AM, "Joe Blankenship" [email protected] wrote:

Did the calibration test work for the touch screen?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-288930426, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GPOKcpLxTpdm0iX2UbJWpekY7ak0ks5ro0XsgaJpZM4Ml2-8 .

oaf2015 avatar Mar 24 '17 15:03 oaf2015

I am wondering if it has anything to do with AT commands and having to preconfigure the fona 3G prior to finalizing it with raspberry pi 3.

On Mar 24, 2017 11:58 AM, "john smith" [email protected] wrote:

Yes it did. I am able to put in numbers, delete, and even hit call but nothing happens. On the terminal while logged in ssh I see an error right at the calling line on mainloop.

On Mar 24, 2017 12:26 AM, "Joe Blankenship" [email protected] wrote:

Did the calibration test work for the touch screen?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-288930426, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GPOKcpLxTpdm0iX2UbJWpekY7ak0ks5ro0XsgaJpZM4Ml2-8 .

oaf2015 avatar Mar 24 '17 16:03 oaf2015

use minicom to talk to the FONA, and issue a few AT commands, try dialling a number "ATDT..." etc.. The SIM may be blocked, you might need to enter a PIN code. There's an AT code for that, I think. I seem to recall having to do that for one of my SIMs but nor all of them.

climberhunt avatar Mar 24 '17 17:03 climberhunt

Sim is not locked. ATD plus number. Do you have an example of the complete calling command. Minicom talks fine with fona no issues there

On Mar 24, 2017 1:00 PM, "Dave Hunt" [email protected] wrote:

use minicom to talk to the FONA, and issue a few AT commands, try dialling a number "ATDT..." etc.. The SIM may be blocked, you might need to enter a PIN code. There's an AT code for that, I think. I seem to recall having to do that for one of my SIMs but nor all of them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-289081313, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GHUuFKFvL0Gs81d-KNUnEMPnj_B7ks5ro_aZgaJpZM4Ml2-8 .

oaf2015 avatar Mar 24 '17 17:03 oaf2015

I'm afraid I haven't had a functioning PiPhone here for the last couple of years, my Fona module is in my front gates to open/close them, so I can't test it....

climberhunt avatar Mar 25 '17 09:03 climberhunt

So don't even try it?

On Mar 25, 2017 5:57 AM, "Dave Hunt" [email protected] wrote:

I'm afraid I haven't had a functioning PiPhone here for the last couple of years, my Fona module is in my front gates to open/close them, so I can't test it....

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-289201771, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GF7knSmROEmN7luy_kBEJuMa4IySks5rpOUJgaJpZM4Ml2-8 .

oaf2015 avatar Mar 25 '17 15:03 oaf2015

@oaf2015 I still have my PiPhone built, but I'm currently slammed with work projects. Did you need this test ran for work or for hobby? If it's work related, I'll try to get to it this week.

joeblankenship1 avatar Mar 27 '17 14:03 joeblankenship1

Work.

On Mar 27, 2017 10:11 AM, "Joe Blankenship" [email protected] wrote:

@oaf2015 https://github.com/oaf2015 I still have my PiPhone built, but I'm currently slammed with work projects. Did you need this test ran for work or for hobby?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-289465388, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GMGC-h9DEooPNNSLUYlqbsEdPRlOks5rp8OJgaJpZM4Ml2-8 .

oaf2015 avatar Mar 27 '17 22:03 oaf2015

I really appreciate your help. I have gone through and attempted to identify AT commands comparisons but found none. I did have to change the serial.port to ttyS0 and it is communicating good. My sticking point right now is the fact that it is incapable of delivering the call or receive calls. On putty I see an error when I attempt to make a call. On the device (pitft) it says calling....

On Mar 27, 2017 6:40 PM, wrote:

Work.

On Mar 27, 2017 10:11 AM, "Joe Blankenship" [email protected] wrote:

@oaf2015 https://github.com/oaf2015 I still have my PiPhone built, but I'm currently slammed with work projects. Did you need this test ran for work or for hobby?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-289465388, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GMGC-h9DEooPNNSLUYlqbsEdPRlOks5rp8OJgaJpZM4Ml2-8 .

oaf2015 avatar Mar 27 '17 22:03 oaf2015

I will test my PiPhone ASAP to validate your issues. I don't think I was able to receive calls; I was only ever able to dial out. I just hope I still have minutes on my SIM.

joeblankenship1 avatar Mar 28 '17 13:03 joeblankenship1

Thank you.

On Mar 28, 2017 9:19 AM, "Joe Blankenship" [email protected] wrote:

I will test my PiPhone ASAP to validate your issues. I don't think I was able to receive calls; I was only ever able to dial out. I just hope I still have minutes on my SIM.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-289766796, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GGS3S4W5Yi6ltGJhgvMWyWlA7COPks5rqQjdgaJpZM4Ml2-8 .

oaf2015 avatar Mar 28 '17 20:03 oaf2015

@oaf2015 I haven't forgot about you; I've just been really busy. Hopefully, you've already found a solution.

joeblankenship1 avatar Apr 08 '17 03:04 joeblankenship1

No, not yet. I appreciate. I am getting back on it Monday.

On Apr 7, 2017 11:55 PM, "Joe Blankenship" [email protected] wrote:

@oaf2015 https://github.com/oaf2015 I haven't forgot about you; I've just been really busy. Hopefully, you've already found a solution.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-292692811, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GJcfThTT8nQjSMNnqTxXWHWiwDYGks5rtwVMgaJpZM4Ml2-8 .

oaf2015 avatar Apr 08 '17 21:04 oaf2015

I'm trying to do this project for my senior project class and i keep getting an error that says List index out of range, what can I do to fix this?

Ericka430 avatar Apr 21 '17 03:04 Ericka430

Can you show more of the error message?

On Thu, Apr 20, 2017, 11:59 PM Ericka430 [email protected] wrote:

I'm trying to do this project for my senior project class and i keep getting an error that says List index out of range, what can I do to fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-296049378, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUv0H2eES7EodDHDYIuG_U-FQzVo4usks5ryCmggaJpZM4Ml2-8 .

Ciemaar avatar Apr 21 '17 09:04 Ciemaar

fullsizerender

The last line is line 255

img_1674

This is the error message that I get, (IndexError: list out of range)if possible could you please help me out.

Ericka430 avatar Apr 21 '17 12:04 Ericka430

I was having this same error message when I was using an external monitor, I had to connect the pitft 2.8" monitor and call the piphone.py from the small screen and the program started.

rimomcosta avatar Apr 29 '17 08:04 rimomcosta

I could never get it working. Moved on to a different project and gave up on this.

On Apr 29, 2017 4:42 AM, "Rimom Aguiar" [email protected] wrote:

I was having this same error message when I was using an external monitor, I had to connect the pitft 2.8" monitor and call the piphone.py from the small screen and the program started.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/climberhunt/PiPhone/issues/2#issuecomment-298156179, or mute the thread https://github.com/notifications/unsubscribe-auth/AUG5GF-wQbGdS01jklrWm8CbYf4e2yf7ks5r0vfhgaJpZM4Ml2-8 .

oaf2015 avatar Apr 30 '17 16:04 oaf2015

If you get the program working, (keypads on) but when you dial, nothing happens, my solution: I used "USB to UART" cable to talk to fona. But in pyphone.py code, "serialport = serial.Serial("/dev/ttyAMA0", 115200, timeout=0.5)" this line, I changed ttyAMA0 to ttyUSB0, and the program was able to talk.

Mtaganov avatar Aug 02 '17 00:08 Mtaganov