Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: theory about serial / parallel port & java

  1. #1
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default question about serial / parallel port & java

    theres 2 questions i'd like to know if its posable or if i'd need to do some firmware/hardware stuff first

    1st, when using he serial or parallel port connection is it possible to get info on the current voltage input from the device?

    2nd while using that port can u send and receive at the same time ?( heard some where u had to send , stop , read , stop and so on )
    Last edited by wolfgar; December 28th, 2009 at 07:07 PM.
    Programming: the art that fights back


  2. #2
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: theory about serial / parallel port & java

    why does no 1 reply ???
    Programming: the art that fights back

  3. #3
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: theory about serial / parallel port & java

    Probably because no one here has a clue sorry, sounds like a question for google.

  4. #4
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: theory about serial / parallel port & java

    >.< really its not just here
    i've asked the same question on about 10 forums and so far only this 1 has a reply XD
    looks like i'll give google a 4rd try XP
    Programming: the art that fights back

  5. #5
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: theory about serial / parallel port & java

    If you have the know-how, you could try using an osciloscope (err, bad spelling) and a multi-meter. There might also be a label somewhere either on the cable itself, or on the packaging if you still had it.

    I'm guessnig you can only do a send/recieve one at a time. Sending two signals down the same wire generally causes interference (see: Wave interference)
    Last edited by helloworld922; January 4th, 2010 at 04:02 PM.

  6. #6
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: theory about serial / parallel port & java

    its a salvaged cord lol (ripped out of a dead printer)
    i also just found out i cant detect analog voltages as an input
    so i'm just gonna have to do some firmware stuff to convert the analog voltage
    into a serial digital output ><

    1 problem with the wave interference , theirs ( i think) 18 wires on a serial and 32 on a parallel port , so u'd think u could pick witch wire u want to send what on . and even though their is some wave interference still
    a simple toroid would fix that for the most part
    Programming: the art that fights back

Similar Threads

  1. Serail Port Programming regarding phone line hook
    By maskey_dipesh in forum Java SE APIs
    Replies: 2
    Last Post: September 4th, 2009, 06:12 AM