Search Results

by DaeviaAlex
Thu Dec 22, 2022 1:38 pm
Forum: Python
Topic: getState() function returns different values
Replies: 0
Views: 149383

getState() function returns different values

Hi, I noticed something that I think is a little strange. Let's say that you wanted to check the Digital Input state of one port of the VINT hub in your main loop, but inside a WHILE loop that would do so for a certain amount of time. Here is a code to illustrate this: from Phidget22.Phidget import ...
by DaeviaAlex
Wed Dec 21, 2022 4:48 pm
Forum: All Other Phidgets
Topic: Actuator with optical encoder
Replies: 5
Views: 34346

Re: Actuator with optical encoder

So I was able to write a program using the Digital Input of the VINT hub to record the encoder rotation. I plugged the encoder directly to the VINT and used the getState() method to record the pulses. Very similar to what you could do with an Arduino. Note that the DCC1000 Target Velocity has to be ...
by DaeviaAlex
Tue Dec 20, 2022 3:56 pm
Forum: All Other Phidgets
Topic: Actuator with optical encoder
Replies: 5
Views: 34346

Re: Actuator with optical encoder

So I connected the encoder directly to the VINT hub with the resistor and monitored the voltage input with a 1ms data interval. Here is what I got during an extension: Graph extend.PNG And here is what I got during a retraction: Graph3.PNG As you can see, the graph is much clearer now. The actuator ...
by DaeviaAlex
Tue Dec 20, 2022 11:22 am
Forum: All Other Phidgets
Topic: Actuator with optical encoder
Replies: 5
Views: 34346

Re: Actuator with optical encoder

Thanks for your reply mparadis. Here's another voltage ratio graph with the same extension/retraction/half-extension motion, but without the resistor on the output. Graph2.PNG Here are also pictures of the optical encoder at the back of the actuator: IMG_20221220_003038.jpg IMG_20221220_002822.jpg I...
by DaeviaAlex
Fri Dec 16, 2022 5:46 pm
Forum: All Other Phidgets
Topic: Actuator with optical encoder
Replies: 5
Views: 34346

Actuator with optical encoder

Hello, I was wondering if somebody could help me setup an Optical Feedback Actuator with my Phidgets. I purchased a Firgelli Optical Feedback Actuator for a test rig (#FA-OS-400-12-9 to be precise), and I am trying to connect it to a DC1000 motor controller. I have been able to easily connect and co...