View previous topic :: View next topic |
Author |
Message |
Jasen
Joined: 31 Aug 2009 Posts: 6
|
Send and receive data thru Eth w/ PIC16F |
Posted: Thu Dec 26, 2013 6:41 pm |
|
|
Hi, I bought a board with Ethernet RJ45 and ENC28J60 built in. Do you have any example software (with pic 16F) to send and receive data thru this board (SPI). Let’s suppose an Ethernet net ...lets example a PC sending data thru eth to a PIC. Depending of data sending, its turn on a LED... |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Thu Dec 26, 2013 8:14 pm |
|
|
comment: Have you looked in the examples folder that CCS supplies? A fairly recent version of the compiler probably has a sample code there.
If not, try the 'code library' here,some one might have posted their efforts there.
hth
jay |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
Re: Send and receive data thru Eth w/ PIC16F |
Posted: Fri Dec 27, 2013 7:31 am |
|
|
Jasen wrote: | Hi, I bought a board with Ethernet RJ45 and ENC28J60 built in. Do you have any example software (with pic 16F) to send and receive data thru this board (SPI). Let’s suppose an Ethernet net ...lets example a PC sending data thru eth to a PIC. Depending of data sending, its turn on a LED... |
Don't waste your time. A PIC16f series does not have the resources or memory structure to do anything useful with this controller and a top/ip stack. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Fri Dec 27, 2013 10:09 am |
|
|
If you have an Ethernet network communication requirement then look at the Wiznet 5100 boards out there. They handle the TCP/IP heavy lifting and you can talk to them via serial port. This allows you to connect anything with a serial port to a TCP/IP network and the Internet. The WIZ105SR and WIZ110SR boards are my favorites for this. They're available from most electronics suppliers. _________________ Jürgen
www.jgscraft.com |
|
|
|