EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / plss help me to establish PIC to GSM serial communication

plss help me to establish PIC to GSM serial communication

|

Microcontroller › PIC › plss help me to establish PIC to GSM serial communication

  • This topic has 5 replies, 3 voices, and was last updated 13 years, 2 months ago by Billy Michael Docdocil.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 17, 2012 at 3:04 pm #1567
    Billy Michael Docdocil
    Participant

    good day fellow engineers.. 

     

    i’ve got a big problem with my project. it’s dealing with sending AT commands from my PIC18F4550 to my Sony Ericsson K700i using UART..

     

     

    my first problem is how to make a circuit that will have my PIC tx to output 3V? since my Cellular Phone can only recieve a maximum of 3V.. will i need a MAX232 circuit? or just simply a Zener diode circuit?

     

    and my second problem is that how can i convert PDU format to ASM format? since my phone only accepts PDU format..

     

    plss help me..

     

     

    thx everyone!.. :D

    May 8, 2012 at 5:50 pm #7654
    AJISH ALFRED
    Participant

    You need to use 5v to 3V level shifter IC. I don’t think it can be done with something like zener diode, because the voltage corresponding to logic 0 and logic 1 are different in 3v-logic and 5v-logic.

    May 8, 2012 at 5:50 pm #7674
    AJISH ALFRED
    Participant

    You need to use 5v to 3V level shifter IC. I don’t think it can be done with something like zener diode, because the voltage corresponding to logic 0 and logic 1 are different in 3v-logic and 5v-logic.

    May 9, 2012 at 1:05 pm #7683
    Amrith
    Participant

     

    Hi Billy,

     

    No need of using MAX232 IC.If your controller source voltage is more than 3.3V then use SN74LVC4245A bidirectional voltage level translator in between your controller and phone to communicate.

     

    Regarding PDU format, you need to decode the received message fom PDU format, this can be done in coding.

     

    Suggest you to go through the PDU format & understand the bit by bit data.

     

    Example:

     

    PDC CODE: 0891683108200805F01151048181160000FF16C8329BFD66B5F320B8BC4CA7E741F7B79C4D0E01

     

    08: Length of Service Center Number

    91: Indicate there is a plus at the beginning of Service Center number

    683108200805F: Service Center number: 8613800280500 Note when the length

                                          of number is an odd number, add F.

    11: Indicate this SMS will be sent.

    51: TP-MR Message Reference, not common used.

    04: Length of destination number. Here 1861.

    81: No plus here.

    8161: Destination number 1861.

    00: TP-PID. 

    00: TP-DCS. TP-UD is coded by 7bit character method. 

    FF: TP-VP. Valid Period. Here is infinity.

    16: Hex value equals to 22. This indicates there are 22 characters in TP-UD

    C8329BFD66B5F320B8BC4CA7E741F7B79C4D0E01: TP-UD, decode it using 7bit character method.

     

    Any more info needed kindly post.

     

    May 9, 2012 at 1:05 pm #7703
    Amrith
    Participant

     

    Hi Billy,

     

    No need of using MAX232 IC.If your controller source voltage is more than 3.3V then use SN74LVC4245A bidirectional voltage level translator in between your controller and phone to communicate.

     

    Regarding PDU format, you need to decode the received message fom PDU format, this can be done in coding.

     

    Suggest you to go through the PDU format & understand the bit by bit data.

     

    Example:

     

    PDC CODE: 0891683108200805F01151048181160000FF16C8329BFD66B5F320B8BC4CA7E741F7B79C4D0E01

     

    08: Length of Service Center Number

    91: Indicate there is a plus at the beginning of Service Center number

    683108200805F: Service Center number: 8613800280500 Note when the length

                                          of number is an odd number, add F.

    11: Indicate this SMS will be sent.

    51: TP-MR Message Reference, not common used.

    04: Length of destination number. Here 1861.

    81: No plus here.

    8161: Destination number 1861.

    00: TP-PID. 

    00: TP-DCS. TP-UD is coded by 7bit character method. 

    FF: TP-VP. Valid Period. Here is infinity.

    16: Hex value equals to 22. This indicates there are 22 characters in TP-UD

    C8329BFD66B5F320B8BC4CA7E741F7B79C4D0E01: TP-UD, decode it using 7bit character method.

     

    Any more info needed kindly post.

     

    September 11, 2012 at 5:05 am #8560
    Billy Michael Docdocil
    Participant

    thx for the great help guys.. new knowledged learned… :D

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • I am ready to move from electrical and electronics field but confused where ? December 6, 2025
  • Funny Images Thread! December 6, 2025
  • replacing an absolete component of converter December 6, 2025
  • UPS for elevator December 6, 2025
  • anyone recognizes this laser diode? December 6, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise