Quote:
Originally posted by AdmiralPaddon
I have 2-state relays. Could I use the output voltage of the gyro to operate those? They work on 5V, on/off. Voltage going through, connection. No voltage, no connection.
|
Uh... You can do that... But it probably wouldn't work in a predictable manner.
The gyro outputs an analog voltage, from 0-5VDC. When it's not moving (CW or CCW around the axis of rotation), it outputs 2.5VDC (as far as I know), which is equivalent to 127, when converted to an 8bit value.
Now, depending on the thresholds of your relays, and if they use hysteresis, this would cause the relays to switch on when the gyro is under rotation, and off when it is standing still... But the states that the relays would be in are dependant on their thresholds.
I have no idea what the application of this kind of system would be, off-hand. If you could explain some sort of project goal, it'd be a lot easier to help you.