Miramax281
Member
Hey'a guys, I'm new here and to the microcontroler world so please bare with me
I'm looking to have a small circuit built that will allow me to override an external sources (an automotive ECU) control over a linear solenoid.
The ECU drives the solenoid with PWM, I used a oscilloscope to measure what the ECU sends to the solenoid, I got 1KHz, 5VDC, 999.0us, the duty cycle ranges from 0% to 50%.
When I disconnect the ECU from the solenoid, The ECU throws an error code so I've managed to fake the ECU out by placing a large 10 watt resistor in so it thinks the solenoid is still there.
It looks like I can use a pot to adjust the duty cycle out of the PICAXE, 0% to 50% to manually override and drive the solenoid.
I want to have the ability to see what the duty cycle is across a LED bar graph both when the ECU is controlling or when manual override is enabled.
I'm thinking I can use the LM3914 to drive a 10 segment LED bar graph, but from what I can tell the PICAXE can't output analog voltage, so I'm thinking I can use RC circuit with a op-amp (low-pass filter) to convert PWM to analog voltage so I can drive the LM3914. Seems like there is a more elegant way to do this all but I'm real new here so any guidance would be very much appreciated
I'm looking to have a small circuit built that will allow me to override an external sources (an automotive ECU) control over a linear solenoid.
The ECU drives the solenoid with PWM, I used a oscilloscope to measure what the ECU sends to the solenoid, I got 1KHz, 5VDC, 999.0us, the duty cycle ranges from 0% to 50%.
When I disconnect the ECU from the solenoid, The ECU throws an error code so I've managed to fake the ECU out by placing a large 10 watt resistor in so it thinks the solenoid is still there.
It looks like I can use a pot to adjust the duty cycle out of the PICAXE, 0% to 50% to manually override and drive the solenoid.
I want to have the ability to see what the duty cycle is across a LED bar graph both when the ECU is controlling or when manual override is enabled.
I'm thinking I can use the LM3914 to drive a 10 segment LED bar graph, but from what I can tell the PICAXE can't output analog voltage, so I'm thinking I can use RC circuit with a op-amp (low-pass filter) to convert PWM to analog voltage so I can drive the LM3914. Seems like there is a more elegant way to do this all but I'm real new here so any guidance would be very much appreciated