climberhunt / PiPhone

PiPhone - A DIY cellphone based on Raspberry Pi
Other
423 stars 96 forks source link

Fona 3g #2

Open oaf2015 opened 7 years ago

oaf2015 commented 7 years ago

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?

joeblankenship1 commented 7 years ago

Did the calibration test work for the touch screen?

oaf2015 commented 7 years ago

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" notifications@github.com 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 commented 7 years ago

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" oaf2015@gmail.com 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" notifications@github.com 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 .

climberhunt commented 7 years ago

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.

oaf2015 commented 7 years ago

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" notifications@github.com 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 .

climberhunt commented 7 years ago

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....

oaf2015 commented 7 years ago

So don't even try it?

On Mar 25, 2017 5:57 AM, "Dave Hunt" notifications@github.com 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 .

joeblankenship1 commented 7 years ago

@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.

oaf2015 commented 7 years ago

Work.

On Mar 27, 2017 10:11 AM, "Joe Blankenship" notifications@github.com 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 commented 7 years ago

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" notifications@github.com 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 .

joeblankenship1 commented 7 years ago

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.

oaf2015 commented 7 years ago

Thank you.

On Mar 28, 2017 9:19 AM, "Joe Blankenship" notifications@github.com 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 .

joeblankenship1 commented 7 years ago

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

oaf2015 commented 7 years ago

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

On Apr 7, 2017 11:55 PM, "Joe Blankenship" notifications@github.com 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 .

Ericka430 commented 7 years ago

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?

Ciemaar commented 7 years ago

Can you show more of the error message?

On Thu, Apr 20, 2017, 11:59 PM Ericka430 notifications@github.com 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 .

Ericka430 commented 7 years ago

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.

rimomcosta commented 7 years ago

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.

oaf2015 commented 7 years ago

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" notifications@github.com 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 .

Mtaganov commented 7 years ago

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.