Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Web Page on the SBC

From Phidgets Legacy Support
Revision as of 13:59, 19 March 2012 by Cora (talk | contribs) (Created page with "<!-- CATEGORIES --> Category:phidgetSBC Category:internetSBC The project described here is a self-contained web server on the Phidget Single Board Computer (SBC). We com...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The project described here is a self-contained web server on the Phidget Single Board Computer (SBC). We compose and serve a complete HTTP page within C, and include Phidget data on it. We also accept data to control attached Phidgets in our request.


Practical concepts covered are (click on links to see other projects on that topic):   File:TBD


As with any of our described projects, Phidgets takes care of the electrical component design. Here, we also provide in-depth instructions on installing external libraries on the SBC from source, and from an SVN trunk. We then show how to use the microhttpd.h library within C code to communicate with and control attached Phidgets.

Note: This is a complex way of doing something that the SBC can do much more simply. This page uses the simple example of using an Interface Kit over the network to demonstrate the much more complex concept of using embedded C HTTP servers. An embedded server is a powerful beast, and wanting to create one probably means you've grown needs above and beyond our simple Application Guides. The simpler guides are:

  • If you just want to get Phidget data over the network, the SBC already does this naturally from the time it ships. We show an application in the Use Phidgets Wirelessly with the SBC guide.

Time: About a day

Special Needed Tools: A Phidget SBC, Ethernet and power cords (or Wireless), an LED, and your computer.

  • Getting Started

Introduction

Phidgets

Code

Putting it All Together

Extra Credit