TOP Contributors

  1. MIKROE (2759 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139222 times)
  2. FAT32 Library (71731 times)
  3. Network Ethernet Library (57110 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28031 times)
  9. PID Library (26881 times)
  10. microSD click (26196 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

W5100 LIBRARY Embedded Web Server - EXAMPLE

Rating:

5

Author: NART SCHINACKOW

Last Updated: 2013-07-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Ethernet

Downloaded: 3060 times

Followed by: 3 users

License: MIT license  

This sample uses PIC18F2520 interfaced with W5100 Ethernet module as web-server to display web pages stored in a memory card, webpages are within the downloaded file just copy them and paste them in your mmc, the sample uses mikroelectronika MMC FAT16 new version library for reading and fragmenting the pages.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "W5100 LIBRARY Embedded Web Server - EXAMPLE" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "W5100 LIBRARY Embedded Web Server - EXAMPLE" changes.

Do you want to report abuse regarding "W5100 LIBRARY Embedded Web Server - EXAMPLE".

  • Information
  • Comments (3)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Mikroe New FAT16

Mikroe New FAT16

Library

View full image
login page

login page

screen shot of the demo page when the ip address is entered

View full image

This example is a demonstration of how to implement a simple HTTP embedded server using the W5100 SOFTWARE INTERFACED (SPI) LIBRARY, it uses MIKROELEKTRONIKA new FAT16 library, hence a memory card must be available for this project.


DESCRIPTION:

MICROCONTROLLER : PIC18F2520
OSCILLATOR: 40 MHZ (10MHZ PLL X4)

Default network parameters :
ip:192.168.1.30:90
subnet mask:255.255.255.0
default gateway: 192.168.1.1
-->these parameters could be changed depending on your network needs in the header file "Ethernet.h" where it contains a structure named "LocalParameters".

Hardware connections :
hardware connections are found in the header file "HardwarePins.h", where it contains all the extern sbit... definitions for pin connections.
The rest of the files and definitions are utilities and library files.

How it works:
all you have to do is copy and paste the files inside the flash files folder to your memory card.
after that reset your PIC and go to your browser and hit 192.168.1.30:90 and then a login page like the one above will be prompted, enter aaaa as username and aaaa as password then a page not found will be prompted.
you could also try to type : 192.168.1.30:90/pic.txt and a picture will be displayed.

NOTE:- THE LIBRARY IS FOUND AT LIBSTOCK

Note: This Project May Be Optimized And Changed Any Time So Stay Tuned

CHECK OUT MY WEBSITE FOR MORE CODES AND PROJECTS

ALSO FROM THIS AUTHOR

SOFTWARE VERSION W5100 (Built In TCP/IP Stack) Module Demo

5

This is another version of the W5100 ethernet module posted before at LIBSTOCK, the main difference is that you could connect it to any PIC pins, no need to worry about having HARDWARE SPI Any More! instead you could use the hardware SPI (If Available) for anything else.

[Learn More]

C# Base64 Encryption/Decryption Application

0

This is a program developed using visual c# 2010 express, it allows you to encrypt any given data string to Bas64 and decrypts any encrypted string to its original data. This is a good utility used when using "basic-realm" authentication in web pages which uses bas64 encryption

[Learn More]

C# Networks Api Library

5

This is a networks api library built in C#, it facilitates the communication between any two devices that use TCP/IP transport protocol. through a simple event driven program you could build a multi threaded connection. this package contains the dll library all you need to do is import it to your project references.

[Learn More]