Fewyears ago I made a microcontroller SMPS project.
But it did not work first.
A colleague helped me find out for the mistake. We had something like this:
- Let's measure if the microcontroller out PWM!
- So how to measure with this PWM?
- Is 0...5V ?
- Yes
- The device shows 2.5V so we had PWM with Duty Cycle 50% because the pin can not have an analog value.
-.........................................
I'm waiting for your other tips suggestions.
But it did not work first.
A colleague helped me find out for the mistake. We had something like this:
- Let's measure if the microcontroller out PWM!
- So how to measure with this PWM?
- Is 0...5V ?
- Yes
- The device shows 2.5V so we had PWM with Duty Cycle 50% because the pin can not have an analog value.
-.........................................
I'm waiting for your other tips suggestions.

