| Author |
Message |
CyberMomo
Joined: 17 Feb 2002 Posts: 20
|
09 Oct 2003 8:47 pic ethernet |
|
|
|
|
Hello world,
Let me describe you what i want to do.
I have one portable pc connected to my desktop pc with wireless wifi. I use my laptob to drive my desktop pc. I can shutdown my desktop pc from my laptop but i can't start-it from my laptop. I want ( woud'like) to make a little cicuit conected in ethernet to my acces point who can start my desktop.
How i can do this? I must use algo with TCP/IP stack? I see some example from microchip but if you have somme experience
It's hard to me to explain my problem in english, sorry for this inconveniance.
|
|
| Back to top |
|
 |
cube007
Joined: 12 Mar 2002 Posts: 538 Helped: 12 Location: Australia
|
09 Oct 2003 9:15 |
|
|
|
|
Hello CyberMomo,
please use the search function of the forum (http://www.elektroda.pl/eboard/search.php) and look for "pic ethernet" with the option "Search for all terms". You will find a lot of useful stuff, e.g. http://www.elektroda.pl/eboard/viewtopic.php?t=52670
By,
cube007
|
|
| Back to top |
|
 |
fariccc
Joined: 20 Jun 2006 Posts: 11
|
07 Oct 2007 14:59 Re: Pic with ethernet capabilitie? |
|
|
|
|
| You can use any ethernet controller e.g. Microchip's ENC28J60 in combination with any microcontroller which supports SPI e.g. PIC16F877.
|
|
| Back to top |
|
 |
Google AdSense

|
07 Oct 2007 14:59 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
btbass
Joined: 20 Jul 2001 Posts: 1187 Helped: 113 Location: Oberon
|
09 Oct 2007 19:20 Pic with ethernet capabilitie? |
|
|
|
|
Microchip also make a microcontroller with a ethernet controler module built in.
You will find application notes at Microchip.
|
|
| Back to top |
|
 |
akilpatrick
Joined: 27 Apr 2007 Posts: 13
|
23 Oct 2007 14:27 Re: Pic with ethernet capabilitie? |
|
|
|
|
You don't need a special circuit. You just need to implement Wake-on LAN, which is easy to write in any language that allows you to send UDP packets or something similar. I wrote a little program in C and I think it worked on the first try. Here's a page:
http://en.wikipedia.org/wiki/Wake-on-LAN
The basic idea is to send a specially formatted packet, which the network card on the "sleeping" machine looks for. It matches against its MAC address. If the packet validates, it wakes up the PC and you're back in business. It's up to you how to shut it down again.
|
|
| Back to top |
|
 |