Serial Communication via Mosfet using UART instead of PWM
If a PWM signal is required for operation, then you'll probably just have to use a microcontroller to bridge the gap and generate the required PWM signal based on commands received via a UART.