PDA

View Full Version : ENC28J60 and PIC16F/18F



SKOLS1
- 27th January 2011, 19:13
I want to make ethernet controller with ENC28J60 and PIC16F877 or PIC18F2550?
Can somebody post a schematic,code for this problem?I want to make because I have ENC28J60,free sample from Microchip and PIC16F877(PIC18F2550) sample,too.

ScaleRobotics
- 27th January 2011, 19:22
Here is one that uses a PIC18F25J10 with a ENC28J60. You could take a look at the schematic. Hopefully that helps. There is no PicBasic code that I know of, only C code for the TCP-IP stack. Edit: I stand corrected! Here is some PBP code for the TCP-IP stack http://www.picbasic.co.uk/forum/showthread.php?t=7321&p=98612#post98612

http://olimex.com/dev/pic-mini-web.html

SKOLS1
- 27th January 2011, 19:33
Do you have with another PIC?Like PIC18Fxxxx or PIC16F8xx?I am from Macedonia and I can't find PIC18F25J10,and I don't have a programer for this PIC!:mad: so please find another,or does somebody design and programed a project like this?

mister_e
- 27th January 2011, 19:35
OMG... did you ever heard of google?

"By the seventh day God had finished the work he had been doing; so on the seventh day he rested from all his work."

http://www.microchip.com/forums/tm.aspx?m=431852&mpage=1&key=SIMPLE,PIC16F877,QUESTION&

http://lmgtfy.com/?q=enc28J60+pic16f877

SKOLS1
- 27th January 2011, 19:39
Yes,I did.But I can't find a project with that PIC and ENC28J60.

ScaleRobotics
- 27th January 2011, 19:42
Maybe this will help, maybe it won't. But it's the closes I could come up with.

http://www.micro-examples.com/public/microex-navig/doc/094-ep2-ethernet.html

Edit: Ok, with Steves help, here is a really cute one http://www.ljcv.net/eip10/

SKOLS1
- 27th January 2011, 19:57
ok,it's ok.But I am confused,how to control the devices on the other side of the of the controller,how to send a command.What I have to make?

malc-c
- 28th January 2011, 20:21
Have a look at

http://www.mikroe.com/eng/products/view/14/serial-ethernet-board/ There are example files for such a device (OK it's not PicBASIC pro) which controls an LED via a web page

Also http://www.sfcompiler.co.uk/forum/viewtopic.php?p=7689#7689 has links to some examples in swordfish