RasithaGamage / Raspberrypi_SIM900

Generate automatic voice calls with a Raspberry pi and SIM900 GSM module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberrypi_SIM900

Generate automatic voice calls with Raspberry pi and SIM900 GSM module

USED COMPONENTS

  • Raspberry Pi 3
  • SIM900 Arduino GSM shield
  • USB TTL converter (CH340G)
  • AUX cable
  • Setting up hardwares
  • USB TTL converter is used to transmit data between RPI3 and SIM900
  • Audio OUT of the RPI3 is connected to Audio IN of SIM900
  • Install minicom and check the GSM module with some ATcommands to ensure the right connection
    1. sudo apt-get install minicom
    2. Enable CLCC
      • AT+CLCC=1
    3. making a call
      • AT
      • ATD +9471XXXXXXX;
    Configuring RPI3
  • sudo apt-get install mpg321
  • sudo pip install pathlib
  • sudo pip install gTTS
  • sudo apt-get install alsa-utils
  • sudo apt-get install alsa-oss
  • How to run python program
  • Change directory to the location where python script exists
  • Run: sudo python call.py +9471XXXXXXX "your message"


  • Note: Voice was too noisy at first, as the solution, GSM module powered using an external power supply. Then ground pin of GSM module is connected to RPI ground and eventually annoying noise got removed.

    About

    Generate automatic voice calls with a Raspberry pi and SIM900 GSM module


    Languages

    Language:Python 100.0%