Hello all and thanks in advance...
I am trying to use a Raspberry PI to control a 12V signal using a XY-MOS Power Mosfet module (xy-mos, qty5 for $10 @ Amazon). I am using the pigpio library and I that I am sending a good PWM signal to the xy-mos. I cannot seem to affect the output voltage of the module. I get 12V no matter what I do. I have screenshots of a scope of the outputs from the Rpi and the XY-MOS. The 'recommended' connection is shown on the left in the first image below. My connection is on the right. I have attached two screen shots of my scope. In the first scope image the pwm is set at 180 out 255 (71% duty cycle). In the second scope image the pwm is set to 16/255 (6% duty cycle). Notice in both cases the the channel 1 signal is a 'noisy' 12v. (BTW, I just got this oscilloscope, my first, and don't really know what I am doing). There is an led on the xy-mos module that varies with intensity when I change the duty cycle so I believe that it is 'seeing' my pwm signal. When I set the duty cycle to 0% the led goes off. I received 5 of these modules and I have tried two of them with the same result. Do I have to attach a 'load' to the output for it to work? What am I doing wrong?
I am trying to use a Raspberry PI to control a 12V signal using a XY-MOS Power Mosfet module (xy-mos, qty5 for $10 @ Amazon). I am using the pigpio library and I that I am sending a good PWM signal to the xy-mos. I cannot seem to affect the output voltage of the module. I get 12V no matter what I do. I have screenshots of a scope of the outputs from the Rpi and the XY-MOS. The 'recommended' connection is shown on the left in the first image below. My connection is on the right. I have attached two screen shots of my scope. In the first scope image the pwm is set at 180 out 255 (71% duty cycle). In the second scope image the pwm is set to 16/255 (6% duty cycle). Notice in both cases the the channel 1 signal is a 'noisy' 12v. (BTW, I just got this oscilloscope, my first, and don't really know what I am doing). There is an led on the xy-mos module that varies with intensity when I change the duty cycle so I believe that it is 'seeing' my pwm signal. When I set the duty cycle to 0% the led goes off. I received 5 of these modules and I have tried two of them with the same result. Do I have to attach a 'load' to the output for it to work? What am I doing wrong?