TOP Contributors

  1. MIKROE (2760 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 (139226 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 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 (28050 times)
  9. PID Library (26881 times)
  10. microSD click (26197 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

WIFI HTTP + javaScript file loading from microSD card (Hello world! example)

Rating:

0

Author: Wilson A. Gan Cuba

Last Updated: 2013-05-08

Package Version: 1.0.0.2

Example: 1.0.0.0

Category: WiFi

Downloaded: 1000 times

Not followed.

License: MIT license  

The intent of this example is to show how to merge the mikroElektronica's wifi http demo with the microSD demo so that the web page can grow bigger due to the ROM space of the MCU can be saved utilizing the microSD as storage of external files.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "WIFI HTTP + javaScript file loading from microSD card (Hello world! example)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "WIFI HTTP + javaScript file loading from microSD card (Hello world! example)" changes.

Do you want to report abuse regarding "WIFI HTTP + javaScript file loading from microSD card (Hello world! example)".

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

Example Blog

The intent of this example is to show how to merge the mikroElektronica's wifi http demo with the microSD demo so that the web page can grow bigger due to the ROM space of the MCU can be saved utilizing the microSD as storage of external files.

The page on this example will load a variable (hello) contained in the file testing.js in the microSD card with the content: "Hello World!".



Example

Example

Final result using Mozilla firefox with firebug.

View full image
Wifi plus and mikroSD click boards

Wifi plus and mikroSD click boards

Boards used

View full image

[version 1.0.0.1]

1-External file dynamically generated URL to avoid browser caching, although caching may be sometimes desirable (but not for testing purposes, because instant code change is required).

2-Fixed bug that produced external file content incorrect reading.

Lenguaje español

La intención de este ejemplo es mostrar cómo combinar la demostración WIFI HTTP con la demostración microSD de mikroElektronika para que la aplicacion  web pueda escalar debido a que el espacio de la memoria ROM del MCU se puede ahorrar utilizando la tarjeta microSD como almacenamiento de archivos externos.

La página en este ejemplo carga una variable (hello) contenida en el archivo testing.js almacenado en la tarjeta microSD con el contenido: "Hello World!".


ALSO FROM THIS AUTHOR

WIFI HTTP + multi file loading from PIC ROM ( .html, .css, .js)

0

The purpose of this project is to demonstrate in a simplified manner, how add multiple files to Mikroelektronika's WIFI HTTP demo, which will be stored in the PIC ROM but could be requested through the main web page as external files, all to be included in the same web page.

[Learn More]

WIFI embedded WEBGL with PIC micro (3D animation)

0

The first two examples in the world to demonstrate how to load a WEBGL animation using a PIC microcontroller. Release date: April, 28 2013

[Learn More]

WIFI HTTP + image loading from PIC ROM

0

Simple example to demonstrate how an image (or probably almost any binary file) can be encoded in base64 format and loaded into the PIC ROM as long as the ROM space allows it.

[Learn More]