Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

pic16f877 and enc28j60 interfacing

Status
Not open for further replies.

amin.pakr

Newbie level 6
Joined
Oct 30, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,355
Hello there!
I`m trying to connect my PIC16F877 to internet using ENC28J60 and control the PIC through website on the internet.
BUT, I don`t know how to initialize the PIC and where my web page will be ( in a separate website or will it be stored in the pic16f877 ) ?
And ,if the webpage will be on an online web :how does it command the PIC to do something?and what language will be used for the web??
Please help me for the assumed two cases ..........

---------- Post added at 14:55 ---------- Previous post was at 14:53 ----------

help me also to build tcp ptotocol that will be used in the above problem.
 

you wont get a lot of memory in a 16f877 to implement a tcpip stack...
better use a pic 18f ?
 

plz help me to host the webpage outside the PIC micro and control the remote mcu by the web :D

---------- Post added at 02:06 ---------- Previous post was at 02:02 ----------

thnx Kripton2035
plz help me to host the webpage outside the PIC micro and control the remote mcu by the web :D
 

thnx for help,
But this examples include hosting the webpage inside the mcu as a small server.
In my project i want to host the webpage outside the mcu not inside .
 

you HAVE to have a small web server on the pic to connect your sensors to it
after that, you can include an hyperlink to your external web server
but you have to make a small web server on the pic mcu ...
 
please show me how can I connect my PIC to an external webserver, And what do you mean by hyperlink?
i will make the pic as small server but i need to control it using PHP webpage.
 

php won't work on a pic - you need a "real" computer with at least linux on it to do so...
I saw a linux on a pic32 once but surely not on a 16f877 !!!!
you can do http, ftp, ntp on a pic, these are simple protocols but enought to read sensors and display them in an internet browser

you can do it the other side, read your "simple" pic from your "big" php server
it will be quite impossible to do it in the way pic->php server.
 

I`m not going to programming PIC by PHP ,the PIC will be programmed by micro c
The web programmed by PHP language will send a message to the PIC ip to turn on or off a device,right?
I need to set the PIC to respond to the message filtered by the ethernet controller(ex. ENC28J60).
If I`m right in what I said please tell me about the basic steps to do that.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top