PWM and Frequency

I’m trying to interface a wheel chair controller with the ABBII and AtomPro28 or whatever MCU I need. The output of the original controller is…
PWM Frequency: 19.5kHz ± 1%

Does that mean that I will have to supply a 19.5kHz carrier frequency or can I reproduce this somehow with the AtomPro28 and BotBoardII

Posting the model and part number of the motor controller with the pwm input would be a good start. :slight_smile:

The device that I’m trying to emulate is a P&G Pilot + wheelchair joystick pod, unless you are a power wheel chair technician or engineer you will only find the info that I have already found, which is about nil due to proprietary devices. Try it, look up P&G Pilot + joystick controller on the net, you will come up with a manual eventually but ZERO schematics. If you contact P&G they will not even answer you unless you are a registered power chair owner and if you want info you have to be a registered P&G tech.

So what I need is to be able to output a 19.5 kHz frequency from the Bot Board as a carrier for the PWM to ride on.

I know, it’s not much info but believe me there isn’t any info out there and the small group that does have any runs into the same brick wall.

Why not use a Sabertooth or RoboClaw?

The 19KHz PWM is the drive… Not really a “carrier”.

What PWM (other then R/C) can a 'pro generate already?

Alan KM6VV

The below people have motor controllers that might be of interest.

secure.oatleyelectronics.com//in … bcce5d0560

Look at the HPWM command!

Alan KM6VV

I have a few P&G drive modules and they have a lot of built in safety features that are desirable for my proposes. Such as shutting down on any kind of fault instead of bolting off full bore because a transistor fried in the closed position.

I think I have numb brain or something…what I’m looking for is if the ABBII can output a PWM at 19.5kHz and is there an example anywhere?

Kinda, look up Look the HPWM command, I think it had a simple example for 10KHz. Might work at 10, or change the parm for 19K.

This uses the hardware to generate PWM, should be good.

Alan KM6VV

Thanks, I’ll check it out.