Shop OBEX P1 Docs P2 Docs Learn Events
Just a few tech questions. — Parallax Forums

Just a few tech questions.

HoustonDVDHoustonDVD Posts: 9
edited 2005-04-07 23:45 in General Discussion
·
  1. If a DC motor requires a specific voltage/current etc.. to reach a specific RPM, will the same motor produce the equivelent voltage/current capacity if the same motor is manually pushed to the same RPM.· I·know that it will·generate charge but is the result proportional?
  2. Can·the output of an·I/O pin on the basic2 chip be set to equal the input of another I/O pin.· Programaticly and without delay?
  3. If two piezo crystals·are·connected·through a somewhat rigid object(hard rubber, plastic, etc..)·one with a frequency applied to it.· Will the second crystal generate a signal similar to the frequency pushed against it?··

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2005-04-07 02:29
    1) Assuming a motor that is 100% efficient , the answer would be yes, but that's not the case.

    For argument sake suppose your motor is 70% efficient
    When you apply a certain amount of power, there is a 30% loss due to friction, coil resistance etc.
    Now in order to produce the same power by turning it, you still need to overcome friction and the
    coil resistance, but this time you need to increase the speed of rotation to get there by probably
    another 30%.

    2) Yes, the output of one pin can be made to reflect the state of another pin, but not without delay.

    3) Yes... what you have created is an electro-mechanical delay line. Use a SPRING for your rigid object,
    and you have an old style echo or reverb effect.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe - Mask Designer III

    National Semiconductor Corporation
    Latest Company News
    (Communication Interface Division)
    500 Pinnacle Court, Suite 525
    Mail Stop GA1
    Norcross,GA 30071
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-04-07 15:58
    There is a way to get two I/O pins to be the same state without delay, by directly manipulating PINS variable, though to do it you need to use a different method than the equally sign. This is done by using the universal set (OR) and universal clear (AND).

    For instance say you want bit 5 and bit 0 to reflect the same value: to set both bits to 1,·OR the PINS variable with the hexadecimal value $11; to clear both bits to 0, AND the PINS variable with the hexadecimal value $EE (the inverse of $11).
  • NateNate Posts: 154
    edited 2005-04-07 23:45
    "Can·the output of an·I/O pin on the basic2 chip be set to equal the input of another I/O pin.· Programaticly and without delay? "

    If I understand the question correctly, you want a inverter with no time delay.· I think I have a few of those in my·junk drawer, let me just take a peek.....

    Nate
Sign In or Register to comment.