UART vs software RS232


Results 1 to 28 of 28

Threaded View

  1. #25
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    With your wired connection you had full control over both modes so you could just program
    both PICs to send/receive in inverted or non-inverted modes.

    With the Maxstream units your only option is to program the sending/receiving PICs to use
    non-inverted modes - if connected directly to the Maxstream modules.

    If you prefer inverted mode, then a simple inverter on both ends should do the trick, but it
    has to be fast enough to handle whatever data rate you use without messing with timing.

    I would opt for a simple firmware change before adding new hardware though. Just my 2c.

    data is data
    Data is data, but inverted or non-inverted does matter. Think about about it like this -
    suppose you program a PIC to receive data in non-inverted mode. This PIC is the RF
    module. Now connect another PIC to it that you've programmed to send & receive in
    inverted mode. It doesn't work.

    If you reprogram the 1st one to use the same mode, it works. You have control over that.
    You don't with the Maxstream unit. So you program controllers on both ends to use the correct
    mode, or insert a data inverter.
    Last edited by Bruce; - 5th September 2008 at 15:35. Reason: Why
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. PIC uart basics
    By Michael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th September 2008, 20:11
  2. Software RS232 and wireless modules
    By Michael in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th August 2008, 06:27
  3. Software Stack
    By yasser hassani in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th December 2007, 11:04
  4. Replies: 3
    Last Post: - 26th November 2006, 22:47
  5. Infrared Communications over RS232 UART or with B0 interupt
    By modifyit in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th December 2005, 20:17

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