hserin and sms controller


Closed Thread
Results 1 to 26 of 26

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    The Hserout/Hserin will NOT work with these circuits! Be careful also not to destroy your phone with this 3.3/5 volt adapters. I would suggest to test with the Serout2/Serin2 commands in invert mode.

    Hserout/Hserin pressume that you have included inverters in your circuit (like the common MAX232, which obviously there are not).

    I would use a 3.3 driver for the UART like MAX3232 for example.

    Ioannis

  2. #2
    Join Date
    Mar 2009
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    The Hserout/Hserin will NOT work with these circuits! Be careful also not to destroy your phone with this 3.3/5 volt adapters. I would suggest to test with the Serout2/Serin2 commands in invert mode.

    Hserout/Hserin pressume that you have included inverters in your circuit (like the common MAX232, which obviously there are not).

    I would use a 3.3 driver for the UART like MAX3232 for example.

    Ioannis
    but it's working, i put a hex inverter 74LS04 and inverted the signal two times, 1 x 2 times logical not give 1, and put one zener didode 2v7 in tx line of phone!!!!so it's protected from over voltage!!!

  3. #3
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default How to invert hardware serial port

    Quote Originally Posted by Ioannis View Post
    Hserout/Hserin pressume that you have included inverters in your circuit (like the common MAX232, which obviously there are not).

    I would use a 3.3 driver for the UART like MAX3232 for example.
    The above was an older post. Since then, a way to invert the hardware serial port has been spotted in the 400+ page datasheets of the PIC18 devices.......
    See http://www.picbasic.co.uk/forum/showthread.php?t=10361 for a little more information.

    To command it to do so:
    Code:
    	BSF BAUDCON,RXDTP
    	BSF BAUDCON,TXCKP
    Pretty cool stuff. I have tried it on a few projects, including a bootloader, and it works great. Nice to eliminate the max232 hardware when you can.
    Last edited by ScaleRobotics; - 10th February 2010 at 16:58.

Similar Threads

  1. Replies: 11
    Last Post: - 19th August 2009, 16:23
  2. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 21:33
  3. Replies: 0
    Last Post: - 21st May 2009, 01:58
  4. parsing string from hserin
    By xxxxxx in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd April 2009, 19:42
  5. Reading a SMS to an array
    By KA5MAL in forum GSM
    Replies: 3
    Last Post: - 17th June 2008, 18:24

Members who have read this thread : 1

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