electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

sending data from microcontroller to a pc using LAN


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> sending data from microcontroller to a pc using LAN
Author Message
drbizzarow



Joined: 24 May 2006
Posts: 276
Helped: 9


Post03 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
Google Adsense




Post03 Oct 2007 19:26   

Ads




Back to top
funnynypd



Joined: 09 May 2007
Posts: 918
Helped: 21
Location: USA & Canada


Post03 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


Post04 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


Post04 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

Very Happy
Back to top
drbizzarow



Joined: 24 May 2006
Posts: 276
Helped: 9


Post04 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 Wink it will useful for both...
Back to top
funnynypd



Joined: 09 May 2007
Posts: 918
Helped: 21
Location: USA & Canada


Post04 Oct 2007 14:05   

sending data from microcontroller to a pc using LAN


Yes, I will. Thanks for sharing.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> sending data from microcontroller to a pc using LAN
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to read data from MMC using PIC microcontroller ??? (4)
Sending data from weather station to PC (5)
sending data from VB to pic.help me plz... (12)
nokia 3310 sms sending using z8encore microcontroller(HELP!) (1)
Sending Data to PC using PIC18F4550 through USB (4)
Sending Serial Data from FPGA through Ribbon Cable (4)
Sending Serial Data from FPGA through Ribbon Cable (11)
Using Proteus Virtual terminal for sending data to PIC (10)
Sending data to a STATIC IP through GPRS using SIM300 modem (2)
sending sms from mobile using sonyericsson k750i (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS