0 Members and 1 Guest are viewing this topic.
In your application, "flickering" is a human visual perception phenomenon. Switching speed of 1kHz is more than adequate.When you said fast switching, some might've thought 1MHz or more!
An Arduino Mega can’t do more than 490Hz PWM on most of its PWM pins, which is terrible for LEDs, but more than adequate for incandescent bulbs. ...
Quote from: tooki on September 01, 2024, 11:26:52 pmAn Arduino Mega can’t do more than 490Hz PWM on most of its PWM pins, which is terrible for LEDs, but more than adequate for incandescent bulbs. ...490 Hz is only the default value using the Arduino libraries. Faster frequencies are possible -- see for instance:https://www.etechnophiles.com/how-to-change-pwm-frequency-of-arduino-mega/You can get F_CLK/256 for 8-bit PWM if you want, i.e. 62.5 KHz when using a 16 MHz system clock.