+ Post New Thread
Results 1 to 6 of 6
  1. #1
    Full Member level 4
    Points: 1,980, Level: 10

    Join Date
    Nov 2011
    Location
    india
    Posts
    210
    Helped
    2 / 2
    Points
    1,980
    Level
    10

    looking help for PC port programming to activate port

    Hello everyone

    In computing, Port is use to communicate with other peripherals such as monitor, webcam, speakers...etc. Many PCs are equipped with serial ports and parallel port. I want to know how does PC send data to their ports. I have searched some link but I am having problem to understand basic of port communication. so that's why I am making this example just for learning .

    suppose I have application on my window desktop there is only one but when I click on that button the data will sent to port of my computer. so I want create that type of application that will transmit binary data to port of my PC. I googled " serial port communication" I found many links there are the many tools and programming language that can be create application software that can be send data to port of PC. I need suggestion which tool and language I need to select so that I can create application that will send data to my PC' Port?

    Thank you very much

    •   Alt18th June 2017, 08:00

      advertising

        
       

  2. #2
    Newbie level 5
    Points: 72, Level: 1

    Join Date
    Jun 2017
    Posts
    9
    Helped
    2 / 2
    Points
    72
    Level
    1

    Re: looking help for PC port programming to activate port

    sir, previously in windows xp, there was a serial communication dail up application was present. HyperTerminal, and I think all the digital data are in binary. you can use RS232 protocol and you can also download HyperTerminal for 64bit for internet. You may require a DB9 to USB converter also. and you can communicate.



    •   Alt18th June 2017, 18:26

      advertising

        
       

  3. #3
    Full Member level 5
    Points: 2,959, Level: 12
    Achievements:
    7 years registered

    Join Date
    Feb 2008
    Location
    Turkiye
    Posts
    253
    Helped
    59 / 59
    Points
    2,959
    Level
    12

    Re: looking help for PC port programming to activate port

    Hi;
    I can recommend Qt for the purpose, it is cross platform (some may prefer Visual studio for Windows platform).
    Have a look at links;
    QT
    C
    Visual Studio
    Hope helps



    •   Alt24th June 2017, 16:20

      advertising

        
       

  4. #4
    Super Moderator
    Points: 22,948, Level: 36
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Portugal
    Posts
    6,974
    Helped
    854 / 854
    Points
    22,948
    Level
    36
    Blog Entries
    5

    Re: looking help for PC port programming to activate port

    Many PCs are equipped with serial ports and parallel port. I want to know how does PC send data to their ports. I have searched some link but I am having problem to understand basic of port communication.
    I would rectify as "they were equipped". I feel myself elderly when I come across people from the electronics area who no longer have contact with serial port and its associated tools. In the past this was one of the first steps to make the desktop interfacing with peripheral devices, and now chipset for it do not come built in mainboard PC's anymore (in fact, even the Hyperterminal tool is no longer integrated with the Windows package). I would recommend you first take a deep look on how UART for microcontrollers works, how TTL/RS-232 level conversion is made, and just after that, take a search on PC side.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )



  5. #5
    Full Member level 4
    Points: 1,980, Level: 10

    Join Date
    Nov 2011
    Location
    india
    Posts
    210
    Helped
    2 / 2
    Points
    1,980
    Level
    10

    Re: looking help for PC port programming to activate port

    I want to do following task
    Task 1 : I want PC to send data to their serial port
    Task 2 : I want MCU to take data from PC

    Task 1: I need following things
    Tool - visual studio
    language - ASP.NET

    Task 2: I need following things
    Tool - keil
    language - c programming (uart protocols)

    Is it enough to complete tasks?



    •   Alt25th June 2017, 17:12

      advertising

        
       

  6. #6
    Super Moderator
    Points: 230,334, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    39,765
    Helped
    12132 / 12132
    Points
    230,334
    Level
    100

    Re: looking help for PC port programming to activate port

    You can either use generic Windows API functions to access the serial port or specific communication libraries provided by the compiler.

    As far as I know ASP.NET isn't a programing language. You'll use one of the basic programming languages supported by Visual Studio, e.g. C++, C#.



--[[ ]]--