- LiFePO4 Speicher Test         
Ergebnis 1 bis 6 von 6

Thema: Encoderauswertung mit C-Control M2.0 über interrupt > 1kh

  1. #1
    Erfahrener Benutzer Roboter-Spezialist
    Registriert seit
    03.09.2005
    Ort
    Dachau
    Alter
    40
    Beiträge
    210

    Encoderauswertung mit C-Control M2.0 über interrupt > 1kh

    Anzeige

    Praxistest und DIY Projekte
    Hallo,
    ich versuche einen encoder eines motors auszuwerten.
    es funktioniert recht gut über den interrupt,
    aber ab ca. 1khz kommt er mit dem zählen nicht mehr mit!
    hat jemand eine idee! CW und CCW sollen berücksichtigt werden!

    danke
    http://amiwerewolf.am.funpic.de
    Lieber ne Schwester im Puff als nen Bruder mit nem Opel!

  2. #2
    Benutzer Stammmitglied
    Registriert seit
    28.08.2006
    Beiträge
    48
    Hello,
    Could you not use FREQ1 and FREQ2 to count the motor rotations?
    FREQ1 and FREQ2 can be configured to work as high to low active counters.
    Maybe this will work for signals above 1kHz.
    Greetings,
    Drifter2006

  3. #3
    Erfahrener Benutzer Roboter-Spezialist
    Registriert seit
    03.09.2005
    Ort
    Dachau
    Alter
    40
    Beiträge
    210
    hello,
    yes sure, but how can i detect the rotation direction?
    with the interrupt ports its's easy
    http://amiwerewolf.am.funpic.de
    Lieber ne Schwester im Puff als nen Bruder mit nem Opel!

  4. #4
    Benutzer Stammmitglied
    Registriert seit
    28.08.2006
    Beiträge
    48
    Hello,
    Is your c-control only being used to monitor the motor or is it also being used to control the motor?

    If the C-Control is being used to control the motor then the motor direction could be set in the software and motor direction detection does not have to be used if you know what I mean.

    If the C-Control is only being used to monitor the motor and not used to directly control the motor then I don’t have a solution for this.

    Greetings,
    Drifter2006

    P.S. Ja klar, Honda was sonst

  5. #5
    Erfahrener Benutzer Roboter-Spezialist
    Registriert seit
    03.09.2005
    Ort
    Dachau
    Alter
    40
    Beiträge
    210
    the the apication is to positioning a carriage.
    the counts of the glass yardstick are small
    100µ Pitches, 5 counts per millimeter
    and if you shift the carriage by hand
    the c-control have no signal for dirrection
    http://amiwerewolf.am.funpic.de
    Lieber ne Schwester im Puff als nen Bruder mit nem Opel!

  6. #6
    Benutzer Stammmitglied
    Registriert seit
    28.08.2006
    Beiträge
    48
    Hello,
    Because the C-Control is slow you may need an electronic solution for your problem.
    I can’t think of a solution but you could try posting a message here -> https://www.roboternetz.de/phpBB2/viewforum.php?f=10
    Greetings,
    Drifter2006

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

Labornetzteil AliExpress