Łukasz Podkalicki shared a how-to on building a Class D amplifier on ATtiny13:
I always wonder whether it is possible to make an amplifier of class D on ATtiny13 or not. Some time ago I found George Gardner’s project based on ATtiny85 – TinyD. It was a sign to start challenging it with ATtiny13. It took me a few hours but finally I made it! The code is very short and useses a lot of hardware settings which has been explained line-by-line in the comments. The project runs on ATtiny13 with maximum internal clock source (9.6MHz). It gave me posibility to use maximum of hardware PWM frequency (Fast PWM mode).
See the full post on his blog.
Check out the video after the break.
from Dangerous Prototypes https://ift.tt/2GXna79