Phidgets 1070 - PhidgetSBC Manuel utilisateur

Product Manual
1070 - PhidgetSBC

Phidgets 1070 - Product Manual
For Board Revision 0
© Phidgets Inc. 2009

Contents
6 Introduction
6 Overview
6 Product Features
6 Computer
6 Connections
6 Integrated InterfaceKit 8/8/8
7 Programming Environment
8 Getting Started
8 Checking the Contents
8 Connecting all the pieces
9 Testing Using Windows 2000/XP/Vista
9 Downloading the Phidgets drivers
9 Running Phidgets Sample Program
9 Entering New Password
10 Updating the Firmware
12 Testing the Phidget InterfaceKit 8/8/8 Over the Webservice
14 Viewing the Webcam
14 Rebooting/Resetting the PhidgetSBC
15 User’s Guide
15 Layout
16 Basic Use
16 Phidget Webservice
16 Reliability
17 Finding Phidgets on the Network
17 Configuration
18 TheCongurationPage
18 Main: PhidgetSBC Info
18 Main: About
18 Status: General
19 Status: Phidgets
19 Status: USB
20 Network: Network
20 Network: Webservice
20 Network: Wireless
21 Userspace: Userspace Browser

21 Userspace: Applications
23 Webcam: Webcam
23 System: Settings
24 System: Logs
24 System: Password Change
24 System: Backup & Restore
25 System: Upgrade
25 System: Reboot
26 Networking Guide
26 Initial Setup
26 ZeroCongurationNetworking
26 Setting up an Ethernet Connection
26 Setting up a Wireless connection
27 No DHCP Server?
28 Advanced User’s Guide
28 Custom Applications
29 GCC
29 Phidget Dictionary
29 SSH
29 Customization
30 Custom Kernels and Filesystem
31 Technical
31 Power Over Ethernet
31 Hardware Layout
31 Software Layout
31 Date and Time
32 Wireless Networking System
32 Configuration System
32 Nand Layout
32 Boot Process
33 U-Boot
33 Drivers for USB to Serial adapters
34 Mechanical Drawing
34 Device Specifications
35 PhidgetInterfaceKit 8/8/8
35 General

35 Product Features
35 Programming Environment
35 Programming a Phidget
35 Architecture
35 Libraries
36 Programming Hints
36 Networking Phidgets
36 Documentation
36 Code Samples
37 API for the InterfaceKit 8/8/8
38 Technical
38 Analog Inputs
41 Digital Inputs
44 Digital Outputs
46 Using the 4-Port USB Hub
47 ProductSpecications
48 Product History
48 Support
48 Legal Information

6
1070_0_Product_Manual - October 28, 2010 8:52 AM
Introduction
Overview
The PhidgetSBC is a fully functional Single Board Computer
with an integrated PhidgetInterfaceKit 8/8/8. At its most
basic, it can be thought of as a Phidget that you connect
using a network cable instead of directly to the USB. The
PhidgetSBC also provides four USB full-speed ports that allow
you to use normal USB Phidgets over its network connection.
This can extend the effective range of a Phidget from USB’s
maximum of 15 feet, to anywhere that your network reaches.
The PhidgetSBC exposes an easy to use interface for setting
up and running custom applications on-board, written in
either Java or C. This allows the PhidgetSBC to operate
autonomously, without the need for a graphical interface or a
remote connection at all times.
For more advanced users, the PhidgetSBC is an embedded
computer that runs a custom Linux Distro, built using Buildroot. We provide full shell access via a built-in SSH server,
full GCC and development tools, the GDB debugger, and all of the standard command line tools expected on a
modern Linux system. This allows for on-board development in C, and full access to the system for customizing.
An integrated PhidgetInterfaceKit 8/8/8 allows you to connect devices to any of 8 analog inputs, 8 digital inputs and
8 digital outputs. It provides a generic, convenient way to interface your PC and PhidgetSBC with a wide variety of
devices and it operates exactly the same way as an external PhidgetInterfaceKit.
Product Features
Computer
Fully functional single board computer running Linux with Java and C libraries. You can compile your own•
programs or customize the OS, and run it on the onboard memory.
Easytousecongurationinterface.•
Connections
An on-board powered 4-port full-speed (12Mbit/s) USB hub lets you• connect Phidgets USB devices, and web
cameras.
Ethernet port and included USB Wireless networking adapter.•
Integrated InterfaceKit 8/8/8
The PhidgetInterfaceKit 8/8/8 allows you to connect devices to any of 8 analog inputs, 8 digital inputs and 8 digital
outputs.

7
1070_0_Product_Manual - October 28, 2010 8:52 AM
Programming Environment
Operating System: Custom Linux Distro, built using Buildroot
Programming Languages (APIs): C/C++, Java
Examples: Many example applications for all the operating systems and development environments above are
available for download at www.phidgets.com.
Note: AninternetbrowserisrequiredtousethecongurationGUI.
When controlling the PhidgetSBC remotely, you can use any Phidgets supported operating systems and languages:
Operating Systems: Windows 2000/XP/Vista, Windows CE, Linux, and Mac OS X
Programming Languages (APIs): VB6, VB.NET, C#.NET, C++, Flash 9, Flex, Java, LabVIEW, Python, Max/MSP,
and Cocoa.
Analog inputs
They are used to measure continuous quantities, such as temperature, humidity, position, pressure, etc. Phidgets
offers a wide variety of sensors that can be plugged directly into the board using the cable included with the sensor.
Here is a partial list of sensors currently available:
IRDistanceSensor IRReectiveSensor VibrationSensor LightSensor
Force Sensor Humidity Sensor Temperature Sensor Magnetic Sensor
Rotation Sensor Voltage Divider Touch Sensor Motion Sensor
Mini Joy-Stick Pressure Sensor Voltage Sensor Current Sensor
Slide Sensor
Digital Inputs
Digital Inputs can be used to convey the state of push buttons, limit switches, relays, logic levels, etc...
Digital Outputs
Digital Outputs can be used to drive LEDs, solid state relays (have a look at our SSR board), transistors; in fact,
anything that will accept a CMOS signal.
Digital outputs can be used to control devices that accept a +5V control signal.
With transistors and some electronics experience, other devices can be controlled, such as buzzers, lights, larger
LEDs, relays.

8
1070_0_Product_Manual - October 28, 2010 8:52 AM
Connect the analog sensor to the analog1.
input port 4 using a Phidgets sensor
cable. The analog input ports are
numbered from 0 to 7 starting from the
left.
Connect one end of a wire to digital2.
input port 0 and the other end to
ground (labelled ‘G’ on the underside of
the board).
Connect the LED by inserting the long3.
LED wire into the digital output 7 and
the shorter wire into Ground.
Connect the power supply to the Phidget4.
SBC using the barrel connector.
Connect the PhidgetSBC to your network with an ethernet cable.5.
Plug the wall adapter into an appropriate outlet. The red status indicator light located near the USB ports should
be lit if the unit is receiving power. The green LED located above the red LED indicates boot status. The green
LED will turn on and off once during boot and then turn back on when everything is running.
Other Phidgets can also be connected to the 1070 using a USB cable.6.
Getting Started
Checking the Contents
You should have received:
A Power Supply1.
A Cat-5e network cable2.
Mounting kit3.
A PhidgetSBC Board4.
A 802.11b/g USB Wireless adapter5.
A USB Extender cable6.
To test your new PhidgetSBC, you will also
need:
A short length of wire to test the digital inputs•
An LED to test the digital outputs•
An Analog Sensor to test the analog inputs•
A UVC compatible Webcam•
2
1
45
3
6
Connecting all the pieces
2
1
4
5
3
6

9
1070_0_Product_Manual - October 28, 2010 8:52 AM
Entering New Password
Ifthisisthersttimeseeingthispage,youwill
need to enter a new root password.
Typeinandconrmyourpasswordandclickon
Set. Retype your password in the Windows Pop-
up; Click OK.
Subsequent visits will use the username ‘root’
and the password you input.
Make sure that the PhidgetSBC is powered and properly
connected to your network. Make sure that the MAC address in
the Control Panel is identical with the one on the sticker on the
back of your board.
Click the PhidgetSBC tab in the Phidget Control Panel.
Double click on the PhidgetSBC device to bring up the PhidgetSBC
congurationpanelinyourdefaultwebbrowser
Testing Using Windows 2000/XP/Vista
Downloading the Phidgets drivers
Make sure that you have the current version of the Phidget library installed on your PC. If you don’t, do the
following:
Go to www.phidgets.com >> Drivers
Download and run Phidget21 Installer (32-bit, or 64-bit, depending on your PC)
You should see the icon on the right hand corner of the Task Bar.
Running Phidgets Sample Program
Double clicking on the icon loads the Phidget Control Panel; we will use this program to make sure that your
new Phidget works properly.

10
1070_0_Product_Manual - October 28, 2010 8:52 AM
Oncethermwarehasbeendownloaded
andtheashmemoryhasbeenrewritten,
the SBC will reboot.
TheGreenlightwillashonceandthen
turn off. Once it turns back on, the SBC is
ready to use.
Updating the
Firmware
Click on System >> Upgrade.
Comparethermwareversionon
your SBC against the most recent
versionavailable.Youcanndyour
SBC’srmwareversionbyclicking
on Main >> PhidgetSBC Info. If
your version is older you must
updateyourSBCrmware.
Download from Phidgets
inc.
If you have a fast ethernet
connection, you can download the
newrmwaredirectlyintoyour
SBC. Note that the “Download from
Phidgets Inc.” will not appear if the SBC cannot connect to www.phidgets.com.
Select Download from Phidgets Inc , and then choose the most current version of phidgetsbc-minimal or phidgetsbc-
full from the pull-down list.
Click on Upgrade.
The PhidgetSBC Info is displayed.
Table des matières
Manuels Carte mère populaires d'autres marques

Telit Wireless Solutions
Telit Wireless Solutions SL869-3DR Manuel utilisateur

Gigabyte
Gigabyte GA-9IVDT Manuel utilisateur

Texas Instruments
Texas Instruments ADS8372EVM Manuel utilisateur

Commell
Commell MS-C73 Manuel utilisateur

IBT Technologies
IBT Technologies MB860 Manuel utilisateur

Nvidia
Nvidia TEGRA DG-04927-001_V01 Manuel utilisateur











