author

EE_Rob

Inbox View Profile
6Comments

Tell us about yourself!

  • If anyone is having problems getting wvdial to dial correctly (ie you fail to connect to the internet) you may need to add a line to the wvdial.conf file. I am using straight talk here in the US and in order for it to work I had to add the following line after Init2 Init3= AT+CGDCONT=1,"IP","tfdata","",0,0The "tfdata" is the access point name for straight talk, as can be found here.https://zoomtel.zendesk.com/hc/en-us/articles/212403243-Mobile-broadband-service-provider-settingsHope that helps.

    View Instructable »
  • Has anyone been able to send an SMS using the API yet? Not really sure where to find information on how to do it.

    View Instructable »
  • So auto power up is actually pretty simple if you don't mind adding a little micro controller in your box. what you do is solder some wires to the resistors next the buttons, use a DMM to figure out which side is directly connected to the switch. Then you just write a quick sketch for the Arduino if that is what you want to use which does this every time it boots up:pseudo code:Void setupdigital pins for almost all arduinos default to lowDigital write the modem switch pin high for 250ms Digital write the modem switch pin lowwait 10 seconds for the modem to boot upDigital write the pi pwr button high for 250msDigital write the pi power switch pin lowNote that the modem needs at least 10 seconds to fully boot up and connect to the network, if you don't allow 10 seconds before turning on the…

    see more »

    So auto power up is actually pretty simple if you don't mind adding a little micro controller in your box. what you do is solder some wires to the resistors next the buttons, use a DMM to figure out which side is directly connected to the switch. Then you just write a quick sketch for the Arduino if that is what you want to use which does this every time it boots up:pseudo code:Void setupdigital pins for almost all arduinos default to lowDigital write the modem switch pin high for 250ms Digital write the modem switch pin lowwait 10 seconds for the modem to boot upDigital write the pi pwr button high for 250msDigital write the pi power switch pin lowNote that the modem needs at least 10 seconds to fully boot up and connect to the network, if you don't allow 10 seconds before turning on the Pi the auto connect code you added in the steps above will not work. If you purchase a 3.3V micro controller than you can literally solder the wires from the micro digital pins to the button resistors on the piAnywhere. If you use a 5V micro then you will need to use a logic level converter like the one offered on spark fun P# BOB-12009.Please note that soldering onto the piAnywhere could cause damage if you don't know what you are doing, so do the above at your own risk. As you probably guessed from the sketch above the modem and the pi pwr buttons go high when you press them, and are low otherwise. Soldering onto the side of the resistor that is directly connected to the button is very important, otherwise if you solder onto the ground side of the resistors you will short the microcontroller digital pin to ground. One final note, you must tie the ground on the PiAnywhere to the Arduino ground so that they are at the same reference level. This is done by simply running a wire from the piAnywhere header (they have the same pinout as the Pi it plugs into) to the Arduino GND pin. So basically you just need a GND wire, a wire for the modem power, and a wire for the Pi Power that go between the PiAnywhere and the Arduino. I've been using this method to turn on the modem and Pi remotely for a few weeks now without any issues.

    View Instructable »
  • So I finally got my modem working. A few things.First I just use my t-mobile unlimited sim card, I also bought a pure internet sim card (just data like what you would buy for a tablet) and that did not work. The normal cell phone sim worked, while the internet sim did not. Second, the command sudonano /home/pi/Pianywhere_Install/wvdial.conf should be sudo nano /home/pi/PiAnywhere_Install/wvdial.conf (notice the capitalized A), but even with that the file was empty, I used the image provided by piAnywhere, so not sure why this was empty. So I just ran sudo nano /etc/wvdial.conf and that file had the dialer defaults as seen above. I changed the *99# to my phone number ##########, and then after saving ran sudo wvdial. This resulted in the No Carrier error again and again.So I went back into…

    see more »

    So I finally got my modem working. A few things.First I just use my t-mobile unlimited sim card, I also bought a pure internet sim card (just data like what you would buy for a tablet) and that did not work. The normal cell phone sim worked, while the internet sim did not. Second, the command sudonano /home/pi/Pianywhere_Install/wvdial.conf should be sudo nano /home/pi/PiAnywhere_Install/wvdial.conf (notice the capitalized A), but even with that the file was empty, I used the image provided by piAnywhere, so not sure why this was empty. So I just ran sudo nano /etc/wvdial.conf and that file had the dialer defaults as seen above. I changed the *99# to my phone number ##########, and then after saving ran sudo wvdial. This resulted in the No Carrier error again and again.So I went back into the wvdial.conf file and change the phone = line back to *99# and after saving I again ran sudo wvdial and this time the modem connected almost immediately. I tried to use the internet browser on my Pi , but nothing seemed to load. So after exiting using cntrl+c I tried unplugging the wifi dongle I had plugged in and executing the sudo wvdial again, this resulted in the browser working.So if you are having some trouble try some of those hints. Hope it helps.

    View Instructable »
  • Got the hardware setup today and was getting the same error as a couple other comments "Error bad init". After flipping the Sim around that fixed the error bad init problem. Now I'm just getting a NO CARRIER over and over. Not sure why. I'm just using my T-Mobile SIM, so maybe that is why. Anyone have a list of carriers/plans that are currently working with this modem in the US?

    View Instructable »