Hot answers tagged

8 votes
Accepted

Sending and receiving SMS via a huawei 3g Dongle E220

You could use a command line utility Gammu. Check out http://wammu.eu/gammu/ Or you can follow this tutorial to interface with the modem directly to send and receive sms on your Raspberry Pi: http://...
user avatar
  • 336
5 votes
Accepted

Is there a way to attach multiple serial port devices to a single raspberry pi?

You could: utilize a couple of USB to serial adapters like this one. you could use a microcontroller that has multiple serial ports (e.g. arduino mega) to gather the data and transfer it to the Pi, ...
user avatar
4 votes
Accepted

SIM900A with Raspberry Pi 3 Weird Error and Behaviour

This seems to be a rather basic issue: your system is configured to provide a login shell (and possibly kernel boot messages) over the UART. You need to disable it in order to use the serial for your ...
user avatar
4 votes
Accepted

SMS Gateway project using ZTE MF920V 4G MiFi modem

If the content of the message comprises only characters 0-9 A-F then the message is in all likeliness encoded in hexadecimal. If you copy and paste the message payload into a utility that translate ...
user avatar
  • 637
4 votes

How can Rpi connect to a GSM Module and send SMS messages?

This looks like the SIM800 GSM chip. This needs to be connected to the serial port (UART) on the Raspberry Pi (make sure that the voltage levels on the SIM 800 and RPi pins are the same or you'll end ...
user avatar
  • 41
3 votes

connect Raspberry pi 3 to internet via GSM module

It is my belief that modules like the SIM900a are intended to enable a device (Pi in this case) to connect to a remote machine, pull or push some data over mobile networks (2G/3G etc). To do that the ...
user avatar
3 votes
Accepted

How to use internet using PPPD and SIM800 GSM addon?

The link to the tutorial you posted answers your second question for automating the connection. Edit the /etc/network/interfaces file by executing: sudo nano /etc/network/interfaces Then add the ...
user avatar
3 votes

How to start communication between pi and GSM add-on V2.0

If you use a recent version of raspi-config, you will find there is an option to prevent taking over the serial port as a console. Then it is free for you to use as a regular serial port https://www....
user avatar
  • 11.8k
3 votes

Remote Control a Raspberry Pi (currently behind a restricted wifi network)

I had to do something similiar for a project, where either restricted Wlan or a 3G Stick was used to connect to the internet. The magic to connect in such networks is that connections to the pi are ...
user avatar
3 votes

GSM/GPRS & GPS Expansion

The circuit quite clearly shows that it runs off 5V. It also appears to have provision for external power. The link is quite old (it was obviously designed for a Model B) and the Pi has changed since....
user avatar
  • 54.2k
3 votes

How do I reset a USB device using a script?

You can use pyusb to reset a device: First install pyusb: sudo pip install pyusb Then create this script and run it: #!/usr/bin/python from usb.core import find as finddev dev = finddev(idVendor=...
user avatar
3 votes
Accepted

Sim900 arduino shield on Raspberry

First of all, of course it is usable with the raspberry pi. This module communicates over the serial connection UART (raspberry pi gpio14/15) and i worked with different modules with raspberry pi and ...
user avatar
  • 350
3 votes
Accepted

Why can't I hear the sounds when making a call?

If you're trying to make a call using ATD, ATA or ATS0 commands, bear in mind that these commands instruct the modem to make a call using its own audio inputs/outputs. They will work as expected if ...
user avatar
2 votes

Which GSM modules can be used with a raspberry pi?

You can buy a GPRS/GSM module for the Pi called the SIM900, from this website. It is also compatible with Arduino and Intel Galileo. The same website also includes very detailed instructions to get ...
user avatar
  • 4,095
2 votes
Accepted

How do I reset a USB device using a script?

i made a simple bash script for reset particular USB device. #!/bin/bash #type lsusb to find "vendor" and "product" ID in terminal set -euo pipefail IFS=$'\n\t' #edit the below tow ...
user avatar
  • 336
2 votes

When raspberry pi is connected via ethernet cable and wifi?

If a system has more than one active network interface, it is expected to get an IP for each one. Now, which one is used when you do a network operation, depends on you routing configuration. Take a ...
user avatar
2 votes
Accepted

Need help with interfacing SIM 900A module Python code for RPi 2

The port /dev/ttyAMA0 on the raspberry pi 3 maps to the bluetooth and to the standard serial port on the others Assuming you have used the default raspbian image, you will first need to disable the ...
user avatar
2 votes

Gather data in rural areas

Adafruit.com sells the Adafruit RFM95W LoRa Radio Transceiver Breakout - 868 or 915 MHz for $20. They can easily go 2 Km line of sight using simple wire antennas, or up to 20Km with directional ...
user avatar
2 votes

Sim800 not responding to AT commands

After reading the datasheets a little more thoroughly the module I am using requires 5v in but the logic levels are only 3.3v which I guess makes sense. After hooking TX directly up to the PI it ...
user avatar
2 votes

How to connect GSM SIM800L with RaspberryPi?

This part: SIM800l RPi GPIO 5VIN 2 GND 39 suggests that you're powering your GSM modem via your RPi. Don't do that! SIM800 can consume up to 2A during transmission, and your RPi doesn't have ...
user avatar
2 votes

Sending and receiving SMS via a huawei 3g Dongle E220

You can have a look at this tutorial as well: Turning the Raspberry Pi into a SMS Center using Python
2 votes
Accepted

Internet access with SIM900A very slow on Raspberry Pi

I have several of these SIM9000A modules. The problem with the slow ping is a bit strange? It should be less than 1 second, even more like 100ms. The other problem is this module only supports ...
user avatar
  • 17.1k
2 votes

Using Mobile WiFi Router as GSM Modem

I never tried said router before but I did make it work with a Huawei Mobile Broadband E153 dongle. Setting up a USB 3G/4G modem on a Raspberry Pi is not a simple task, at least not for me. It took ...
user avatar
2 votes

Serial Communication in Raspberry pi 3 B+

When you write "\n" in a C program, the compiler replaces it with a single character. The \ is called an 'escape', and it gives a special meaning to the character following it -- in this case the n. ...
user avatar
  • 1,283
2 votes

How do I connect GSM SIM 900A to a Raspberry Pi 3?

You have everything correct, you are just missing the modes. Think of it like different shells, each with their own AT commands. PDU and text mode is where you will probably spend most of your time. ...
user avatar
2 votes
Accepted

Module 3G/4G USB for Raspberry Pi 3 Model B

Please refer to the section on the elinux page here for the list of 3G/4G adapters which other people have tested with the Pi. I think most of the 3G/4G SIM cards would work with the adapters ...
user avatar
  • 399
2 votes
Accepted

Waveshare GSM/GPRS/GNSS HAT not connecting to Cellular network

I have this same HAT and I've just gotten it working. Here's an overview that may help. Ensure both jumpers are set to setting 'A' for USB operation Test connection to the device by connecting a ...
user avatar
2 votes
Accepted

Response to a incoming call using python script

Question How to talk to SIM800 module using python serial byteArray data type? Answer (1) Try my first demo program to clarify between the two python data types: (a) string, (b) byteArray,...
user avatar
  • 4,304
2 votes

Running as a Web Server

With most providers you will get a private IP address, usually one like 10.x.y.z. This is not reachable from the internet. That is not necessarily to stop people from doing what you want to do, but to ...
user avatar
  • 2,160
2 votes
Accepted

Running as a Web Server

There are answers and comments addressing the question of why this probably isn't working and why it may not be workable as you're doing it now. Regarding the part of your question about how to work ...
user avatar
  • 1,357

Only top scored, non community-wiki answers of a minimum length are eligible