Results 1 to 8 of 8

Thread: mscomm. - a very big, serious problem

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    malaysia
    Posts
    44

    mscomm. - a very big, serious problem

    comm. event - a very, long question
    i'm facing a very big, long and difficult problem that i really cannot solve it oledi. is my final project n if i can't make it, i need to extend lah!!!!!!!
    is about commport, comm. event .
    plis, i really need some help!! not some, but a lot.

    abdul, alex_read, Sastraxi n many others: ya, sorrylah, is me again!!! is previous question again, rejected by lecturer oledi!!!
    i disappointed u o!!!! sorrylah!!!!!!!!!!
    Attached Files Attached Files

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    For the serial tidbit you can't; it's one bit of data in and one out every time you send the data. So, you must send then change the data, send again, etc. That is why FireWire and USB aren't huge cables, they use serial arcitectture.

    To test it, make it transmit a bit, make the electronics at the other end loop back to the input, and then when you recieve the input bit write what you got.

    Cheers

    I'll try to see what's with your project...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    malaysia
    Posts
    44

    thanx sastraxi!!!!!

    thanx sastraxi again!!!!!!!!
    actually, last time bf i connect my serial port ( RS 232 ) to the 8051 microp, what i try to do is connecting 2 PCs with 1 direct link cable, but won't work also!!! so i leave the testing part!! but now my lecturer ........
    hai~h!!!!!

    keep pushing!!!!!!!

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    malaysia
    Posts
    44

    so cold here!!

    so cold right here lah!!!! no one respond!!!!!! keep waiting n pushing!!! ( do any 1 mind if i keep pushing my thread up?! )

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I've never actually got it to work, this is all theory about it. I'm sorry; I don't know any more
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    malaysia
    Posts
    44

    thanx!!!!!!!

    at least u read my project!!!! thanx a lot!!!!! u r the only reply me.
    actually, what i really need now is how to test my signal!!
    i found that last time, someone( Swissa ) posted:
    " If you have 2 Serial Ports on your PC ..You can use one SErial Port to send and the other to recieve

    You can send using the Hyper Terminal ..and recieving using your program ".
    i very interesting about it. can someone plis kindly explain to me?!!!!

  7. #7
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Just like I had previously said (although I didn't know that there was only 1 data bit, not 1 data out and 1 data in (like I said before). So just make a loop connector that takes stuff from 1 serial port and puts it in the other. There may even be cables (male to male) that can do this already...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  8. #8

    Thread Starter
    Member
    Join Date
    Jun 2001
    Location
    malaysia
    Posts
    44
    huh, finally i tested my input n output by connected 2 COM port, using my own solder copper wires RS232 cable, use 2 DB9 connectors, 2 copper wire with solder crossly Tx n Rx pin n 1 wire for ground.

    n here is another question, as i mentioned earlier, i need to detect my 2 devices, keyboard n joystick. however, if i press on keyboard n move the joystick at the same time, the signals will be corrupted.
    so, how can i write to made sure that when i press the keyboard, the movement of joystick won't be detect for temporary, n vice versa?
    any command or event that i can use?!
    give me some ideas!!!!!!

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