increasing the sampling frequency in simulink to read input pulses from digital (PWM) pin of arduino
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
aakash dewangan
le 16 Sep 2021
Modifié(e) : aakash dewangan
le 26 Oct 2021
Hi,
I am reading the pulses coming out of a motor to the digital pin of Arduino Uno. The number of pulses that i am getting from the motor are around 20000. But i am not able to count these many pulses in simulink via arduino. Simulink shows very few pulses. Can anyone please tell me the how can i count all the pulses that are fed to digital pin (PWM) of arduino Uno. Or in other words how can i increase the sampling frequency in simulink to count all the pulses.
0 commentaires
Réponse acceptée
Arun Kumar
le 30 Sep 2021
Hi Aakash,
The sampling frequency is limited by the microtroller clock frequency which is avr in this case.
HTH!
Thanks,
Arun
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!