PLIZ CHECK MY SCHEMATIC,pic16f84->max232->gsm phone


Closed Thread
Results 1 to 39 of 39

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,177

    Default

    No!

    Ioannis

  2. #2
    Join Date
    Mar 2010
    Posts
    20

    Default change of pic

    Thankyou Ioannis, Now the only choice is to change pic but i will have to just to simulate it bse i had only pic16f84, but wen i changed to pic16f877 and tried to simulate, nothing appeared on virtual terminal and proteus gave me this message ''can't perform real time simulation due CPU overlaod, what should i do?
    regards
    dumato

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,177

    Default

    I never use simulators of any kind. And Never ever write the whole program at once. I am not Darrel or Melanie...

    What I do is:

    1. Whenever I change PIC, I start by a led and a button. Just 3 lines of code to read the button and light the LED.

    2. Then I add a serial port to see on a terminal what is happening to the PIC.

    3. Then an LCD and see if it works.

    4. Then...

    Ioannis
    Last edited by Ioannis; - 9th April 2010 at 11:05.

  4. #4
    Join Date
    Mar 2010
    Posts
    20

    Default simulation

    Thankyou Ioannis, am going to do that
    regards
    dumato

  5. #5
    Join Date
    Mar 2010
    Posts
    20

    Default simulation

    I have practiced simulation, now i was trying to simulate my project above but Virtual terminal is showing AT,AT, AT contineously after pressing ON the push button. What could be the problem?
    regards

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,177

    Default

    Well, my car is not moving... what might be the problem???

    Ioannis

  7. #7
    Join Date
    Mar 2010
    Posts
    20

    Default

    Hullo Ioannis, probably u needed details,my code is below,am using pic16f877,
    code:
    DEFINE OSC 8
    DEFINE HSER_TXSTA 20h
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_BAUD 9600
    DEFINE HSER_CLROERR 1

    PushButton var PORTB.0

    Main:

    IF PushButton = 0 THEN SMS

    goto main

    SMS:

    HSEROUT ["AT" ,13,10]

    HSERIN 5000, SMS, [WAIT("OK")]

    HSEROUT ["AT+CMGF=1" ,13,10]

    HSERIN 5000, SMS, [WAIT("OK")]

    HSEROUT ["AT+CMGS=+256782277658"]

    HSEROUT [13,10]

    HSERIN 5000, SMS, [WAIT(">")]

    HSEROUT ["BUTTON HAS BEEN PRESSED!"]

    HSEROUT [26]

    HSERIN 15000, SMS, [WAIT("+CMG")]

    HSEROUT [10]

    end

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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