TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139560 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

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]

< Back
Example

Serial Ethernet TCP UDP communication with Visual Studio 2010

Rating:

0

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.

No Abuse Reported

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".

  • Information
  • Comments (3)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

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).


ALSO FROM THIS AUTHOR

Controller For altered EthClick Demo

0

Altered EthClick Demo example communicates with Visual Studio 2010 Visual Basic made program. Mikro made EthClick Demo example altered for Visual Studio 2010 Visual Basic program to communicate with it. Needs IP address entered into program that is the same as the one programmed into the PIC18F45K22 chip.

[Learn More]