Hey, I've tried to build a DC to DC convertor using the arduino, based on the following schematic:
According to Wikipedia
Strangely my circuit doesn't follow this equation.The output voltage when I changed the frequency of the PWM, The inductor or the LOAD resistor.While it should be changed by the duty cycle
Moreover, I've used the following simulator to simulate this circuit and it was working the same as my circuit on a breadboard
What am I doing wrong?