Skip to main content
12 events
when toggle format what by license comment
Oct 18, 2018 at 17:50 history bounty ended Tharindu Sathischandra
Oct 14, 2018 at 11:01 comment added Majenko I would start with the tacho. Read the datasheet and learn how to configure timer1 to use the T1 pin as the clock input and count clock pulses.
Oct 14, 2018 at 10:58 comment added Tharindu Sathischandra @Juraj Yeah I got a very close idea with the answer. But still, I have no idea how to resolve my problem. Can you suggest a path to start with?
Oct 14, 2018 at 10:46 comment added Juraj I must comment :-). This answer is perfect. First when I saw the bounty, I thought Tharindu throw away his points for this bounty. I never worked with servo or encoder interrupts, but I knew that 328p misses the RPM interrupts because the servo library uses interrupts to generate pulses. But I had no solution. And the possibility to substitute both controls with MCU internal peripherals is perfect.
Oct 14, 2018 at 10:46 comment added Majenko Sure, as long as the communication between them doesn't impact either, and since that generally uses interrupts too you're probably going to run into some issues.
Oct 14, 2018 at 10:45 comment added Tharindu Sathischandra Can we resolve the issue by using two separate Arduino Uno boards: One for sensor and one for Servo
Oct 14, 2018 at 10:40 comment added Majenko It depends which timers both are using. If they're on different timers then sure. If not, no.
Oct 14, 2018 at 10:40 comment added Tharindu Sathischandra Can we use a PWMServo as same as the Servo.h ?
Oct 14, 2018 at 10:31 comment added Majenko This may be of interest to you...
Oct 14, 2018 at 10:27 comment added Majenko Not that I am aware of, but there are plenty of tutorials around on changing the frequency of the PWM.
Oct 14, 2018 at 10:10 comment added Tharindu Sathischandra Are there another libraries instead of "Servo.h", which may solve this issue?
Oct 13, 2018 at 20:48 history answered Majenko CC BY-SA 4.0