Results 1 to 10 of 10

Thread: Serial port communication. At bit level..!

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Location
    India
    Posts
    1

    Exclamation Serial port communication. At bit level..!

    hello masters,

    i am a software programmer in visual basic. I have not touched the hard ware programming part yet. I have devoloped an electronic circuit and trying to interface it with my software. All i need is just detect a 5volt (high signal or binary '1') on a communication port pin which would be 0 volt (low signal or binary '0') most of the time through the coding. I only know which pins is ment for which task and nothing else. Can anybody suggest me which pin to be used for the purpose and how to program ?

    Any help would be greatly appreciated.
    sathvikv

  2. #2
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    I believe what you want to do cannot be done, directly; you may have to cheat a little.

    Learn how to use the MSComm control and check the Byte values that come in over time; you should get all '1's or all '0's and should be able to tel the difference.

    Post your info on the pinouts and I can tell you more.

    Dave

  3. #3
    New Member
    Join Date
    May 2003
    Location
    Detroit
    Posts
    6
    The MSComm control can be used to detect control signal (CTS, CD, DSR, and or RI lines) levels on any of the serial ports. Choose any (or all) unused control signal inputs. You may then trap a level change on any or all of these control signal inputs.

  4. #4
    New Member
    Join Date
    Apr 2004
    Posts
    11
    Maby you can use de paralel port.
    There are 5 inputs and 8 outputs already to detect 0 and 5 volt

    There is a dll for it .(attach)
    Attached Files Attached Files

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    According to the Readme it will not work under WinNT, only Win9x.

  6. #6
    New Member
    Join Date
    Apr 2004
    Posts
    11
    Hai Dave

    I found a OCX .. maby usefull Plaese checkit.

    Goodluck
    Attached Files Attached Files

  7. #7
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    That looks cool - it supports Win9x and WinNTx. Although the readme says the demo version has some restrictions and a single-user liscense costs $50. I couldnt find the web-site to even register it.... Is this a demo version in this zip file?

    Dave

  8. #8
    New Member
    Join Date
    Apr 2004
    Posts
    11
    Hai Dave

    I am not sure dit not do any testing on it.

    When jou want to use the commport jou can use a max232 to
    convert 5 volt to + - 12 volt and use a control input on that port.

    Mscomm can control this.

    Sorry Bad Englisch !!!

    Location Nederland.

  9. #9
    New Member
    Join Date
    Apr 2004
    Posts
    11
    Hai Dave

    Here you can find intresting dll's

    look for TVicPort.dll

    www.windll.com/library-t_300.php
    Attached Files Attached Files

  10. #10
    New Member
    Join Date
    Apr 2004
    Posts
    11
    Hai Dave

    Last message for today.

    Here some more i/o acces files.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width