Template:PT1 HUB5000 LNX ETH: Difference between revisions

From Phidgets Support
(Created page with "<div class="phd-slide-deck" data-deck="PT1_HUB5000_LNX_ETH"> <div class="phd-slide-deck-header"><h3>Connection (Ethernet)</h3></div> <div class="phd-slides"> <div class="phd-s...")
 
No edit summary
 
Line 56: Line 56:


<div class="phd-slide">
<div class="phd-slide">
<h2>Step 3: Verify Connection</h2>
<h2>Step 4: Verify Connection</h2>


<p>2. Next, open the terminal in the location where you unpacked the example. Compile and run using:</p>
<p>2. Next, open the terminal in the location where you unpacked the example. Compile and run using:</p>
Line 64: Line 64:
<div class="phd-command-line"><code>sudo ./HelloWorld</code></div>
<div class="phd-command-line"><code>sudo ./HelloWorld</code></div>


<p>ou should receive a “Hello” line for each Phidget channel that is discovered:</p>
<p>You should receive a “Hello” line for each Phidget channel that is discovered:</p>


<div class="phd-lazy-image" data-src="https://www.phidgets.com/decks/PT1_HUB5000_LNX_ETH/-x180/50/helloworld.png"></div>
<div class="phd-lazy-image" data-src="https://www.phidgets.com/decks/PT1_HUB5000_LNX_ETH/-x180/50/helloworld.png"></div>
Line 71: Line 71:
{{UGC-Entry|I don’t see any Phidgets show up in the HelloWorld example||You need to run it with sudo in order to be able to access USB devices. In order to use
{{UGC-Entry|I don’t see any Phidgets show up in the HelloWorld example||You need to run it with sudo in order to be able to access USB devices. In order to use
Phidgets without sudo, you need to set your udev rules. See the Advanced Information page on the final slide of this guide for details.}}
Phidgets without sudo, you need to set your udev rules. See the Advanced Information page on the final slide of this guide for details.}}
</p>
</div>
<div class="phd-slide">
<h2>Step 5: Update</h2>
<p>
Now that you've confirmed that you have access to your Phidgets, you should ensure the HUB5000 is fully updated. You can update the firmware of the VINT Hub
using the <span>[https://www.phidgets.com/downloads/phidget22/tools/linux/phidget22admin.tar.gz phidget22admin tool]</span> (see included readme for further
instructions).
</p>
<p>
To upgrade the firmware of the operating system on the HUB5000, download the most recent file
<span>[https://www.phidgets.com/downloads/phidgetsbc/HUB5000/phidgethub5000.bin here]</span>.
</p>
<p>
Next, go back to the web configuration page and click on the <b>System</b> tab. Scroll down to <b>Upgrade Firmware</b> and select the file you download and hit
<b>Upgrade & Restart</b>. You'll be instructed to wait a few minutes before logging back into the web interface.
</p>
<p>
When you log back in, you can confirm that the new version has successfully installed by checking to see if the firmware version listed in the
<b>Status</b> section matches the first three numbers in the firmware file name that you downloaded.
</p>
</p>
</div>
</div>
Line 77: Line 102:
<h2>Done!</h2>
<h2>Done!</h2>


<p>If you're able to see your devices in the Hello World example, you're done with the Setup part of this guide.</p>
<p>Now that you're able to see your devices in the Hello World example and the device is fully updated, you're done with the Setup part of this guide.</p>


<p>Scroll down to <b>Part 2: Using Your Phidget</b> for the next step.</p>
<p>Scroll down to <b>Part 2: Using Your Phidget</b> for the next step.</p>

Latest revision as of 15:07, 18 July 2023

Step 3: Connect Wireless

1. When you connect the power supply to the HUB5000, the red LED should turn on.

Step 3: Connect Wireless

2. In your Web Browser, enter hub5000.local

Step 3: Connect Wireless

3. Create a password for your HUB5000. You'll use this password to access the Configure Page from now on.

Step 3: Connect Wireless

4. Navigate to the network page. Change the Mode to Client.

Step 3: Connect Wireless

5. Enter your Wifi Network details to use your Hub wirelessly and click Save & Apply. You can then disconnect the ethernet cable.

It may take a few minutes for your Phidgets to appear in the Phidget Control Panel, which we’ll check in the next step.

Step 4: Verify Connection

1. The easiest way to verify that your libraries are working properly is to compile and run an example program. Download and unpack this C example that will detect any Phidget:

HelloWorld C Example

Step 4: Verify Connection

2. Next, open the terminal in the location where you unpacked the example. Compile and run using:

gcc HelloWorld.c -o HelloWorld -lphidget22
sudo ./HelloWorld

You should receive a “Hello” line for each Phidget channel that is discovered:

I don’t see any Phidgets show up in the HelloWorld example

You need to run it with sudo in order to be able to access USB devices. In order to use Phidgets without sudo, you need to set your udev rules. See the Advanced Information page on the final slide of this guide for details.

Step 5: Update

Now that you've confirmed that you have access to your Phidgets, you should ensure the HUB5000 is fully updated. You can update the firmware of the VINT Hub using the phidget22admin tool (see included readme for further instructions).

To upgrade the firmware of the operating system on the HUB5000, download the most recent file here.

Next, go back to the web configuration page and click on the System tab. Scroll down to Upgrade Firmware and select the file you download and hit Upgrade & Restart. You'll be instructed to wait a few minutes before logging back into the web interface.

When you log back in, you can confirm that the new version has successfully installed by checking to see if the firmware version listed in the Status section matches the first three numbers in the firmware file name that you downloaded.

Done!

Now that you're able to see your devices in the Hello World example and the device is fully updated, you're done with the Setup part of this guide.

Scroll down to Part 2: Using Your Phidget for the next step.


For more info installing in Linux (e.g. Udev rules, old versions, etc.), visit this page:

Linux Advanced Information

«
»