Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4474

Other projects • Goal: 20mhz PWM signal at 8-bit resolution. Possible?

$
0
0
My goal is to feed an 8-bit signal (256 levels of brightness) to a laser diode, 20 million times per second.

My understanding of PWM duty cycles is that this would require a 5.12 Ghz clock. Perhaps this is unrealistic...so can anyone help me figure out: what is the absolute maximum possible PWM signal resolution and speed I can reliably get out of a raspberry pi module, or some other hardware implementation? Can the Pi output that signal to a PWM module that then controls the laser?

I'm able to go down to 7-bit precision and 5mhz duty cycle, but at this point I'll take what I can get — I just don't know what's possible.

Please forgive me if I've misused any terminology here. I need help understanding what the Pi's hardware limitations are, and I am not an engineer so I may not be asking this question in the right way.

Thanks in advance!

Statistics: Posted by phennessey — Wed Apr 17, 2024 9:41 pm — Replies 4 — Views 63



Viewing all articles
Browse latest Browse all 4474

Trending Articles