Hi,
first of all: you post a 15MBytes video that does not show the problem, not your code, not your LED, not your control.
--> show your code, your hardware, your test setup, your information.
(I mean, if your car is broke, would you show an advertisement video of a different car and different brand to your mechanic at the garage? I guess you´d rather bring your own car to the garage, for it to be repaired.)
****
When doing such stuff I recommend get familiar what you need. So if you don´t want to see "flicker" you need to learn how the eye works. Human eyes (including brain) treats PWM´d light (not moving) above 50Hz as non flickerung. Wohever tere are some more sensitive people that can "recognize" PWM´d light up to 200Hz. And maybe even higher frequency when the light opject is small and moving. I never heard that there are people that can detect 500Hz as "flickering".
BUT: The eye is rather good in compensating huge dynamics in brightness.
So what you call "flickering" is not (PWM) flickering, but the steps/resolution in brightness. Sadly you don´t give any informatin about your step size (PWM resolution) and brightness update rate.
****
Any sketch, drawing, information about your circuit is good information.
Text only - from my experience - is not that infromative.
****
ARDUINO is an IDE, the ARDUNO hardware uses different microcontrollerf of different brands of different processing power with differnt periferals. Sadly we miss any information.
As the pulses become less the times slows down and you notice the slight flicker.
The frequency is important. And the frequency does not go down when you reduce duty cycle.
You may use libraries, but you are always free to control the perifierals directly.
So - for me personally speaking - I like the direct way without libraries, because I have full control over the periferal.
It seems to be a common issue seeing that lots of mcu's can't go right down to 0% resolution.
I don´t say it´s a common issue, because the microcontroller usually does what you tell it to do. I say it´s common that people make mistakes - maybe caused by a lack of understanding.
Others did make the same mistakes before. Thus I always recommend to read through documentation provided by lighting companies, universities... Don´t rely on random hobbyists.
Can you explain what you mean with "0% resolution"?
"I was told" .. by whom? Hobbyist, or university? Decide whom you believe.
to use at least a 32bit controller
This is nonsense. Almost every 8 bit microcontroller can do smooth brightess control.
It rather depends on the software, the periferal setup, the update rate .... and of course the PWM resolution.
I also did a lot of research and it’s also advised to use a mosfet driver even if I’m using a logic level mosfet.
Has nothing to do with "flicker". And I can not agree to this.
I also did a lot of research
Then please give links to the documents/internet sites.
***
My recommendaton:
* read how the eye/brain works regarding brightness
* do caclculations on your own, or use give links to according informations
* decide your requirements in values with units
* show your code
* show your hardware
* show your test setup / test conditions
Klaus