serout2 using Open Inverted


Results 1 to 8 of 8

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    No you don't need to use ON mode, you can use N or T modes without much problems.
    Is necessary to put a pull up or pull down resistor?
    not really with T or N mode.
    Can I to conect the 2 pins of the PIC together and then to the pin2 of DB9 to send to PC? If the 2 PICs send data to PC in same time, what happen?
    Some data collision in front I would probably dedicate a PIC to send the data to the PC.

    BUT, there's also another option, which would allow you to connect two serial output pins together. What you need to use is a kind of Busy line. This is a line connected between your PIC. This tells that you're actually sending data to the PC.

    Start with both PIC output pin set to input, with a pull-up/down (depending of your actual setup), when you want to send some data to the PC, you check the level of the Busy line (0 or 1), if ok(not busy), set this line to busy level, set your Serial output to output, send your data, set that pin to input, release the busy line, and you're done.

    Wait a minute... ON mode could be interesting here
    Last edited by mister_e; - 14th November 2008 at 19:03.
    Steve

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

Similar Threads

  1. Serout and 18F87J50
    By Glenn_Webber in forum Serial
    Replies: 8
    Last Post: - 20th November 2009, 15:26
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 17:46
  3. SLOW Serin2 and Serout2
    By dragons_fire in forum General
    Replies: 3
    Last Post: - 26th June 2009, 03:38
  4. Replies: 0
    Last Post: - 15th December 2006, 20:16
  5. Gps with 16f628
    By dragons_fire in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 8th June 2006, 04:38

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