SparkyChem
Member level 3
- Joined
- Apr 22, 2010
- Messages
- 57
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Lima, Peru
- Activity points
- 2,084
MAX232 data is positive logic bipolar with a threshold of 2 diode drops or 1.3 like TTL but can may exceed +/- 5V
HC CMOS is normally Vccx/2
Do you know how to limit the signal for 5V logic without loading RS232?
Do you know what a one shot IC is?" It can be as simple as a diode cap + slow decay R + buffer or a dual 1shot IC.
now search
i think using two NOR gates can be used with this but i dont know about the diode you cap plus R.
I have a hunch this is the method SunnySkyguy is referring to.
The capacitor charges quickly from an incoming pulse. Then it discharges slowly through a resistor.
Feed the output to a logic gate.
You must find the proper capacitor value through experimentation.
The logic gate probably has its own internal input resistance. (A typical value is 1M ohm.) This could take the place of the discharge resistor.
I also noted that using a 555 timer could do that work, but i note that there is a volatge drop to 3.3v in the output, would this happen with the method you posted earlier? i mean the diode plus the RC circuit?. If possible i would like to stick with the individual logic gates of the 4000 family, but my problem is if there would be a voltage drop like the 555.
The 555 output goes to supply V, or close to it. (I guess I should have commanded the bottom scope trace to label the voltage highest reading.)
The capacitor charges to 2/3 of supply V. That causes the timing cycle to end. That is why 3.3V is the high reading on the scope trace.
Did you try your schematic in simulation?
Logic gates do not operate by hysteresis by themselves. We are looking at conceptual circuits which require the capacitor to charge instantly, from a brief pulse. This is not easy to achieve. Moreover it is not easy to adjust the timing cycle. As you notice, the diode causes a 0.6V drop.
The 555, on the other hand, has its own internal hysteresis envelope. It receives a pulse (perhaps very brief), then it starts charging the capacitor gradually. Its operation is predictable. The timing cycle is easy to adjust.
Yes i tried the schematic in simulation and it works but i dont get why do you left ctl pin unconnected. Shouldn't be connected to a 0.01 uF capacitor?.
Although i appreciate your efforts for giving to me a hint on how to do this with a 555 time i need to do this with 4000 series. That being said, wouldn't be a better option for a monostable using a CD4098, CD4538 or with CD4047?.
There are a few considerations for a RS232 to CMOS data indicator
RS232 ( or +/-3 to +/-15) needs to be made unipolar for CMOS using internal ESD diodes.
Film cap is preferred for low leakage Cap and RC > 0.1second
LED current and ON time are user choices in design.
PLay with sim. press on switch.
Yes, it is common to add the capacitor at the ctl pin. The simulator defaults to leaving it unconnected, to make things simple.
Those are designated as monostables. I imagine they will work, similar to a 555.
You'll want to check whether their output impedance is low enough, and can produce an Ampere level that will drive your intended load.
As for the 555, it can provide 200 mA.
TIs it possible to reduce the frequency using logic gates plus other components?.
To answer your question, a single flip flop is the classic method to divide an incoming pulse train by 2.
The D type is simple and easy to wire for doing this.
======================================
Your purpose is not too different from a logic probe. If you look at some schematics you might find one which lengthens a brief pulse, so that human eyes can observe it.
If you have a series of pulses to detect, then they might be sufficient to power a simple diode and capacitor, so as to light an led continuously.
This method 'steals' several mA from the signal. If that interferes with proper operation, then reduce the capacitor value, make it a sample-and-hold to bias a transistor, and power the led that way.
There are a few considerations for a RS232 to CMOS data indicator
RS232 ( or +/-3 to +/-15) needs to be made unipolar for CMOS using internal ESD diodes.
Film cap is preferred for low leakage Cap and RC > 0.1second
LED current and ON time are user choices in design.
PLay with sim. press on switch.
...If possible i would like to stick with the individual logic gates of the 4000 family, but my problem is if there would be a voltage drop like the 555.
I found that a monostable multivibrator can be made with NAND gates, but would this be more effective than using a 555 or the NOR gates?
If this doesn't work for your LED , you are doing something wrong like using O.C. Logic with no pullup. schottky diodes are preferred to minimize loss in margin.
What are you logic levels?
Typically when one needs a precision pulse stretcher , we call it a 1-shot which can be retrigerable or not. In this case you want it retriggerable.
The technical name for the IC is a Monostable Multivibrator and there are dozens.
Here's one
http://cds.linear.com/docs/en/datasheet/69931234fb.pdf
Oh BTW all logic chips are "analog" devices under the hood, and can be used in many analog ways. Oscillators, analog switches etc.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?