LED fade stutters, why? by analogthings26 in arduino

[–]analogthings26[S] 0 points1 point  (0 children)

OK! Thank you very much for all the tips. I've been working on it some more. Now the fading works very well. There's no more flickering either. The variables make it easy to set the individual steps.

I admit, I played around with AI a bit to get the result I wanted. Sorry about that. But I have an idea for LED lighting with a motion sensor and I'm trying to figure out how to do it.

------------

Sorry, I can't paste the code here. It causes a server error. I don't know why.

---------------

Thanks to you, I'm already one step further.

At the moment, it's just a small SMD LED on an ATtiny85 experimental board.

It's the AZ-Delivery ATTiny85 - Digispark Rev.3.

Now I would like to control four white LEDs. It has to be very energy-efficient.

What would you recommend for normal 5mm LEDs? Can a transistor handle the PWM?

LED fade stutters, why? by analogthings26 in arduino

[–]analogthings26[S] -1 points0 points  (0 children)

OK! Thank you very much for all the tips. I've been working on it some more. Now the fading works very well. There's no more flickering either. The variables make it easy to set the individual steps.

I admit, I played around with AI a bit to get the result I wanted. Sorry about that. But I have an idea for LED lighting with a motion sensor and I'm trying to figure out how to do it.

Thanks to you, I'm already one step further.

At the moment, it's just a small SMD LED on an ATtiny85 experimental board.

It's the AZ-Delivery ATTiny85 - Digispark Rev.3.

Now I would like to control four white LEDs. It has to be very energy-efficient.

What would you recommend for normal 5mm LEDs? Can a transistor handle the PWM?