help me I need code Sim900 + PIC16F877A


+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2012
    Posts
    6

    Default help me I need code Sim900 + PIC16F877A

    Help me

    I need code Call phone and SMS
    use PIC16f877A X = 4MHz

    and SIM900 use = http://www.micro4you.net/product-SIM...-138527-1.html


    Name:  Untitled.png
Views: 4388
Size:  20.8 KB

    Thaks

  2. #2
    Join Date
    Jun 2012
    Posts
    6

    Default Re: help me I need code Sim900 + PIC16F877A

    It code don't work
    it's wrong...
    ---------------------------------------------------------------
    DEFINE OSC 4
    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
    DEFINE HSER_SPBRG 25 ' 9600 Baud @ 4MHz, 0.16%
    DEFINE HSER_CLROERR 1 ' Clear overflow automatically

    TRISC = %01000000 'set portc.6 TX
    CALL_PHONE : pause 2000
    HSEROUT ["atd[000000000];",13] '00000000 = number
    pause 2000
    goto CALL_PHONE

    end

    ----------------------------------
    thank for help

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,124

    Default Re: help me I need code Sim900 + PIC16F877A

    I think you have to make sure that there is communication with the module.

    Did you check that the module is responding?

    Ioannis

  4. #4
    Join Date
    Jun 2012
    Posts
    6

    Default Re: help me I need code Sim900 + PIC16F877A

    I can not check Module

    I can use X = 4 MHz for buad rate 115200 bps ??

    RX & TX is TTL level I can connect Module to PIC16F877A or module to max232 ??

    thanks for help

    sorry i bad eng

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,124

    Default Re: help me I need code Sim900 + PIC16F877A

    I am on a mobile phone and cannot check data sheet for you PIC but I thing you cannot use 115k with 4Mhz xtal.

    As for the TTL level use it directly to Pic without max232.

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,256

    Default Re: help me I need code Sim900 + PIC16F877A

    Quote Originally Posted by lambertodini View Post
    Good job,I appreciate your work because i have the same problem,but your post solve my problem.Thanks for sharing information,your information increase my knowledge.
    Then can you post your code to help him back?

    Robert

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,124

    Default Re: help me I need code Sim900 + PIC16F877A

    Robert, I think you are a teaser, aren't you?

    Ioannis

Similar Threads

  1. Replies: 0
    Last Post: - 6th November 2012, 13:06
  2. Hello Can any one help me with this code (DS1307 RTCM With PIC16F877a)
    By Ali Al-Shaybani in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th September 2010, 15:48
  3. Replies: 11
    Last Post: - 6th November 2008, 11:27
  4. Ghange code from PIC16F877A to PIC16F88
    By savnik in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th March 2008, 17:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts