Unpredictable PWM behaviour when powered via 5v pin

fnoguez
Posts: 6
Joined: Mon Sep 07, 2020 2:03 am

Re: Unpredictable PWM behaviour when powered via 5v pin

Postby fnoguez » Wed Sep 23, 2020 2:29 am

Hi
Maybe 1.92v is to low for the expected threshold 3v? try shifting the PWM high signal with gates, 2 NPN transistors in series as gates
or something similar. I attached a drawing that works for me . The common GND for both sides can be omitted if you want to isolate the MCU.
Hope this help
Attachments
opto01.png
opto01.png (12.67 KiB) Viewed 1629 times

Who is online

Users browsing this forum: Baidu [Spider] and 65 guests