About the servos, it doesn't matter what kind of servo you get, as long as it fits your needs (speed, torque). X-Sim doesn't control the servos directly, there is a plugin that uses the soundcard to control them with extra circuitry. Search in the forums. The AMC can control the servos as well, you will have to look into the manual/firmware, I haven't used it before. Signal voltage can be 4-6V I think, even more, depending on the servo. Note that you cannot measure the pulse peak voltage with a voltage meter.
Johan, for now your best bet is to use a potentiometer if you can't do it with the hall sensor. To the best of my knowledge the hall sensor senses the magnetic flux and outputs an analog voltage depending on it's strength, which depends on the angle. Since the magnet has 2 poles, you will have a sine-wave output from the sensor as the magnet rotates. There will be 2 peaks of voltage in every rotation (if the sensor measures only absolute magnetic flux and not + and - ) This leads to the result that 180degs of movement will be your maximum range if you use the ADC directly.
I have two optical encoders hacked from an old ball mouse that I have been experimenting with. I cannot seem to have clean edges from the transistor outputs, only if I use a schmitt trigger, and even then I have to be very picky about my resistors. Without clean edges the whole thing just goes crazy and the firmware just gives me random results. Thanos is working on it as well but he has other things to take care of for now, so don't expect any updates. I will try to make these encoders work without additional IC's just some resistors and 2 transistors. After that the programming can begin to interpret the grey-code.
Adam.





Barcelona (Spain)
Greece, Athens
Portugal
News