TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136632 times)
  2. FAT32 Library (69839 times)
  3. Network Ethernet Library (55891 times)
  4. USB Device Library (46226 times)
  5. Network WiFi Library (41863 times)
  6. FT800 Library (41084 times)
  7. GSM click (28945 times)
  8. PID Library (26402 times)
  9. mikroSDK (26317 times)
  10. microSD click (25328 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: 963 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

Serial Port Utility

4

Utility to Read/Write the serial port. Useful with projects involving serial communication between microcontroller and PC.

[Learn More]

Ajax WIFI HTTP demo with ROM storage

0

Feel the power of Ajax. Take a look to the EXAMPLE BLOG, you'll find there a video demonstrating, how it works. Also as this was mostly JavaScript programming, adapting the code to other compilers should not be too difficult task. Release date: April, 08 2013

[Learn More]

Ajax WIFI HTTP demo with microSD storage

1

This project is similar in functionality to the original Ajax WIFI HTTP demo with ROM storage, but has been modified in several aspects to make the web page files be stored and served from a microSD card. Release date: May, 07 2013.

[Learn More]