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.
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.