ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM

General discussion on mikroBasic.
Author
Message
yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#31 Post by yo2lio » 10 May 2008 09:24

aftervillage wrote:Why not using the meta tag of html like:

<meta http-equiv="refresh" content="600">

put it in your head definition (before the body).

info from:
http://webdesign.about.com/od/metatagli ... 80300a.htm

setInterval is working for firefox and IE using this example from w3schools.com:
http://www.w3schools.com/js/tryit.asp?f ... etinterval
Because in this example I want to refresh just my variables not all web pages ....

In other applications I use your solutions and work both Explorer an Firefox.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

#32 Post by arco » 10 May 2008 11:01

Thanks,

After knowing this I retested, and the original code did refresh the values, but mostly after 8...12 seconds, so I probably didn't wait long enough... I'm using IE6 on W2K. Seems that 5 seconds isn't exactly 5 seconds with MS... :D

I have one other question. Is it possible (and not too complicated!) to embed a small bitmap in the web server page (with a logo)?
Regards,

Peter.

crocu
Posts: 71
Joined: 18 Jun 2008 09:28
Location: France, Macon

#33 Post by crocu » 18 Jun 2008 09:37

Hello

As i'm novice with this new PIC family, and i do NOT own LV18FJ board yet.

I would like to built a small PIC18F97J60 Web server kit to pilot GPIO over internet, such as the one that Florin Medrea made and described on his web page :

http://www.microelemente.ro

Maybe Florin would accept to share his project and post schematics + PCB layout ?

I can see that libraries are now available on his website but i did not found any schematic (drawing) of the module he made .

Can someone post a drawing showing us how to wire PIC18F97J60 to use it as web server in order to manage GPIO over Internet Explorer browser ?

how should we do to send to the PIC module our own web pages and browse them with IE or Firefox to pilot the GPIO and maybe read temperature sensors and so on ... ?

Would someone be kind enough to post a ' tutorial ' step by step about doing this ?

Your help will be much appreciated.
Many thanks

neske
Posts: 45
Joined: 04 Sep 2007 10:34

#34 Post by neske » 18 Jun 2008 19:04

Crocu, are you novice to 18FxxJxx or PIC in general? All you need, beside Florin's library, are datasheet and PIC itself.

fzanoto
Posts: 225
Joined: 25 Jul 2006 13:53

#35 Post by fzanoto » 07 Jul 2008 19:53

Hi,
The oscilator is: 25Mhz in HS mode ??
Enable PLL ??
This is work to Pic18F87J60 ??

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#36 Post by yo2lio » 07 Jul 2008 21:06

fzanoto wrote:Hi,
The oscilator is: 25Mhz in HS mode ??
Enable PLL ??
This is work to Pic18F87J60 ??
Yes HSPLL mode, with OSCTUNE = %01000000 , MCU Clock = 41.666667 MHz.

Read datasheet for more detail ...
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#37 Post by yo2lio » 03 Aug 2008 12:16

Hello all,

New version of Ethernet library is available.

With full open source , examples and documentations.

Source code only in MikroPascal.

You can download this library from here :
http://www.microelemente.ro/MikroBasic/ ... amples.zip

Enjoy !
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#38 Post by yo2lio » 22 Aug 2008 10:46

Library updated !

Added hw_cksum flag, default state false (Ethernet checksum in software)
User can modify this flag on the fly, (can chose between software checksum and hardware checksum)
Regarding ERRATA (JUL 2008) :? , hardware checksum is not recommended !

Source code available only in MikroPascal language.

You can download this library from here :
http://www.microelemente.ro/MikroBasic/ ... amples.zip

Enjoy !
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Oluwole_Oyetoke
Posts: 19
Joined: 06 May 2013 22:02

Re: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60

#39 Post by Oluwole_Oyetoke » 13 Jul 2013 15:15

Hi barry, u must be a pro at the ethernet module by now, 2013. Please, im working on it currently, but it seem realydifficult for me. please can u help out. Thanks

Post Reply

Return to “mikroBasic General”