C127 PWM outputs

D153, D175, C125, C127, C185 and C187 forum

C127 PWM outputs

Postby the_bluester on Thu Jan 19, 2017 9:16 am

I am trying to set up some functionality where an analog input would be used on another (Non Motec and without user CAN configurability) device in my car based on a counter in my PDM.

Is it feasible to use a table in my dash (Using the PDM counter output on CAN as an input to the dash) and a PWM output to generate a variable DC voltage for input to the other device? I would imagine I would need to build a small LCR filter circuit to smooth the output from the dash but if it is something that is just never going to work I will have to think of another way. It is actually intended to be an input to control trim on an external boost controller from buttons on a keypad attached to my PDM but I may well find other uses if it is feasible.
the_bluester
 
Posts: 210
Joined: Wed Nov 04, 2015 9:30 am

Re: C127 PWM outputs

Postby David Ferguson on Thu Jan 19, 2017 9:44 am

I think you can make that work, here's an example of the smoothing circuit you might use:

http://www.ontrak.net/pwm.htm
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1379
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: C127 PWM outputs

Postby the_bluester on Thu Jan 19, 2017 10:03 am

I guess I should just have a crack at it. It is not as though it will cost me much in componentry. The input to be driven has a decently high input impedance so load on the output of the dash or on the filter circuit itself should not pose a problem.

I suppose using an inductor is probably a bit belt and braces. reliability should not be an issue either if values around 1uf are useful. That lets me avoid electrolytic caps so no future issues with drying out electrolyte and drifting capacitance.
the_bluester
 
Posts: 210
Joined: Wed Nov 04, 2015 9:30 am


Return to Colour displays

Who is online

Users browsing this forum: No registered users and 13 guests