We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Chris Jed
Last Updated: 2016-02-18
Package Version: 1.0.0.0
Example: 1.0.0.0
Category: Ethernet
Downloaded: 3618 times
Followed by: 1 user
License: MIT license
Uses PIC18F45K22 and Serial Ethernet Board to communicate with an application in Visual Studio 2010. The application in Visual Studio 2010 uses Visual Basic. This project uses TCP to display a web-page on a browser and to display status of LEDs and ADC read in VS2010 app. UDP is used to display messages form both PIC18F45K22 and VS2010 app.
Do you want to subscribe in order to receive notifications regarding "Serial Ethernet TCP UDP communication with Visual Studio 2010" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Serial Ethernet TCP UDP communication with Visual Studio 2010" changes.
Do you want to report abuse regarding "Serial Ethernet TCP UDP communication with Visual Studio 2010".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1368190777_serial_ethernet__mikrobasic_pic.rar [1.45MB] | mikroBasic PRO for PIC |
|
The example in the MikroBASIC project uses TCP communication via Serial Ethernet Board to display a web-page of PortA LEDs (RA1 to RA5) status and ADC read connected to RA0, as well as the HTTP request counter and what refresh rate is set.
The GLCD connected to the PIC18F45K22 will display messages received and sent to the Visual Studio 2010 application when that app is run. Use RE0 to send a message, RE1 to toggle between three pre-programmed messages and RE2 to start/stop messages automatically being sent.
Visual Studio 2010 app uses TCP to get status of LEDs and ADC and will display LEDs as either lit or unlit in pictureboxes and a progress bar displays the ADC read. UDP text is displayed in a read-only textbox, another textbox is where you type messages to be sent to the PIC18F45K22 for display on it's GLCD.
Visual Studio 2010 app uses Visual Basic. It communicates with PIC18F45K22 via HttpWebRequest/HttpWebResponse Methods (TCP). It also uses the Sockets UDPClient Method to send text and listen for text (UDP).