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. RS232 interfacing help

RS232 interfacing help

Scheduled Pinned Locked Moved C#
csharpcomhelptutoriallearning
6 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.
  • W Offline
    W Offline
    wjbjnr
    wrote on last edited by
    #1

    HI there!!. I have got a project in which i have to get the data of rfid card through a rfid reader connected through rs232 serial port to the computer and then further manipulate the data...i know i have to use the IO.Ports ...but the thing is i have got so many buks of c# , but whenever the chapter comes about IO.. there is nothing written about IO.ports!!...i just have to read the data from the serial port by detecting the appropriate com port to which its connected.. there are few tutorials but are in bits and pieces and is becoming real hard to understand...please help me refering to some good complete tutorial regarding this..and if you people know some c# book in which IO.Ports is explained then please tell. Thanx in advance!

    OriginalGriffO D 2 Replies Last reply
    0
    • W wjbjnr

      HI there!!. I have got a project in which i have to get the data of rfid card through a rfid reader connected through rs232 serial port to the computer and then further manipulate the data...i know i have to use the IO.Ports ...but the thing is i have got so many buks of c# , but whenever the chapter comes about IO.. there is nothing written about IO.ports!!...i just have to read the data from the serial port by detecting the appropriate com port to which its connected.. there are few tutorials but are in bits and pieces and is becoming real hard to understand...please help me refering to some good complete tutorial regarding this..and if you people know some c# book in which IO.Ports is explained then please tell. Thanx in advance!

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      It isn't covered in much detail because there isn't a whole lot to it! There are articles here which may help (try Serial Communication using C# and Whidbey[^]) There are also many more on other sites: Google is your friend here: http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=SerialPort+tutorial+c%23[^] It is pretty simple: the complexity comes when you actually talk to the device, and no book or tutorial will cover that! :laugh:

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • W wjbjnr

        HI there!!. I have got a project in which i have to get the data of rfid card through a rfid reader connected through rs232 serial port to the computer and then further manipulate the data...i know i have to use the IO.Ports ...but the thing is i have got so many buks of c# , but whenever the chapter comes about IO.. there is nothing written about IO.ports!!...i just have to read the data from the serial port by detecting the appropriate com port to which its connected.. there are few tutorials but are in bits and pieces and is becoming real hard to understand...please help me refering to some good complete tutorial regarding this..and if you people know some c# book in which IO.Ports is explained then please tell. Thanx in advance!

        D Offline
        D Offline
        Dalek Dave
        wrote on last edited by
        #3

        Who the hell uses RS232 these days?

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

        OriginalGriffO 1 Reply Last reply
        0
        • D Dalek Dave

          Who the hell uses RS232 these days?

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          People who don't want to pay for the LAN hardware and protocol stack processing overheads! :laugh: Seriously, in embedded computing, you can fit RS232 for a few tens of pence, whereas the connector alone for a network cable can cost twice that before you get to the hardware behind the connector. Particularly when you are talking about low volumes.

          Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          W 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            People who don't want to pay for the LAN hardware and protocol stack processing overheads! :laugh: Seriously, in embedded computing, you can fit RS232 for a few tens of pence, whereas the connector alone for a network cable can cost twice that before you get to the hardware behind the connector. Particularly when you are talking about low volumes.

            Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

            W Offline
            W Offline
            wjbjnr
            wrote on last edited by
            #5

            i couldn't find any rfid reader at low cost, with any ither interface...the one with rs232 was the most common one..thats why i sticked to it...will try to understand the tutorial...will atch back i i encounter problems(which i definitely will! ) :) thnx

            OriginalGriffO 1 Reply Last reply
            0
            • W wjbjnr

              i couldn't find any rfid reader at low cost, with any ither interface...the one with rs232 was the most common one..thats why i sticked to it...will try to understand the tutorial...will atch back i i encounter problems(which i definitely will! ) :) thnx

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              Good luck! (It won't be that bad, honest!)

              Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              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