element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum 3G for Raspberry PI3
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 5 replies
  • Answers 4 answers
  • Subscribers 678 subscribers
  • Views 1062 views
  • Users 0 members are here
  • mobile access
  • raspberry_pi
  • raspberry pi 3
  • 3g
  • mobile data network
Related

3G for Raspberry PI3

tonnyvivas
tonnyvivas over 9 years ago

Hello, I'm trying to build a project that will let me connect to my raspberry PI3 remotetly via mobile data network, so I'm looking for a 3G dongle for my raspberry pi 3.

Does anybody have a suggestion on which 3g dongle to get?

Thank you very much for your help...

  • Sign in to reply
  • Cancel
Parents
  • rew
    0 rew over 9 years ago

    Most of the 3G dongles work with Linux. They usually emulate a com port, and you are supposed to use "ppp" over that comport.
    The "modemmanager" program can handle that.

    Also, many emulate a "small cdrom drive". There they store the drivers for the module for windows. You often need to switch them using a special command into "com port" mode. Of course the windows driver knows how to do that. Under Linux the exact commands need to be figured out by someone. Many modes are already supported. If you are afraid dubblecheck the supported modems with modemmanager.

     

    Then, once  your pi is up-and-running, the mobile provider will probably have just a few IP addresses for thousands of clients. This means that your pi will be assigned a private IP address: You cannot connect to that IP address from outside. So if it is not enough for your pi to simply report to "the internet" what it has measured, then you will have to set up a tunnel. I don't know if there are "services" for this. I have set up a tunnel from my pi-in-the-field to a server I already had. But hiring a cheap VPS does not cost more than about $5 or $10 a month.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • rew
    0 rew over 9 years ago

    Most of the 3G dongles work with Linux. They usually emulate a com port, and you are supposed to use "ppp" over that comport.
    The "modemmanager" program can handle that.

    Also, many emulate a "small cdrom drive". There they store the drivers for the module for windows. You often need to switch them using a special command into "com port" mode. Of course the windows driver knows how to do that. Under Linux the exact commands need to be figured out by someone. Many modes are already supported. If you are afraid dubblecheck the supported modems with modemmanager.

     

    Then, once  your pi is up-and-running, the mobile provider will probably have just a few IP addresses for thousands of clients. This means that your pi will be assigned a private IP address: You cannot connect to that IP address from outside. So if it is not enough for your pi to simply report to "the internet" what it has measured, then you will have to set up a tunnel. I don't know if there are "services" for this. I have set up a tunnel from my pi-in-the-field to a server I already had. But hiring a cheap VPS does not cost more than about $5 or $10 a month.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • balearicdynamics
    0 balearicdynamics over 9 years ago in reply to rew

    I think that you should focus you attention on the Huawei USB dongle. It is a model hat has been adopted by many different carrier (Vodafone, G3, TIM and Telstra for sure, probably some USA carriers too). There are many models and due its large diffusion and adoption it is also available as non-dedicated module. It works with Ubuntu and many Debian platforms and I don't see reasons that it should not work on the Raspbian too. Below some links that can be helpful for you:

     

    Raspberry Pi as a 3g (Huawei E303) wireless (Edimax EW-7811Un) router

    https://www.raspberrypi.org/forums/viewtopic.php?f=46&t=38392

    raspbian - Sending and receiving SMS via a huawei 3g Dongle E220 - Raspberry Pi Stack Exchange

    https://shkspr.mobi/blog/2012/07/3g-internet-on-raspberry-pi-success/

     

    Instead if you need a more sophisticated project totally under control of your hardware you can buy just a 3G data module that with very few wiring and soldering can be connected directly to the Raspberry PI board via the serial UART and has a wide set of AT comands to control it. The SIM800 module can be found on the market for less than 15$ and I am using it for my project Hugo based on the PSoC4 micro controller.

     

    https://techship.se/products/simcom-sim800c-gsm-smt/

     

    For this module exists many breakout boards for prototyping. The image below shows my prototype version of the Hugo project

     

    image

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube