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]
This along, with the Ajax WIFI http demo with microSD storage are the only two examples of ajax control with a microcontroller in the world at the time of release to be open sourced, ready to use and WiFi.
Ajax (Asynchronous JavaScript and XML) is a technology that allows to asynchronously send requests and retrieve data from a server, which results in a minimum change to the viewed page (even though the requests do not necessarily need to be asynchronous), because only the section needed for update can be requested allowing to continue using other parts of the page until the info arrives.
All this translate into an improved experience for the user who won't almost notice the web change, much like a desktop program, reducing reload waiting times and producing a more robust, reliable and efficient system.
It is important to note that the modifications for Ajax were mostly JavaScript programming, specifically using jQuery library which will load externally through the web page HEAD section (src=//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js), that said, the client computer requires internet access or modify the jQuery library source to the client local network.
Also as this was mostly JavaScript programming, adapting the code to other compilers should not be too difficult task.
The hardware is the EasyPIC v7 and WIFI Plus Click boards from mikroElektronika. However for the web server only a PIC, oscillator, WIFI plus click board and a power supply are required.
In the following link you could see a simulated version (not connected to a hardware) to have a first preview of the project: http://projects.eovirtual.com
-Minor code changes. Could even qualify as an update instead of new version, just didn't want to override the old one.
[ver 1.0.0.1]
-Fixed bug where only the last checkbox clicked was taken to the last known state (after response failure state triggered) when the system stayed waiting for Ajax response due to server down or network latency.
Este pequeño servidor HTTP WiFi, fue originalmente diseñado por el equipo de mikroElektronika, ahora incluyendo el poder de Ajax.
Ajax (Asynchronous JavaScript and XML) es una tecnologÃa que permite enviar de forma asÃncrona peticiones y recuperar datos de un servidor, lo que resulta en un cambio mÃnimo para la página visualizada (aunque las solicitudes no necesariamente tienen que ser asÃncronas), porque sólo la sección necesaria para la actualización puede ser solicitada, permitiendo continuar utilizando las otras partes de la página hasta que la información arrive.
Esto se traduce en una mejor experiencia para el usuario que casi no notará el cambio en la web, semejante a un programa de escritorio, reduciendo los tiempos de espera por recarga y la producción de un más robusto, fiable y eficaz sistema.
Y como dije anteriormente, como la programación fue mayormente realizada en JavaScript, adaptar el código para otros compiladores no debe ser una tarea muy compleja.
El hardware son las tarjetas EasyPIC v7 y WIFI Plus Click de mikroElektronika. Sin embargo para el servidor web sólo un PIC, oscilador, WIFI plus Click y una fuente de alimentación son obligatorios.
Tenga en cuenta que:
Este trabajo está licenciado bajo Creative Commons Attribution-ShareAlike 3.0 Unported license. Para ver una copia de esta licencia, visite http://creativecommons.org/licenses/by-sa/3.0/.
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 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.