Hi,
I'm using a pic to read in a square wave at 8V... To do this I'm running though a resistor and then spliting to my pic and a zener diode connected to ground. End result is that my pic can see 0V and 4.5V for the high of the wave.
Now I've decieded I want to also transimit on the wire the wave is coming in on. I plan to wait for a long silence and then begin transmitting via turning the pin high and low, creating my own wave on the wire I already have coming in.
My problem is I have no idea how to send 5V out of the pic and have it go into a transistor of some sorts, and then have an 8V signal get into the square wave wire.
A problem I see is that I believe I will be cutting my own signal down with my resistor/zener setup that I need to read the signal in.
Ideas ?
I'm using a pic to read in a square wave at 8V... To do this I'm running though a resistor and then spliting to my pic and a zener diode connected to ground. End result is that my pic can see 0V and 4.5V for the high of the wave.
Now I've decieded I want to also transimit on the wire the wave is coming in on. I plan to wait for a long silence and then begin transmitting via turning the pin high and low, creating my own wave on the wire I already have coming in.
My problem is I have no idea how to send 5V out of the pic and have it go into a transistor of some sorts, and then have an 8V signal get into the square wave wire.
A problem I see is that I believe I will be cutting my own signal down with my resistor/zener setup that I need to read the signal in.
Ideas ?