Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. serial port

serial port

Scheduled Pinned Locked Moved C#
questioncsharphtmlcom
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    surgeproof
    wrote on last edited by
    #1

    hi - is there a simple and good way to control the 9-pin serial port at the back of your computer? i would like to use it for some simple electronics commands and i need to be able to send a certain number of pules to it over a set time,- also how can you recieve? i found this link on google, is it right? and what is i don't want to send a message to want to pulse it? any ideas? :) cheers, surgeproof ------------------------------------------------------- ithium is the best. 'Science without religion is lame, religion without science is blind.' --Albert Einstein 'The pioneers of a warless world are the youth who refuse military service.' --Albert Einstein

    D 1 Reply Last reply
    0
    • S surgeproof

      hi - is there a simple and good way to control the 9-pin serial port at the back of your computer? i would like to use it for some simple electronics commands and i need to be able to send a certain number of pules to it over a set time,- also how can you recieve? i found this link on google, is it right? and what is i don't want to send a message to want to pulse it? any ideas? :) cheers, surgeproof ------------------------------------------------------- ithium is the best. 'Science without religion is lame, religion without science is blind.' --Albert Einstein 'The pioneers of a warless world are the youth who refuse military service.' --Albert Einstein

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Simple? Not on your life... You said your looking to send signal pulses? The article you found won't let you do that. That article deals with properly formatted serial communications. You're apparently looking at manipulating the serial port hardware directly and in very non-standard methods. Your going to have a DIFFICULT time with this one. Receiving data is going to be very difficult at best. You might have better luck with using the parallel port for a project like this. Most of the same problems apply, but there is more documentation on this port than with serial. For example...[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      Q 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Simple? Not on your life... You said your looking to send signal pulses? The article you found won't let you do that. That article deals with properly formatted serial communications. You're apparently looking at manipulating the serial port hardware directly and in very non-standard methods. Your going to have a DIFFICULT time with this one. Receiving data is going to be very difficult at best. You might have better luck with using the parallel port for a project like this. Most of the same problems apply, but there is more documentation on this port than with serial. For example...[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        Q Offline
        Q Offline
        quilkin
        wrote on last edited by
        #3

        I agree with Dave, what you're trying to do is pretty impossible. Better to get hold of a development kit for a simple microcontroller (e.g. a Arizona Micro PIC device) that has an on-baord UART and talk to that via your PC serial port. The PIC can be programmed to generate your pulses, etc, depending on the instructions it gets via the serial port.

        S 1 Reply Last reply
        0
        • Q quilkin

          I agree with Dave, what you're trying to do is pretty impossible. Better to get hold of a development kit for a simple microcontroller (e.g. a Arizona Micro PIC device) that has an on-baord UART and talk to that via your PC serial port. The PIC can be programmed to generate your pulses, etc, depending on the instructions it gets via the serial port.

          S Offline
          S Offline
          surgeproof
          wrote on last edited by
          #4

          cheers both for your helpful responses. i will soon be getting more into PIC development, and i have a PIC programmer coming soon, so i may be able to figure out UART if i need it. :) thanks for now, surgeproof. ------------------------------------------------------- ithium is the best. 'Science without religion is lame, religion without science is blind.' --Albert Einstein 'The pioneers of a warless world are the youth who refuse military service.' --Albert Einstein

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups