To build a web server application on an Olimex Ethernet SBC, you have to download the Olimex version of the Microchip TCP/IP stack and modify it. To get started with it, as a first step, I got rid of files that I don't need for implementing a web server. The Microchip stack uses a ~ variable embedded in HTML pages to serve your custom information on a web page.
Sunday, June 9, 2013
Wednesday, May 15, 2013
Web front-end for an ethernet PIC SBC
I now have a basic web interface with a PIC SBC. It uses ajax to get simple text based information back and forth between the SBC and the browser. This blog looks at building the web front-end to interact with the SBC in a more user-friendly way.
With the limited resources of a PIC, it makes sense to move all the user interface logic to the browser. This will leave just the bare functions within the PIC while still having a reasonably rich UI. Nothing beats understanding a UI by trying it out. Use a dummy version of it to see how it works and study the associated HTML and javascript to explore its inner workings.
Sunday, May 12, 2013
Web Interface for an ethernet based IR Interface
In the past few blogs, we looked at implementing an IR remote control interface on an ethernet SBC. We also looked at how records can be stored on the EEPROM on the SBC. Now we look at the web interface required to use the SBC as an IR remote control.
Implementing EEPROM Storage
In a previous blog, we looked at how you can store a bunch of records of varying types but all of fixed length in an EEPROM on an Olimex ethernet SBC. Now let us take a real world example, well, my world anyway, and store that in an EEPROM. As it is on an ethernet SBC, we will also write code to allow the records to be stored and received using a browser. The data to be stored is the IR signals required to control one or more audio or video components like TVs, DVD Players, etc.
Saturday, May 4, 2013
Storing records on a PIC web server
Tuesday, April 9, 2013
From HDD to SSD - tuning the SSD
My situation is as follows:
- The laptop is an HP Envy15-3012TX running Windows 7 Home Premium
- The disk uses a Dynamic MBR, complicating matters
- There are a few 'hidden' partitions holding the recovery software that need to be transferred as well
- The HDD (750GB) is much bigger than the SSD (250GB), which means partitions have to be shrunk and moved
- Recovery and repair disks are not available