Products for USB Sensing and Control

Products for USB Sensing and Control

PHIDGETS Inc.

Unit 1 - 6115 4 St SE
Calgary AB  T2H 2H9
Canada
+1 403 282-7335

PhidgetSBC4

ID: SBC3003_0

Single Board Computer running Debian with 3 full-speed USB ports and 6 VINT ports. 512 MiB SDRAM and 16 GB SD Card.

$120.00

Quantity Available: 64

Qty Price
5 $114.00
10 $108.00
25 $96.00
50 $84.00
100 $78.00
250 $72.00
500 $66.00
1000 $60.00

The Phidget SBC4 is a Single Board Computer with six integrated VINT ports. If you've ever wanted your Phidgets to be further away from your desktop computer than a USB cable can reach, an SBC is the solution. The SBC4 has it's own small computer which can make your USB Phidgets and VINT devices available over your home network. You can include the SBC4 in your network by plugging it in via ethernet cable, or by connecting a wifi adapter to one of its USB ports.

The VINT SBC exposes an easy to use interface for setting up and running custom applications on-board. This allows the VINT SBC to operate autonomously, without the need for a graphical interface or a consistent remote connection.

The SBC4 is an embedded computer that runs Debian GNU/Linux. We provide full shell access via a built-in SSH server, access to the full Debian package repository, and all of the standard command line tools expected on a modern Linux system.

VINT Ports

With the Phidget SBC4, you can connect six devices and make them available over the network. Each VINT port can perform one of four roles: Communicating with an intelligent VINT Device, reading a 0-5V Voltage or ratiometric sensor, acting as a digital output, or reading switches as a digital input. Each port has a power and ground pin, so you can also use the ports to gain access to the SBC's 5V supply.

Plug in one of our many VINT-enabled Phidgets that perform a wide variety of functions. Control motors and LEDs, measure temperature or motion, or build a large scale system with many inputs and outputs.

USB Ports

With its three high-speed USB ports, you can connect a variety of useful devices: USB Phidgets, webcams, keyboards, wifi adapters, and more!

MicroSD Card

The SBC4 comes equipped with a MicroSD card port and 16GB card which gives you plenty of storage space and easy access to your progams and files. The card comes pre-loaded with the operating system and Phidgets drivers.

HDMI Port

The HDMI port on the SBC4 gives it the capability to connect to a monitor to display its Linux terminal. Combined with a USB keyboard, you can type commands or provide program input directly without the need for remoting in via SSH.

Product Specifications

SBC
CPU Allwinner A20
Core Dual-Core ARM Cortex-A7
CPU Speed **Up to 960 MHz
SDRAM Size 512 MiB
Boot Time 20 s
Ethernet Cable 10/100BASE-T
Electrical Properties
Supply Voltage Min 6 V DC
Supply Voltage Max 30 V DC
Current Consumption Max 2 A
Current Consumption Min 100 μA
Available External Voltage 5 V DC
Available External Current 500 mA
USB Hub
Number of USB Ports 3
USB Speed High Speed
Available Current per USB Port 500 mA
Board
Number of VINT Ports 6
Power Jack 5.5x2.1mm, Center Positive
Operating Temperature Min 0 °C
Operating Temperature Max 70 °C
Voltage Inputs
Number of Voltage Inputs 6 (Shared)
Voltage Input Resolution * 16 bit
Sensor Input Impedance 324 Ω
Input Voltage Min (DC) 0 V DC
Input Voltage Max (DC) 5 V DC
Voltage Input Noise ± 630 μV DC
Sampling Interval Max 60 s/sample
Sampling Interval Min 1 ms/sample
Digital Inputs
Number of Digital Inputs 6 (Shared)
Pull-up Resistance 124 kΩ
Low Voltage Max (True) 1 V DC
High Voltage Min (False) 1.8 V DC
High Voltage Trigger Length Min 3 ms
Low Voltage Trigger Length Min 3 ms
Digital Input Voltage Max 5.5 V DC
Digital Input Type Switch (Active Low)
Digital Outputs
Number of Digital Outputs 6 (Shared)
Series Resistance 510 Ω
Digital Output Available Current 81 mA
Digital Output Voltage Min 0 V DC
Digital Output Voltage Max 3.3 V DC
PWM Frequency Max 50 kHz
PWM Resolution 0.8 %

*Voltage measured with a 10-bit ADC, oversampled to 16-bits.

**This processor supports dynamic frequency scaling, which lowers the clock speed to save power depending on processing load.

Documents

Code Samples

APILanguageOS
DigitalInput C Multiple Download
DigitalInput C# Windows Download
DigitalInput Java Multiple Download
DigitalInput JavaScript Any Download
DigitalInput Objective-C macOS Download
DigitalInput Python Multiple Download
DigitalInput Visual Basic .NET Windows Download
DigitalOutput C Multiple Download
DigitalOutput C# Windows Download
DigitalOutput Java Multiple Download
DigitalOutput JavaScript Any Download
DigitalOutput Objective-C macOS Download
DigitalOutput Python Multiple Download
DigitalOutput Visual Basic .NET Windows Download
VoltageInput C Multiple Download
VoltageInput C# Windows Download
VoltageInput Java Multiple Download
VoltageInput JavaScript Any Download
VoltageInput Objective-C macOS Download
VoltageInput Python Multiple Download
VoltageInput Visual Basic .NET Windows Download
VoltageRatioInput C Multiple Download
VoltageRatioInput C# Windows Download
VoltageRatioInput Java Multiple Download
VoltageRatioInput JavaScript Any Download
VoltageRatioInput Objective-C macOS Download
VoltageRatioInput Python Multiple Download

Projects

Product History

Date Board Revision Device Version Comment
September 20170100Product Release

Software Objects

Channel NameAPIChannel Hub Port
Hub Port - Digital Input Mode
Digital Input DigitalInput 0 0 - 5
Hub Port - Digital Output Mode
Digital Output DigitalOutput 0 0 - 5
Hub Port - Voltage Input Mode
Voltage Input VoltageInput 0 0 - 5
Hub Port - Voltage Ratio Mode
Voltage Ratio Input VoltageRatioInput 0 0 - 5
6-Port SPI VINT Hub Phidget
VINT Hub Hub 0  

API


Back Forward
Print this API


Welcome

Welcome to the user guide for the SBC3003. In this guide we will introduce you to your new Phidget and show you what it is capable of. To get started, make sure you have the following things available:

  • Your new SBC3003.
  • An Ethernet cable.
  • An 8-30VDC power supply.
  • A computer.
  • Optional: A USB Phidget, VINT Phidget, or analog sensor.


Ready? Then let's get started!

Getting Started

Follow the steps below:

1. If you have any USB Phidgets, VINT Phidgets, or analog sensors, plug them into the SBC now.

2. Connect your SBC to your network using the Ethernet cable.

3. Connect your SBC to power. A red LED will immediately light up underneath the power barrel, indicating your SBC is receiving power. There is also a green LED that will briefly turn on when power is supplied, and then remain on after the SBC has fully booted.


The next step will be to access the SBC Web Interface. This process will vary slightly depending on what type of computer you use:

Windows

First things first: make sure you have the latest Phidget drivers installed on your machine. Download and run the installer:


Now that you have the drivers installed, find the Ph.jpg icon in the taskbar. If it is not there, open up the start menu and search for Phidget Control Panel


Windows PhidgetTaskbar.PNG


Double click on the icon to open the Phidget Control Panel and navigate to the PhidgetSBCs tab:


Phidgetsbc windowscontrolpanel.PNG


As shown in the image above, the Phidget Control Panel will relay the following information to you:

  • The default link local address (mDNS address) which is phidgetsbc.local
  • The IP address. There is no default IP address, it must be assigned to the SBC.
  • The MAC address. This is useful for distinguishing between multiple SBCs.


Next, double-click on your SBC in the Phidget Control Panel. This will automatically open the SBC Web Interface, which, conveniently enough, is our next topic! Jump ahead to the SBC Web Interface.

macOS

First things first: make sure you have the latest Phidget drivers installed on your machine. Download and run the installer:


Now that you have the drivers installed, open the Phidget Control Panel by finding the Ph.jpg icon in your applications folder.

Open the Phidget Control Panel application and navigate to the PhidgetSBCs tab:

Phidgetsbc maccontrolpanel.png

As shown in the image above, the Phidget Control Panel will relay the following information to you:

  • The default link local address (mDNS hostname) which is phidgetsbc.local
  • The IP address. There is no default IP address, it must be assigned to the SBC.
  • The MAC address. This is useful for distinguishing between multiple SBCs.


Next, double-click on your SBC in the Phidget Control Panel. This will automatically open the SBC Web Interface, which, conveniently enough, is our next topic! Jump ahead to the SBC Web Interface.

Linux

First things first: make sure you have the latest Phidget drivers installed on your machine. Head over to the getting started with Linux section on the Linux page in order to get everything installed.


Now that your machine is ready to go, type the following command into the terminal:

phidget22admin -s

Your terminal will look something like this:

Phidgetsbc linuxphidgetadmin.PNG

As shown in the image above, the phidget22admin call will relay the following information to you:

  • The default link local address (mDNS hostname) which is phidgetsbc.local
  • The IP address. There is no default IP address, it must be assigned to the SBC.
  • The MAC address. This is useful for distinguishing between multiple SBCs.


Now that you know the IP address that has been assigned to the SBC, type it into a web browser and hit enter. This will open the SBC Web Interface, which, conveniently enough, is our next topic!

SBC Web Interface

The SBC Web Interface is a powerful tool that will prove invaluable when you begin development. You opened the SBC Web Interface in the previous step, so let`s jump right in and set a password!

Setting a password

The first time you open the SBC Web Interface, you will be greeted with this screen:


You will use this password in the following situations:

  • Future SBC Web Interface access (linked to user admin)
  • SBC terminal access (linked to user root)

Take a look around


Welcome to the SBC homepage! Here you can view system information such as the firmware version, the amount of storage you have left, and more. Take a minute to look around, and, when you're ready, we will give an overview of the SBC Web Interface, starting with networking.

Set up Networking

You can connect to your network in two ways with the SBC:

  • via an Ethernet cable
  • via a Wi-Fi USB adapter (we recommend this one)

The SBC will try to connect to Ethernet first. It can also switch between Wi-Fi and Ethernet on the fly. If you're following this guide, you've already set up your network using an Ethernet cable by simply plugging it in. Next, we will take a look at setting up Wi-Fi.

Wireless

To set up Wi-Fi on the SBC, first plug in your Wi-Fi USB adapter. Next, navigate to Network->Wireless and your screen will look something like this:


Add your Wi-Fi network by selecting it from the list, providing any necessary credentials, and clicking the Add This Network button.

Here are some useful Wi-Fi tips:

  • You don't have to see a network in order to connect to it. You can add the SSID and password of a network, and the next time the SBC boots it will connect to that network if it is available.
  • The SSID settings are only for DHCP networks.


Next, we will cover setting a static IP with the SBC Web Interface.

Static IP

Don't have DHCP on your main network? Not to worry, you can easily set up a static IP with the SBC:

  • Ethernet: Navigate to Network->Settings to set up a static IP.
  • Wi-Fi: Navigate to Network->Wireless to set up a static IP.

Now simply enter your network configuration and save the changes. The SBC will immediately start to use the static IP.

Warning: setting a static IP improperly can make the SBC very hard to re-connect to depending on the routing within the rest of your network.

View Attached Phidgets

Phidgets Status

Now that your networking is set up, let's take a look at which Phidgets are attached to the SBC. Do this by navigating to Phidgets->Status. Your screen should look something like this:


Notes about attached Phidgets:

  • The SBC has a built in VINT Hub Phidget, so you will always see it on your list of attached Phidgets.

Control Panel

After you confirm which Phidgets are attached to your SBC, navigate to Phidgets->Control Panel. Here, you can test your Phidgets and learn more about their functionality.

Using a Webcam

If you would like to use a webcam with the SBC, ensure it is a UVC (USB Video Class) compatible webcam that supports MJPEG. Next, simply plug it into the SBC and navigate to the Webcam tab.



Take a minute to play around with the different resolutions and frame rates available. Also, be sure to check out the webcam control dialog shown below:


Notes about using a webcam:

  • When using a password, the username is webcam. It is recommended to add a password if you are planning to share the stream. Note: the HTTP authentication is sent unencrypted.
  • If multiple webcams are attached, they will start up with the same settings (port number will be incremented for each one). When using multiple webcams, resolution and frame rates will have to be reduced.

Technical Details

Ports and Connectors

SBC3003 Ports.JPG

1. The Ethernet port is used for network connectivity to the SBC. This enables network access to the SBC as well as any connected Phidgets through the Phidget Network Server. Alternatively, a Wi-Fi USB adapter can be used for wireless network connectivity.
2. The USB ports can be used for connecting Phidgets, Wi-Fi adapters, flash drives, webcams, USB hubs, and other devices.
3. The HDMI connector can be used for connecting a monitor the the SBC. In this situation, the SBC will function like any other Linux computer. (Note: you must plug the monitor in before powering up the SBC in order for it to be recognized).
4. Six VINT ports, essentially an integrated VINT Hub Phidget.
5. The SBC is powered from the barrel jack connector.
6 These LEDs indicate the status of the SBC. The red LED indicates that the SBC is receiving power. The green LED indicates boot status. The green LED will turn on and off once during boot and then remain on while the SBC is running.
7 The micro SD card slot.

Power Distribution

The 12V power supply is stepped down to 5V and distributed in the following way:

  • Each USB port has 500 mA available.
  • The bulit-in VINT Hub Phidget has 500mA available.

Hardware Layout

The SBC is built around the A20 processor. This is an ARM Cortex-A7 based microprocessor from Allwinner Technology, which runs at 1 GHz. Connected to this is 512 MB of DDR3 SDRAM, and a 10/100baseT Ethernet controller. The microprocessors USB Host port is connected to 3 USB 2.0 High Speed ports.

Software Layout

The PhidgetSBC runs Debian/GNU Linux 8.0 as its operating system and gets booted with U-Boot. The kernel version is 4.8.3.

Date and Time

The date and time are set using NTP (Network Time Protocol) at boot. A NTP daemon continues to run in the background and will periodically update the clock, ensuring the time is always accurateN.

There is a real-time clock with battery backup which will preserve date/time across reboots and power removal. If power is suddenly lost, the real-time clock may not have the correct time.

Configuration System

The configuration system used by the SBC Web Interface is stored in /etc/webif. It is not recommended to modify these files.

What's Next?

Check the Phidget SBC page next for a guide on how to start writing your own programs, and more!

Phidget Cables

You can use Phidget cables to connect VINT devices, and analog sensors to the VINT ports on your SBC:

Product Physical Properties
Image Part Number Price Cable Length
3002_0 $2.00 600 mm
3003_0 $1.50 100 mm
3004_0 $3.00 3.5 m
3034_0 $1.50 150 mm
3038_0 $2.25 1.2 m
3039_0 $2.75 1.8 m

USB Cables

Use USB cables to connect Phidgets, keyboards, webcams or other devices to you SBC4's USB ports:

Product Physical Properties
Image Part Number Price Connector A Connector B Cable Length
3017_1 $3.00 USB Type A USB Mini-B 280 mm
3018_0 $5.00 USB Type A USB Mini-B 1.8 m
3020_0 $12.00 USB Type A USB Mini-B 4.5 m
3036_0 $3.50 USB Type A USB Mini-B 600 mm
3037_0 $4.00 USB Type A USB Mini-B 1.2 m

Ethernet Cables

Connect the Phidget SBC4 to your home network with an ethernet cable:

Product
Image Part Number Price
CBL4214_0 $3.50

Wifi Adapters

If you need to go wireless, you can use a wifi adapter to connect to your network:

Product
Image Part Number Price
3703_0 $20.00

Serial Adapters

This adapter allows your SBC4 to talk to serial devices:

Product
Image Part Number Price
3400_1 $15.00

Here's a list of our single-board computers:

Product Voltage Inputs Digital Inputs Digital Outputs Physical Properties SBC
Image Part Number Price Number of Voltage Inputs Number of Digital Inputs Number of Digital Outputs Number of VINT Ports CPU Speed SDRAM Size
1073_0 $140.00 8 8 8 454 MHz 128 MiB
SBC3003_0 $120.00 6 (Shared) 6 (Shared) 6 (Shared) **Up to 960 MHz 512 MiB