Search Results

by fraser
Thu Mar 31, 2022 12:21 pm
Forum: All Other Phidgets
Topic: Unexpected readings from Sonar Phidget
Replies: 5
Views: 15942

Re: Unexpected readings from Sonar Phidget

I wouldn't intuitively think so, I would expect it to bounce back, especially when quiet mode is turned off. 2m is not very far, I don't expect there to be problems, but I've never tested that exact scenario myself. Do you have more than 1 DST1200 you could verify has the same behaviour? A good way ...
by fraser
Tue Mar 29, 2022 9:49 am
Forum: All Other Phidgets
Topic: Unexpected readings from Sonar Phidget
Replies: 5
Views: 15942

Re: Unexpected readings from Sonar Phidget

The array will only be empty when the sonar is failing to receive the signal back, meaning it is measuring too far away, or is hitting something that doesn't reflect the sound back. The chances of this happening increase greatly with "QuietMode" turned on, so as a starting point if you hav...
by fraser
Wed Dec 22, 2021 10:34 am
Forum: Python
Topic: [Solved]Open hub vin error
Replies: 3
Views: 17996

Re: [Solved]Open hub vin error

Good point, I will poke the bear
by fraser
Wed Dec 22, 2021 8:56 am
Forum: Python
Topic: [Solved]Open hub vin error
Replies: 3
Views: 17996

Re: Open hub vin error

Looks like you will want to add: digitalInput0.setIsHubPortDevice(True) when addressing the device prior to opening it. The IsHubPortDevice property is used to differentiate between opening a channel that directly monitors the wire on the VINT port, versus opening an addressable VINT device on the s...
by fraser
Wed Aug 25, 2021 9:18 am
Forum: General
Topic: Mail presence detection
Replies: 6
Views: 7044

Re: Mail presence detection

My most immediate thought is to high-pass filter the loadcell data to look for spikes. Referencing the absolute value of the signal prior to and following the high-pass event would allow you to see whether mail was added or removed.

Albeit yes this doesnt solve the stuck in door problem
by fraser
Mon Aug 16, 2021 7:34 am
Forum: Python
Topic: open() timeout
Replies: 2
Views: 16513

Re: open() timeout

Though that might make some sense in some applications, one of the main benefits of the non-timeout open() is that you can call it and not worry about timeouts. There are a lot of applications for opening a device before it is plugged in, and being able to freely plug/unplug it as you see fit. I'm s...
by fraser
Mon Jul 26, 2021 7:49 am
Forum: Python
Topic: Sensor value is ouside the valid range...
Replies: 13
Views: 32136

Re: Sensor value is ouside the valid range...

This scenario has to do with the calculation of the sensorValue from the actual voltage. The voltage is typically limited to 0-5V, so the bounds of the sensor (ie min lux and max lux from the 1127, or min temperature and max temperature for an 1114) need to be within that specification. The hardware...
by fraser
Thu Jul 15, 2021 7:45 am
Forum: Python
Topic: How to convert voltage ratio to force(in Newtons)?
Replies: 1
Views: 19054

Re: How to convert voltage ratio to force(in Newtons)?

This is done by calibrating the VoltageRatio to the loadcell, by taking measurements at various "known" forces. You can read up on it here: https://www.phidgets.com/docs/Calibrating_Analog_Sensors and further information on load cells can be found here: https://www.phidgets.com/docs/Load_C...
by fraser
Wed Apr 14, 2021 9:15 am
Forum: macOS
Topic: BLDC phidget vanishes after firmware update
Replies: 3
Views: 17713

Re: BLDC phidget vanishes after firmware update

One possible explanation is that the high capacitance on the BLDC means when you unplug 12V, it can take several seconds for it to fully discharge and become unpowered. So if you disconnect 12V only momentarily, it might not fully reset.
by fraser
Wed Mar 31, 2021 3:01 pm
Forum: General
Topic: Set PWM Frequency for VINT Hub?
Replies: 1
Views: 5285

Re: Set PWM Frequency for VINT Hub?

The frequency is Variable but not in a controllable way. We vary the frequency depending on the Duty Cycle, in order to maintain ideal high/low times for the whole range of duty cycles. The spec is there to say it won't by more than 50kHz, but could be less, and is only applicable when the duty cycl...