1127 User Guide
Welcome to the 1127 user guide! In order to get started, make sure you have the following hardware on hand:
- 1127 - Precision Light Sensor
- Any Phidget with a Voltage Input port, here are some compatible products. We will be using the 1018 for this guide.
- USB cable and computer
- Phidget cable
Next, you will need to connect the pieces:
- Connect the 1127 to the 1018 with the Phidget cable.
- Connect the 1018 to your computer with the USB cable.
Now that you have everything together, let's start using the 1127!
Using the 1127
Phidget Control Panel
In order to demonstrate the functionality of the 1127, we will connect it to the 1018, and then run an example using the Phidget Control Panel on a Windows machine.
The Phidget Control Panel is available for use on both macOS and Windows machines. If you would like to follow along, first take a look at the getting started guide for your operating system:
Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1127.
After plugging in the 1127 into the 1018, and the 1018 into your computer, open the Phidget Control Panel. You will see something like this:
The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:
- Serial number: allows you to differentiate between similar Phidgets.
- Channel: allows you to differentiate between similar objects on a Phidget.
- Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.
The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.
Double-click on a Voltage Input object in order to run the example:
General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:
- Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
- Select the 1127 from the Sensor Type drop-down menu. The example will now convert the voltage into illuminance (lux) automatically. Converting the voltage to illuminance (lux) is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!
The human eye is less sensitive to changes in light intensity than the 1127, but is able to see a wider range. The Human eye range is from 50µlx (starlight) to 100klx (extremely bright sunny day). The 1127, on the other hand, is able to measure from 1lx (Moonlight) to 1000lx (TV studio lighting). The 1127 is able to detect higher frequency fluctuations in light levels than the human eye. If you notice noise on the signal that you cannot perceive yourself, it is probably due to incandescent light flicker, or other varying light sources. This sensor is designed to respond to visible light, and it can sense light from concentrated sources like laser pointers (although be careful with high-power lasers, as they could damage the sensor). It will also have a very muted response to IR light that is close to the visible spectrum (700-800nm). The 1127 is non-ratiometric which means that you cannot rely on the sensor saturating at 5 volts. To be conservative, interpret a sensor voltage of over 4.75V as saturated, with the true light level being unknown.
The 1127 uses the AMS104 light sensor package. The following graph illustrates the sensor's sensitivity to specific wavelengths of light.
The Phidget libraries automatically convert voltage to illuminance (lux). See the Phidget22 API for more details. The formula to translate voltage from the sensor into illuminance is:
The Phidget Cable is a 3-pin, 0.100 inch pitch locking connector. Pictured here is a plug with the connections labelled. The connectors are commonly available - refer to the Analog Input Primer for manufacturer part numbers.
What to do Next
- Software Overview - Find your preferred programming language here to learn how to write your own code with Phidgets!
- General Phidget Programming - Read this general guide to the various aspects of programming with Phidgets. Learn how to log data into a spreadsheet, use Phidgets over the network, and much more.
- Phidget22 API - The API is a universal library of all functions and definitions for programming with Phidgets. Just select your language and device and it'll give you a complete list of all properties, methods, events, and enumerations that are at your disposal.