Search found 20 matches
- Wed Mar 05, 2025 7:21 am
- Forum: General
- Topic: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
- Replies: 9
- Views: 2727
Re: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
Hi Martin , Thank you so much for your help and for providing the modified code. I will be testing it soon. However, I would like to let you know that the code has become more complex for me, as I am a beginner in this field. Nevertheless, I will try to understand it and give it a go. Thanks again ...
- Mon Mar 03, 2025 4:55 am
- Forum: General
- Topic: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
- Replies: 9
- Views: 2727
Re: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
Hi Martin , Thank you very much for providing me with the file. I tested it, and it works perfectly. I noticed that the code enables the internal counter in the Arduino Uno and also activates the interrupt on both the rising and falling edges. In this code, the time is measured between the rising e...
- Tue Feb 25, 2025 7:20 am
- Forum: General
- Topic: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
- Replies: 9
- Views: 2727
Re: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
Hi Martin, Thank you for your response and for modifying the Flowcode file. I didn’t make any changes to the file; I only tried to convert it to a HEX file to upload it to the Arduino Uno (ATmega328P), but Flowcode gave me an error during compilation, and the process did not complete. Here is the er...
- Sat Feb 22, 2025 11:02 am
- Forum: General
- Topic: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
- Replies: 9
- Views: 2727
Re: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
Hi Martin, Thank you for your response. I checked the link you provided, but I couldn't understand how the timestamps for the rising and falling edges are determined to accurately calculate the time difference between them. I will attach the file where I have enabled the interrupt, but I only need t...
- Sat Feb 22, 2025 8:27 am
- Forum: General
- Topic: Inquiry about Enabling the Watchdog Timer and Reset
- Replies: 6
- Views: 2244
Re: Inquiry about Enabling the Watchdog Timer and Reset
Hello mnfisher, Thank you for your input! I now understand that enabling the AutoClear watchdog option causes the watchdog timer to be automatically cleared whenever there is a delay in the code, which prevents the timer from resetting during the 3-second delay or in the loop. This is why it wasn't ...
- Sat Feb 22, 2025 7:52 am
- Forum: General
- Topic: Inquiry about Enabling the Watchdog Timer and Reset
- Replies: 6
- Views: 2244
Re: Inquiry about Enabling the Watchdog Timer and Reset
Hello medelec35, I wanted to update you on my experience with the code. Initially, I hadn’t realized the meaning of AutoClear watchdog. I thought that enabling this option simply allowed the Watchdog Timer to function. But after writing my last message, I realized that this option causes the timer t...
- Sat Feb 22, 2025 7:28 am
- Forum: General
- Topic: Inquiry about Enabling the Watchdog Timer and Reset
- Replies: 6
- Views: 2244
Re: Inquiry about Enabling the Watchdog Timer and Reset
Hello Martin, Thank you once again for your help! I have tried the method you mentioned. Here’s what I did: I selected the Arduino Uno board for programming. I enabled the AutoClear watchdog option. I added an LED and connected it to pin D13. I added the following line before starting the loop: wdt_...
- Sat Feb 22, 2025 6:23 am
- Forum: General
- Topic: Inquiry about Enabling the Watchdog Timer and Reset
- Replies: 6
- Views: 2244
Re: Inquiry about Enabling the Watchdog Timer and Reset
Hello Martin,
Thank you very much for your help. I will try the method you suggested and see if it resolves the issue. I will update you soon.
I always appreciate your support!
Best regards,
Bilal
Thank you very much for your help. I will try the method you suggested and see if it resolves the issue. I will update you soon.
I always appreciate your support!
Best regards,
Bilal
- Tue Feb 18, 2025 10:39 am
- Forum: General
- Topic: Inquiry about Enabling the Watchdog Timer and Reset
- Replies: 6
- Views: 2244
Inquiry about Enabling the Watchdog Timer and Reset
Hello everyone, I need help with enabling the Watchdog Timer on an Arduino board. I have searched through several articles on the topic, but I wasn't able to fully understand the correct way to enable the Watchdog as needed. I understand that the Watchdog Timer will automatically restart the system...
- Mon Feb 17, 2025 5:28 am
- Forum: General
- Topic: Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
- Replies: 9
- Views: 2727
Inquiry about Increasing Interrupt Frequency for PWM Pulse Width Reading and Stepper Motor Control
Greetings , I would like to inquire about how to enable an interrupt at a frequency higher than 62500 Hz on the Arduino Nano , as I need a speed of 1 MHz . In most software tools like Flowcode , it is not possible to achieve a frequency higher than 62500 Hz due to the limitations imposed by the Pre...