Hi,
i use BCM 18 (PWM0).
I found a strange way of the Full PWM control at 25kHz with PIGPIO.
So i make this in the Terminal:
Code: Select all
sudo pigpiod
python
import pigpio
pi=pigpio.pi()
pi.hardware_PWM(12, 25000, 1e6*0.25) # 25000Hz 25% dutycycle(normaly)
And get this curve (not exectly):

- Unbenannt.png (59.62 KiB) Viewed 1973 times
I think this rounded pwm signal is also not the best for it:

- IMG_4610.JPG (167.75 KiB) Viewed 1973 times
I also tested the same transistor at the Ardruino there the signal looks normal.
Maybe its cause of the PWM Voltage form the Raspberry
THe PWM Pin of the raspberry only had 3.3V or not?
I will make new Pics tomorrow
Greeetings and thanks