Hello.
I have made a transformerless power supply for a small 24V DC fan.

The 330 ohm resistor is to simulate the fan. The question is I don´t understand why the filter capacitor moves down the voltage
Wihtout capacitor

With capacitor

Maybe it is a silly question.
Thank you.
I have made a transformerless power supply for a small 24V DC fan.

The 330 ohm resistor is to simulate the fan. The question is I don´t understand why the filter capacitor moves down the voltage
Wihtout capacitor

With capacitor

Maybe it is a silly question.
Thank you.