make two software one for computer and another one for Atmel’s Atmega8 AVR microcontroller .the first software is loading a number from web page (http://172.22.13.12/embedded/request.php?id=85258) . And send them to a micro controller using serial port. Configure your serial port as following (one stop bit, no parity, baud rate=19200 and 8 bit data size). Use URLrequest to make the request and use this half ready project to write the software for the micro controller .you’ll write your code in main.c .
this is the presentation used in interfacing computer software with embedded devices using VB.net . this content will updated frequently so make sure to check every now and then Interfacing Embedded System with Computer Software Using VB