Read & Send SMS from a Mobile using PIC Microcontroller


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default

    Chakkarapani, you are not saying much about your hardware. I hope you have used a max3232 to connect the Fbus to the PC otherwise you have burned the Rx line. (Fbus is 3.3 Volts)

    http://www.datasheetcatalog.org/data...ts/max3232.pdf

    Most of the AT command (not all) works also with Fbus.

    Alberto
    Last edited by aratti; - 10th January 2009 at 09:59.
    All progress began with an idea

  2. #2

    Default

    Hi friends,
    I'm in the same way to perform this project with PIC and Nokia 3310.
    But i find out the PIC 16F84A only can support the 9600 bps Baudrate and less than it. But the nokia 3310 FBUS, only can support the 115200 bps baudrate.

    which PIC micro have this buadrate, that i can connect it to nokia?

    we know, to open the bus between the nokia and PIC, we must to send 'U' 128 times. and then the bus is opened to communicate data between them selfs.

    any Idea for this? for the same baud rate of nokia 3310 in PIC?

    thanks in advanced.

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default

    Use a pic 18Fxxxx like 18F2585 for instance, with a 40 Mhz xtal oscillator.

    Here the setting for the EUSART @ 115200,n,8,2 (Obtained with Mister E PicMulticalc)

    Code:
    RCSTA = $90   ' Enable serial port & continuous receive
    TXSTA = $24   ' Enable transmit, BRGH = 1
    SPBRG = 86    ' 115200 Baud @ 40MHz, -0,22%
    SPBRGH = 0
    BAUDCON.3 = 1 ' Enable 16 bit baudrate generator
    Al.
    All progress began with an idea

  4. #4

    Default

    Quote Originally Posted by aratti View Post
    Use a pic 18Fxxxx like 18F2585 for instance, with a 40 Mhz xtal oscillator.

    Here the setting for the EUSART @ 115200,n,8,2 (Obtained with Mister E PicMulticalc)

    Code:
    RCSTA = $90   ' Enable serial port & continuous receive
    TXSTA = $24   ' Enable transmit, BRGH = 1
    SPBRG = 86    ' 115200 Baud @ 40MHz, -0,22%
    SPBRGH = 0
    BAUDCON.3 = 1 ' Enable 16 bit baudrate generator
    Al.
    hey dear atari, thanks for ur replay, but i need 115200 baudrate, 8 bit data, no parity and 1 stop bit.

    i don't need the high frequency for processing, but i need high baud rate to communicate with the nokia 3310, if i can do this with the PIC16f84A or other 16 series for example 16F877A(40 Pin)

    i need to reach this baud rate(115200) to do my project.

    i can't use the other PIC, because i need to complete my proj earliyer. and if i use the other pic, i need to learn about them, and i don't have enough time.

    Please help, if u can. thanks in advanced.

  5. #5

    Default

    Excuse me, i have some mistake about spelling your name, i'm so ashamed of this.

  6. #6
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default

    abbas.khodaeian, I am sorry but you cannot reach an acceptable boudrate of 115200 with 16F series even with a 20 Mhz oscillator.

    If you want to use the 16F84a, then you must change the phone type and use a brand with boudrate @ 9600 (siemens for instance. make sure they work in text mode)


    i don't need the high frequency for processing, but i need high baud rate to communicate with the nokia 3310
    The high frequency clock and the pic 18F are necessary to reach the high boudrate required by your nokia 3310.

    Al.
    All progress began with an idea

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    mostly right, but no cigar. You can reach a really decent baudrate accuracy, if you pick the right crystal. 11.059MHz, 14.745MHz and other Baudrate Vouched speed (you know those we often forget ) would do the trick with a regular USART (not with built-in bit banging solution.. even though 8 MHZ would probably work fine with DEBUG)

    No pain no gain, those crystal speed aren't "standard value", well not listed in PBP supported list, so you'll need to tweak you delay, if your application is timing sensitive.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Mar 2009
    Posts
    9

    Default

    Quote Originally Posted by aratti View Post
    Chakkarapani, you are not saying much about your hardware. I hope you have used a max3232 to connect the Fbus to the PC otherwise you have burned the Rx line. (Fbus is 3.3 Volts)

    Alberto
    Hi aratti , Can you please give me a schematic for connecting SIM300CZ (www.sim.com) and pic 16F877A. mainly the Tx Rx line

Similar Threads

  1. Send data PIC to PC
    By konter in forum Off Topic
    Replies: 6
    Last Post: - 25th December 2009, 22:04
  2. Can't read an sms Using TC35i & 16F690
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 4th October 2009, 22:41
  3. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  4. pic to mobile
    By microkam in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th July 2005, 18:26
  5. SMS decoding / encoding using PIC!
    By bitmaniac in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 19th March 2004, 07:03

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