Simple look on how to use a 2nd gen Chevy Volt traction battery charger.
From a guy who barely knows how. :)
Battery Charger puts out 437Volts!
Changing Pin frequencies:
• Arduino Basics Change your PWM Frequency
Simple Duty and Frequency controller
Not the same one but it should work:
https://www.aliexpress.com/item/10050...