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: Difference between revisions

From Phidgets Legacy Support
No edit summary
No edit summary
Line 12: Line 12:




As with any of our [[Application Guides|described projects]], Phidgets takes care of the electrical component design.  If you want something more powerful and flexible to control Phidgets over a network, you may be interested in these other Application Guides:
As with any of our [[Application Guides|described projects]], Phidgets takes care of the electrical component design.  This is a middle-ground solution to controlling Phidgets over a network using the SBC. 
* [[Web Page on the SBC]] - Controlling Phidgets over the web using CGI
* If you just want data to go back and forth between Phidgets and your computer - via the SBC - over the network, you probably want the simple example in the [[Use Phidgets Wirelessly with the SBC]] guide.
* [[Web Server on the SBC]] - Controlling Phidgets over the web using a full self-contained webserver embedded in C code
* If you want something more powerful and flexible to control Phidgets over a network, you may be interested in the full [[Web Server on the SBC]] guide.


'''Time:''' A few hours


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


'''Special Needed Tools:''' A Phidget SBC, Ethernet and power cords (or Wireless), an LED, and your computer.  
You should have already worked through the [[1072 - Getting Started]] page to have set up the network on your SBC and obtained its IP or local link address.<br>
*Getting Started
You should also have set up SSH on the SBC as described on the [[OS - Phidget SBC#SSH|OS - Phidget SBC]] page.


__TOC__
__TOC__

Revision as of 15:58, 19 March 2012

The project described here creates a website hosted on the Phidget Single Board Computer (SBC). The website can both serve static pages, as well as pages that can send simple requests back and forth to the Phidgets attached to the SBC.

Practical concepts covered are (click on links to see other projects on that topic):
  • Using Phidgets with Python
  File:TBD


As with any of our described projects, Phidgets takes care of the electrical component design. This is a middle-ground solution to controlling Phidgets over a network using the SBC.

  • If you just want data to go back and forth between Phidgets and your computer - via the SBC - over the network, you probably want the simple example in the Use Phidgets Wirelessly with the SBC guide.
  • If you want something more powerful and flexible to control Phidgets over a network, you may be interested in the full Web Server on the SBC guide.

Time: A few hours

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

You should have already worked through the 1072 - Getting Started page to have set up the network on your SBC and obtained its IP or local link address.
You should also have set up SSH on the SBC as described on the OS - Phidget SBC page.

Introduction

Phidgets

Code

Putting it All Together

Extra Credit