Shop OBEX P1 Docs P2 Docs Learn Events
Encoder Compatability — Parallax Forums

Encoder Compatability

Technic-R-CTechnic-R-C Posts: 117
edited 2009-02-17 04:59 in Propeller 1
I does anyone know if this encoder is compatible with the propeller chip... from wat i could tell I believe it is but can someone please double check..

http://www.reprap.org/bin/view/Main/Magnetic_Rotary_Encoder_1_0

Thank you

Technic-R-C

Comments

  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2009-02-17 02:43
    Sure, why not. The IC may be a 5V level, so you may have to do some voltage/logic translation, but that shouldn't be too hard. An Elektor magazine a couple issues ago had an article about the Austria magnetic encoders like this. Very cool.

    What is your application?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
    www.tdswieter.com
  • Technic-R-CTechnic-R-C Posts: 117
    edited 2009-02-17 03:40
    Timothy D. Swieter said...
    Sure, why not. The IC may be a 5V level, so you may have to do some voltage/logic translation, but that shouldn't be too hard. An Elektor magazine a couple issues ago had an article about the Austria magnetic encoders like this. Very cool.

    What is your application?

    Thank you Timothy,

    The purpose of the encoder will be
    -to calculate the velocity of a wheel on·a homemade·electric scooter
    -to determine·wheter or not·a wheel is stalling (overexcessive wheel rotation speed when wheel is not touching ground)
    -to determine the direction·that the·wheel is turning.·

    By the way, what do you mean by the IC being a 5V level?· I'm rather new to electronics and if you could clarify·your statement I would really appreciate it.

    Thank you

    Technic-R-C
    ·
  • SRLMSRLM Posts: 5,045
    edited 2009-02-17 04:09
    The statement about being at a 5v level (5 volts) is the level that the device uses. The propeller uses 3.3 volts, so like Timothy said you'll need some voltage translation to work properly.
  • Technic-R-CTechnic-R-C Posts: 117
    edited 2009-02-17 04:56
    Got it, for some strange reason I was thinking about the Basic Stamp instead of the Propeller I/O pin voltage output... can you provide a schematic or specific part number that will be needed to perform the voltage translation task?

    Thank you,

    Technic-R-C
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2009-02-17 04:59
    It looks like part has various ways of interfacing to it, so it depends on what method you use. For the most part the I/O pins are 5V input tolerant, but the output can only output 3.3V. There are different methods for different devices, SparkFun has a tutorial on some of the different methods.

    First - determine what signals you want to interface to on the magnetic encoder IC. Then we can provide further advice. Some translation maybe complicated (involve another IC or multiple components) but some translation can be as easy as inline resistor for limiting the current into the Propeller input.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
    www.tdswieter.com
Sign In or Register to comment.