| Author |
Message |
drbizzarow
Joined: 24 May 2006 Posts: 276 Helped: 9
|
03 Oct 2007 19:26 sending data from microcontroller to pc |
|
|
|
|
hi 2 ALL
its my 2nd post for same problem .......
may be my last post was not understendable so here is my question agin:)
i want to send my microcontorller data to remote pc both connected in same lan.
what is the best way to do ?? is that necesery to create embeded web server in microontroller ??
suppose if i dont use browser to veiw that data but use WIN SOCKS in VB and some how microcontroller simpply sends updates after one second on predefined port and ip.....
and in case of any settings my VB program send that settings to microcontroller to its IP..
hope every one undrsted what i want this time
ne help regarding this very help ful to me
SO THX IN ADVANCE.
|
|
| Back to top |
|
 |
Google AdSense

|
03 Oct 2007 19:26 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
funnynypd
Joined: 09 May 2007 Posts: 918 Helped: 21 Location: USA & Canada
|
03 Oct 2007 21:10 sending data from microcontroller through c |
|
|
|
|
I don't know the answer, but quite interesting topic.
BTW, what language are you using with the Microcontroller?
|
|
| Back to top |
|
 |
Eugen_E
Joined: 29 Nov 2004 Posts: 358 Helped: 31
|
04 Oct 2007 0:54 Re: sending data from microcontroller to a pc using LAN |
|
|
|
|
You can use:
- an Ethernet chip like ENC28J60-- PHY+MAC http://tuxgraphics.org/electronics/200606/article06061.shtml and connect it to uC on SPI bus - I know there are libraries for many uC to use ENC28J60, so you don't need to write the code for the server from scratch;
- buy this http://www.ethernut.de/ - i know someone who used it and it worked great;
- just an ARM processor with Eth ports.
|
|
| Back to top |
|
 |
VSMVDD
Joined: 12 Jun 2005 Posts: 558 Helped: 55
|
04 Oct 2007 2:02 Re: sending data from microcontroller to a pc using LAN |
|
|
|
|
I dont kow why you reposted the same question
you use serial coms from the micro to a driver that talks to lan on an ip
the problem is that a micro
has to build the whole ip stack and lan handler
before it can use lan exclusivly
so use serial to lan driver
then coms.. is very much easier
if you want to learn how lans guts work your going the right way
a tip is set up the drivers for serial
its no matter if the software times out
the driver remains ... active as set
so... download it and give it a try
look in your other post
|
|
| Back to top |
|
 |
drbizzarow
Joined: 24 May 2006 Posts: 276 Helped: 9
|
04 Oct 2007 7:54 Re: sending data from microcontroller to a pc using LAN |
|
|
|
|
thx Eugen_E
i have viste your links.... it much helpful to me.
but wht in case of http://www.ethernut.de/...... it cost much. there are so maney other SBC like from rabit pro etc. but i thinking what it i implement some thing with Ethernet interface chip RTL8019AS wih pic micro and use UDP protocol .... coz wht i thnik its easy to emplement , as my system is in same lan data ACK is not necessery....or it can achive with some fixed packet 2 way communication???? any body hav any idea pls coment thx in advance
Added after 7 minutes:
| funnynypd wrote: |
I don't know the answer, but quite interesting topic.
BTW, what language are you using with the Microcontroller? |
im using C with CSS compilers for pic micro.....
if u like this idea then pls dig some thing on net with me it will useful for both...
|
|
| Back to top |
|
 |
funnynypd
Joined: 09 May 2007 Posts: 918 Helped: 21 Location: USA & Canada
|
04 Oct 2007 14:05 sending data from microcontroller to a pc using LAN |
|
|
|
|
| Yes, I will. Thanks for sharing.
|
|
| Back to top |
|
 |