Looking at the part number for the Mujie encoder that you bought: ME: Incremental encoder 38: 38mm outer diameter S6: 6mm Solid shaft C: Open collector 600: 600ppr resolution B: Output signal A/B 5: 5V power G: Side outlet 2: 2m cable It looks like that encoder uses an Open collector interface rathe...
Here's how I would approach this problem: If you've never programmed using Phidgets before, you may want to read our page on Phidget Programming Basics . 1. Go to our code sample generator and get sample code for the DCC1100 in the language of your choice. If you don't have any experience programmin...
This enumeration no longer exists in Phidget22. Here's the raw data from the Phidget21 source for reference: const CPhidgetServoParameters Phid_Servo_Types[] = { {PHIDGET_SERVO_DEFAULT, 23 * 128/12.0, 243 * 128/12.0, 128/12.0, 50/12.0*16384}, //245.3us(0)-2592us(220), 10.666us/degree, max vel {PHIDG...
You are correct- there is no built-in way to synchronize multiple accelerometer Phidgets. The timestamp provided in the event data is accurate for the acceleration data point for that event. The best you could do is keep track of incoming data and interpolate to a standard time frame as data comes i...
The 1046 is designed to read wheatstone bridge based sensors like load cells or variable resistance sensors like RTDs. For 0-5V sensors, you should use a VoltageInput channel, like the ones on a VINT Hub or a PhidgetInterfaceKit.
I forgot to mention- the encoder channel must be enabled in order for you to see power on the black connector. If you open the channel in the Phidget control panel, it will be enabled by default. If you're using your own program or script, use the "enabled" property in order to enable the ...
If you measure between the 5V and G pin on the black connector, you should see 5 volts. The other three pins (A, B, and Index) are inputs, so you won't see any voltage there.
You should set up a VoltageRatioChange event handler, this function will trigger whenever the voltage changes. Then you just need your program to look at the value and decide how you want the object to move. You should take a look at this sample project: Dial Phidget with Unity This project uses the...
For most purposes, these two Phidgets are the same. The newer _2 revision has the plastic enclosure, uses a different USB processor chip, and has had some optimizations and fixes. The biggest difference is that the 1048_2B does not support our old Phidget21 libraries, so anyone who is using old soft...
You can put a magnetic reed switch on the cabinet door like one of these: https://www.phidgets.com/?prodid=416 https://www.phidgets.com/?prodid=418 One of them can just be nailed into the door and the frame, and the other is designed to be drilled and fit flush into the frame. When the magnet gets n...