Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (252 codes)
  2. Shawon Shahryiar (133 codes)
  3. Alcides Ramos (76 codes)
  4. Dany (64 codes)
  5. MikroBUS.NET Team (35 codes)
  6. NART SCHINACKOW (34 codes)
  7. Okba BENCHEROUDA (25 codes)
  8. Alberto Trasimeni (23 codes)
  9. Andrew Hazelden (23 codes)
  10. Agent Wolfz (22 codes)

Most Downloaded

  1. Timer Calculator (45419 times)
  2. Network Ethernet Library (27434 times)
  3. FAT32 Library (22516 times)
  4. Network WiFi Library (20874 times)
  5. USB Device Library (19635 times)
  6. GSM click - Example (14055 times)
  7. PID Library (13674 times)
  8. FT800 Library (12843 times)
  9. microSD click - Example (11416 times)
  10. GPS click - Example (8988 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

WIFI embedded WEBGL with PIC micro (3D animation)


Author: Wilson A. Gan Cuba

Last Updated: 2013-05-06

Category: WiFi

Downloaded: 674 times

Not followed.

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

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "WIFI embedded WEBGL with PIC micro (3D animation)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "WIFI embedded WEBGL with PIC micro (3D animation)" changes.

Do you want to report abuse regarding "WIFI embedded WEBGL with PIC micro (3D animation)".

  • Information
  • Comments (0)
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

This are the first two examples in the world! to load a  WebGL application using a microcontroller as a server (hey! don't let me wrong, find another made before and I'll stop presuming), with the plus of being open sourced, and WIFI.

They show how to load a webGL animation that will be mainly stored in a microSD card using a PIC microcontroller.

WebGL is a new web technology that brings hardware-accelerated 3D graphics to the browser without installing additional software. [ source:]

As WebGL is new  is not entirely supported by Opera. Safari only support it under the MAC platform. Some other mobile browsers also work partially. 

For current browser webGL support visit:

This project was successfully tested  in Mozilla Firefox, Google Chrome and Firefox Beta mobile under Android 4.0.4, Le-pan II tablet. 

Internet explorer 11 does support WEBGL but has not been tested with this project.

Bouncing cubes

Bouncing cubes author blog:

Watch on YouTube

Animated bear

Animated bear author page:

Watch on YouTube


-In this version a new example is included: Animated "bear" model.

-External scripts synchronized GET requests added to avoid browser timeout because of the MCU low transfer speed.


- HTML and javaScript content Gzipped and the project modified to support it, so that the loading time have been smoothed out.

- Google Chrome support added.

En español

Estos son los dos primeros ejemplos en el mundo en cargar una aplicación WebGL utilizando un microcontrolador como servidor (y no me permitan estar equivocado, si encuentran uno hecho antes dejo de presumir), con la ventaja adicional de ser de código abierto y WIFI.

Estos muestran cómo cargar las animaciones WebGL que se almacenan principalmente en una tarjeta microSD utilizando un microcontrolador PIC.

WebGL es una nueva tecnología web que brinda aceleración de hardware de gráficos 3D en el navegador sin necesidad de instalar software adicional.


Como WebGL es nuevo, no es del todo compatible con el navegador Opera. No parece que funcione en Safari en Windows OS. 

Para saber si su navegador lo soporta visite:

Este proyecto se puso a prueba con éxito en Mozilla Firefox, Google Chrome y Firefox Beta móbil bajo Android 4.0.4, tableta Le-pan II.

El Internet explorer 11 soporta WEBGL pero no fue probado en este projecto.






WIFI HTTP + media loading from microSD (image, audio and video) (HTML5 compatible)

This projects shows how to read a multimedia file from a microSD an load it into a web page.

[Learn More]

WIFI HTTP + image loading from PIC ROM

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]

Serial Port Utility

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

[Learn More]