How to access data on Phidgets USB photo sensor
I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.
I do not know exact how to query that data.
usb
add a comment |
I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.
I do not know exact how to query that data.
usb
Can you provide a link or product name for the sensor you have?
– BillThePlatypus
Jan 18 at 17:34
Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)
– OSUITJrAdmin
Jan 18 at 17:39
add a comment |
I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.
I do not know exact how to query that data.
usb
I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.
I do not know exact how to query that data.
usb
usb
edited Jan 18 at 22:09
Pablo Bianchi
2,6151532
2,6151532
asked Jan 18 at 17:16
OSUITJrAdminOSUITJrAdmin
1
1
Can you provide a link or product name for the sensor you have?
– BillThePlatypus
Jan 18 at 17:34
Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)
– OSUITJrAdmin
Jan 18 at 17:39
add a comment |
Can you provide a link or product name for the sensor you have?
– BillThePlatypus
Jan 18 at 17:34
Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)
– OSUITJrAdmin
Jan 18 at 17:39
Can you provide a link or product name for the sensor you have?
– BillThePlatypus
Jan 18 at 17:34
Can you provide a link or product name for the sensor you have?
– BillThePlatypus
Jan 18 at 17:34
Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)
– OSUITJrAdmin
Jan 18 at 17:39
Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)
– OSUITJrAdmin
Jan 18 at 17:39
add a comment |
1 Answer
1
active
oldest
votes
The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110935%2fhow-to-access-data-on-phidgets-usb-photo-sensor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
add a comment |
The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
add a comment |
The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.
The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.
answered Jan 18 at 17:46
BillThePlatypusBillThePlatypus
6110
6110
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
add a comment |
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.
– OSUITJrAdmin
Jan 22 at 17:07
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
If you installed the library correctly, it is likely a question for stackoverflow.
– BillThePlatypus
Jan 23 at 5:12
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110935%2fhow-to-access-data-on-phidgets-usb-photo-sensor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you provide a link or product name for the sensor you have?
– BillThePlatypus
Jan 18 at 17:34
Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)
– OSUITJrAdmin
Jan 18 at 17:39