GithubHelp home page GithubHelp logo

nadhat's Introduction

Welcome to NadHat.

Introduction

NadHat is a GSM/GPRS modem extension hat for raspberry pi. It's pi zero hat format compatible (30x65mm). It uses the well known SIM800C module to offer a low cost M2M communication interface.

You'll find in this deposit schematics, datasheets and application notes, some pieces of software written in python and more in the future.

You can also follow nadhat google+ collection : https://plus.google.com/collection/o2lZRE

Have fun.

The garatronic team.

www.garatronic.fr

Don't want to read the manual, here a quickstart guide :

Serial port setup

default setup for serial port /dev/ttyAMA0 is 115200,8,N,1

Some usefull at command for SIM800C :

  • at : answer OK is serial setup is OK
  • atz : reset default configuration
  • ati : display product indentification information
  • at+cgmi : display product manufacturer
  • at+cgmm : display model identification
  • at+cpin? : check if pin number is required
  • at+cpin=xxxx : enter pin code
  • at+cbc : battery voltage (around 67% or 3940mV)
  • at&v : display current configuration
  • at+csq : report quality of signal (first nb between 0-31, 2nd nb between 0-7, bigger is better)
  • at+gsn : request TA serial Number Identification (IMEI)
  • at+cimi : request international subscriber identity
  • at+cops=? : report list of present operators
  • at+cspn? : get service provider name from sim
  • at+cadc? : read adc input (0-2.8V range, pin 7 of CN2)
  • at+cpowd=1 : normal poweroff

Send an SMS :

  • at+cmgf=1 : sms in text mode
  • at+csca="+33695000695" : service provider sms center number (french provider FREE for me)
  • at+cmgs="+3363054xxxx" : start SMS edition to "receiver number" prompt become '>'
  • input your SMS +
  • send hexadecimal chars '0x1A,0x0D' ( in fact) : to send your SMS

Receive an SMS :

  • answer the SMS you've received on your phone by NadHat.
  • should receive 'CMTI:"SM",x' meaning you have receive a SMS in slot x
  • at+cmgr=x : read sms in slot 1
  • at+cmgd=x : delete sms to free slot x for next SMS

nadhat's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.