Opinions on how to kill a signal
generator
Posts: 7
I am working on two devices that communicate speed of a rotating shaft. The first device has some form of hall effect sensor.
The line that communicates the speed caries pulses that go from 0 to 5 volts. The faster the shaft rotates the faster the pulses. This data line (single wire) is the only wire which is accessable to me. My question is this. Can I kill this signal temporarily by shunting it to ground (perhaps thru a resistor)? Is there any possibility of damage trying this? I know I can interupt the circuit with a relay but I am trying to make it as simple as possible and without having to cut the wire. I was hoping to be able to get one of my pins on my Stamp to go low and shunt the signal to ground.
Any suggestions are greatly appreciated.
The line that communicates the speed caries pulses that go from 0 to 5 volts. The faster the shaft rotates the faster the pulses. This data line (single wire) is the only wire which is accessable to me. My question is this. Can I kill this signal temporarily by shunting it to ground (perhaps thru a resistor)? Is there any possibility of damage trying this? I know I can interupt the circuit with a relay but I am trying to make it as simple as possible and without having to cut the wire. I was hoping to be able to get one of my pins on my Stamp to go low and shunt the signal to ground.
Any suggestions are greatly appreciated.
Comments
·· I don't know about killing the signal, but you could kill the Stamp pin that way.· Making a pin and output while another device is outputting data to it can destroy the pin and/or the other device.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Notice the resistor, this is to make sure you do not burn out the signal line if it is being actively driven by your sensor (if you know for a fact it is an open collector out then the resistor isn't needed but doesn't hurt to be safe). The output is taken between the load and the collector of the transisitor.
Post Edited (Paul Baker) : 4/7/2005 8:36:14 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
Latest Company News
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
NEW! 4 MB EEPROM
http://hometown.aol.com/newzed/page4.html
·
·· I was· going to ask if he could just ignore the signal, but then figured, he must have a reason.· But you're right, it would be nice to know.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Of course a simple solution if there is no emitter resistor is to use a base resistor.
Am I all wet or ????
Paul Baker said...
Ok a simple transistor should suffice:
Conventionally you would have a resistor on the transistor base so the Stamp
would see...
Depending on the value of the resistor, the resistor in Pauls circuit will also
provide a shunt to ground to meet the original request. If this resistor value
is too low and sinks more current than the stamp pin can handle, then it would
be a good idea to place a resistor at the base of the transistor to the IO pin
that will limit the overall IO current to a safe level...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
Latest Company News
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
One problem with the circuit is that the sensor does not see a true shunt of its signal, but this is not desirable as previously mentioned.
I too am a little perplexed why the shunt is needed in this application.
from detecting it.
If the Stamp I/O pin#2 is made LOW and an output, then the Signal from the sensor is allowed to
be read at Stamp I/O pin #1
If the Stamp I/O pin#2 is made HIGH and an output, then the Signal from the sensor is blocked
and can not be read at Stamp I/O pin #1 (will always read HIGH)
if you want this operation reversed, then reverse the DIODE and in this case,
If the Stamp I/O pin#2 is made HIGH and an output, then the Signal from the sensor is allowed to
be read at Stamp I/O pin #1
If the Stamp I/O pin#2 is made LOW and an output, then the Signal from the sensor is blocked
and can not be read at Stamp I/O pin #1 (will always read LOW)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
Latest Company News
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
Anyway I appreciate the answers. ICeMAN & Chris, to answer your question:
Imagine this scenario: An active sensor in one room and a Processing unit in another room. The active sensor has its own power source. The Processing unit has it own power source. The only common link between the two rooms is a data line and a common ground. The data line is used to count pulses. I want to disrupt the flow of the pulses midway in the simplest fashion. I could use a relay to interupt the data line but then that means the added expenses of building driver ciruits etc. I was envisioning a simple way to ground or shunt the pulse to ground by sinking it thru a resistor to a stamp pin. I like the transistor idea that Paul put up but I was hoping to do it with just one wire. Using a relay or transistor means additional wires to interupt the circuit rather than one wire to shunt the whole line to ground. I know my request seems insane but I would have to do this mod to many units and the easier it is the better.
Just another one part thought would be a 5 VDC reed relay with a built-in protection diode.
Typical would be the Hamlin HE700 Series as shown here:
http://www.hamlin.com/index.aspx?tabindex=2&tabid=8&mid=223 (click on picture)
Regards,
Bruce Bates
·· You explained in more detail what you're trying to do, but I guess I am either missing something, or just don't see why the receiving end can't just be programmed to ignore the pulses when you don't want them.· For example...If you have a Stamp waiting for data on an input pin, and you want to stop doing that for awhile, you just ignore the pin.· The data can do whatever it wants, but you're not inputting it anymore.· I just don't understand the reasoning behind having to supress the signal.· That's what I was curious about...Why you'd need to do that exactly.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Do you want to eliminate the signal via software control based on various inputs?
·· I was trying to save everyone trying to come up with a hardware solution if it's not really necessary.· I just don't see why the signal can't simply be ignored by the receiving device.· Having the answer to this question might also provide key information to the way the signal might need to be interrupted.· There might be factors here we don't know without the whole story.· I tend to try to get the whole story before I offer solutions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com