I'm thinking of undertaking a signal conversion project where I have to convert a pwm signal to one with a different frequency and some other stuff, mostly basic.
One thing of importance though is that this signal is switched low, so the 12v wire is permanent, and the ground wire is open circuit whilst the pwm signal to the driving mosfet is low, and when the pwm signal is high it's connected to ground. One of the stipulations of my project are that the mosfet and driving system are not altered, (as it's a totally seperate device that I can;t interfere with) so I have to work with this.
I was thinking, as my signal converter would go between the mosfet and the solenoid being driven, (and thus the solenoid could be isolated from the initial pwm signal that's being converted) could I perhaps pass a small (limited) current to this switched earth wire, and monitor the voltage, with a pic and reconstruct the pwm signal from when the voltage is dragged down.
I can't see any reason why that wouldn't work, and it would also tell the driving device that there's a small load on the signal wires too (its a controller and can detect open circuit faults etc) so that'd be pretty ideal.
Does anyone have any better ideas, or does it sound like a 'plan'?
One thing of importance though is that this signal is switched low, so the 12v wire is permanent, and the ground wire is open circuit whilst the pwm signal to the driving mosfet is low, and when the pwm signal is high it's connected to ground. One of the stipulations of my project are that the mosfet and driving system are not altered, (as it's a totally seperate device that I can;t interfere with) so I have to work with this.
I was thinking, as my signal converter would go between the mosfet and the solenoid being driven, (and thus the solenoid could be isolated from the initial pwm signal that's being converted) could I perhaps pass a small (limited) current to this switched earth wire, and monitor the voltage, with a pic and reconstruct the pwm signal from when the voltage is dragged down.
I can't see any reason why that wouldn't work, and it would also tell the driving device that there's a small load on the signal wires too (its a controller and can detect open circuit faults etc) so that'd be pretty ideal.
Does anyone have any better ideas, or does it sound like a 'plan'?
Last edited: