Article Preview
Buy Now
COLUMN
Phidgets
What are they and how to use them
Issue: 22.3 (May/June 2024)
Author: Stefanie Juchmes-Simonis
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 11,324
Starting Page Number: 91
Article Number: 22309
Resource File(s):
project22309.zip Updated: 2024-05-03 11:27:18
Related Link(s): None
Excerpt of article text...
Do you already know about Phidgets?
In this article I will show you what they are all about and how you can use them.
In release 22.1 we have added many new classes to the Phidgets topic in our MBS Xojo plugin. Phidgets are small input/output devices from the company Phidgets Inc. that can receive information from the outside world or output it. There are many different Phidgets that you can use. For example, there are various sensors such as humidity, magnetic, light, gyroscope, PH, sound, temperature, capacitive touch or pressure sensors, an LED screen with which you can display information, a slider, a joystick, and much, much more. With the MBS Xojo plugins, we make it possible for you to connect to this hardware in Xojo and exchange values.
The Structure
To be able to work with the Phidget, we have to connect the Phidget to the computer somehow. We use so-called hubs, which have several ports to connect one or more Phidgets (see Figure 1). The hubs' ports are numbered. Hubs are available in several versions. On the one hand, these hubs can be connected to the computer by cable, or you can have a wireless hub, which is then connected to the computer via Ethernet or WLAN.
In our example, we are using a wired hub. I would now like to demonstrate a small weather station that consists of a light, a barometer, and a temperature sensor.
...End of Excerpt. Please purchase the magazine to read the full article.