GSM module with Pic16F877A - MPLABX and XC8

Discussion in 'Embedded Systems and Microcontrollers' started by appoos, Mar 12, 2015.

  1. appoos

    Thread Starter Member

    Sep 18, 2006
    12
    0
    Dear all,

    I am trying to send a message from PIC16F877a through GSM module as shown below.I am considering only a sending process function by using a push-button. Therefore, every time I would press the push-button, a fixed message would be sent to a specific recipient

    It is my first project in UART. Please let me know which is the header file I should use .
    Can anyone give me the sample code/reference for sending SMS... I will work on remaining features once this is ready :)

    Thanks in advance


    [​IMG]
     
  2. appoos

    Thread Starter Member

    Sep 18, 2006
    12
    0
    I do see lot of programs using MikroC, Hitech compilers.. Hitech C is no Longer Available.. I could not find GSM programs in XC8..
     
  3. appoos

    Thread Starter Member

    Sep 18, 2006
    12
    0
    Dear all...

    I am planning to use the code which is writtern in MikroC.
    What will be the changes needed for XC8
     
    Last edited: Mar 13, 2015
  4. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,392
    1,606
    1. Load code into an XC8 project.
    2. Compile.
    3. Look at the first error message you get.
    4. Look up in the XC8 User's guide how XC8 does that method and rewrite code.
    5. Rinse, wash, repeat until compile is clean.

    Then test code in unit to see if it still performs the same.
     
    appoos likes this.
  5. appoos

    Thread Starter Member

    Sep 18, 2006
    12
    0
    Guys..I was able to make it work with MikroE
     
    Last edited: Mar 13, 2015
  6. yms

    New Member

    Aug 15, 2015
    1
    0
    hi bro, have u done it ?
     
  7. xainnasir

    New Member

    Nov 8, 2012
    26
    2
Loading...