I am starting to program in C# and build applications over the web.
I have a board with a PIC microcontroller that I made that communicates with the PC via USB-Serial converter (FT232).
Now I want to do this: I want to create a website on another computer that allows you to communicate with the PC with the PIC board. Via the other computer I want to be able to control the PIC board.
I think that in order to do that I have to start learning about ActiveX, if I’m not mistaken. Does ActiveX allow me to write on another computer’s serial port?
I really want to learn that.
Could you please guide me in the correct direction, and if possible a book or tutorial?
Thank you very much, and sorry for any english mistakes.
I am starting to program in C# and build applications over the web. I
Share
No, ActiveX is to let a web page interact with the computer of the visitor of that web page, an old system which should not be used again. Although HTML5 seems to want to reimplement a lot of ActiveX-like functionality again, this is not what you want.
If you create a C# application or service that uses the
SerialPortclass to talk to your PIC, and use for example a WCF service to accept commands over the internet.You can then create a web page that lets the user issue commands, while the back end of the web page calls the WCF service to send the command to the PIC.