Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Dual PWM with 50% offset, how to?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Dual PWM with 50% offset, how to?

by Ne3M on Sun Jun 21, 2020 1:47 pm

Hi everyone,

I've built a circuit to drive EL wire but I need my Gemma M0 to drive dual pwm signal in synchronous at about 3kHz with 50% offset between the 2 PWM drivers. The 2 PWM signals should also be able to change the duty cycle between 0% to 25% in order the adjust luminosity.

There is a very good write up here https://learn.adafruit.com/adafruit-gemma-m0?view=all#circuitpython-pwm-2 but this only covers driving a single PWM signal. I've attached the schematic as well as a simulation of what I'm trying to achieve.

Any help will be greatly appreciated!
Attachments
EL_wearable.pdf
(48.25 KiB) Downloaded 2 times
el_driver_circuit_sim_output.pdf
(138.33 KiB) Not downloaded yet

Ne3M
 
Posts: 1
Joined: Sun Jun 21, 2020 1:33 pm

Please be positive and constructive with your questions and comments.