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
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!
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
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!
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
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!
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
Lesezeichen