Template:PT1 HUB5000 LNX MOB: Difference between revisions

From Phidgets Support
(Created page with "<div class="phd-slide-deck" data-deck="PT1_HUB5000_LNX_MOB"> <div class="phd-slide-deck-header"><h3>Connection (Mobile)</h3></div> <div class="phd-slides"> <div class="phd-sli...")
 
No edit summary
 
Line 85: Line 85:


<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 100: Line 100:
{{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 106: Line 131:
<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:10, 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. On your mobile device, go to the Wi-Fi settings and connect to the HUB5000:

Step 3: Connect Wireless

3. When asked for a password, enter the password printed on the HUB5000’s label.

Step 3: Connect Wireless

4. Once your device is connected to the HUB5000’s WiFi signal:

Click on the WiFi network and find an option that says “Manage router” or “Visit homepage”.

Go to your internet browser and type 192.168.100.1 in the address bar.

Step 3: Connect Wireless

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

Step 3: Connect Wireless

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

Step 3: Connect Wireless

7. Enter your Wifi Network details and click Save & Apply. 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

ou 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

«
»