![]() |
|
|||||||
| The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
After a little advice on Schmit trigger IC's. I have a SN74LS14N chip. I've got a signal which is relatively square wave at about 100mV Peak to Peak. I want to take this circuit and make it bounce nice and hard with solid levels in accordance with the input voltage. So a +50mV input would equate to around +5v and a =50mV would equate to -5V. So I'm thinking this is ideal for a schmit trigger circuit? I understand(perhaps incorrectly) that a schmit trigger will take the input to either the Vcc voltage or to ground depending on the input. - is that correct..? with the IC I hve, what are the trigger voltages which will result in the schmit trigger transitioning from state to state on the output. I read the data sheet but it's a bit complex for simple old me.. here it is : http://www.datasheetcatalog.com/data...N74LS14N.shtml appreciate if anyone could confirm my understanding of the schmit trigger.. and if anyone has other ideas on how to achieve the desired output based on the inputs - a fluctuating AC signal (decoded POCSAG code actually) of around 100mVp-p. I'm trying to take this small signal and drive it up to RS-232 levels, whilst cleaning it a little at the same time. Thanks! |
|
#3
|
||||
|
||||
|
I'm afraid that your 100mV p-p signal is not of sufficient amplitude to trigger a 74LS14.
You really need to use a comparator with hysteresis; which is basically a Schmitt trigger. Have a look at the attached schematic & simulation. The title is somewhat misleading; with Vcc=5v, hysteresis is actually about 25mV. To increase hysteresis to 50mV, decrease the value of R5 from 470k Ohms to around 240k Ohms. If you're going to be using a Vcc of 10v, then leave it at 470k. C1 blocks the DC level of your 100v p-p signal (A), shown on the simulated O-scope on the bottom as the cyan trace. R1/R2 are a voltage divider that centers your signal at Vcc/2; in this case 2.5v. R3/R4 centers the voltage reference at Vcc/2. In actual practice, R3/R4 should be about 4.3k Ohms, and there should be a 1k pot between them to allow for adjustment; real-world resistors are not exactly their specified value. R5 provides negative feedback to the reference input for hysteresis. This also keeps the circuit from oscillating on it's own. R6 is a pull-up resistor; this is necessary because the LM339 has open-collector outputs. It can sink current, but it cannot source current. R6 provides a current source. |
|
#4
|
|||
|
|||
|
my god.. that little program just makes it look too easy! Circuit Maker.. I just had a look and it's no longer supported.. ?
I had been using SuperSpice.. seems very powerful but I find to tooo complex for simple stuff like this. what would the advice be for a person like me who is just playing around with circuits for the fun of it and the learning - as far as a electronics sim program like this goes? I had done little research but ti seemed to me there was no clear leader in the field. if possible I'd like also to be able to have a Picaxe micro in there - do any of these circuit sims handle having a microprocessor in there well? |
|
#5
|
||||
|
||||
|
Quote:
Quote:
Quote:
Circuit maker was superseded by Altium Designer. Circuit Maker Student is/was a freeware download. Altium Designer cost around $10,000 per installation a few years ago. Microchip's MPLAB IDE has a built-in emulator for various PIC uC's. You could test out a program in it to see how it'll work. You could use another PSPICE program to test out the linear portions of the circuit. Linear Techology's LTSpice is a very good (and free) PSPICE and schematic capture program. The interface is just a little bit quirky, and the library contains mainly just Linear Technology's components. However, you can add as many components to the library as you wish. |
|
#6
|
||||
|
||||
|
Oh, one more thing - I used an LM339 quad comparator because you can find them at your local Radio Shack. There are 3 other comparators in that IC; if you aren't going to use them, you should ground their inputs, otherwise you may have stability problems.
|
|
#7
|
|||
|
|||
|
well I found a download of Circuit Maker... but it won;t install under W7! .. I've just spent 20 minutes trying to find out hwo to get it working.. but it seems no go :-(
having a play with a program called MicroCap at the moment.. hmm... wish I just could just pay $29.95 once of and get a 'real good' program that solves all my needs.. this is a new area to me(sims), there seems so many options.. I just want to build circuits and get going. if I may ask..SgtWookie how would you take the circuit you made and make it trigger on 100mVp-p fluctuating about zero V and make the output around 5Vp-p fluctuating about zero V also..? (being a bit lazy here but you're so damn quick!) |
|
#8
|
||||
|
||||
|
Quote:
I like W XP Pro just fine, thxvrymch. Quote:
![]() Quote:
Have a look at Tina-TI over at Texas Instruments' website. http://www.ti.com It's a free download. It's a somewhat stripped-down version of Tina. Quote:
OK, do you have a -5v rail source? |
|
#9
|
|||
|
|||
|
No.. I think for the moment in testing I'll just use batteries.. so it will be +4.5 and -4.5V rails actually. I need to drive RS-232 ok and the RS-232 spec says that between 3-15 volts is ok so 4.5 should be fine I'm thinking, and easy enough to get a hold of .. going to download and try that program now.
|
|
#10
|
||||
|
||||
|
OK, I put in a -4.5v Vee, some Zener diodes in the output to limit the output voltage swing to around +/-2.5v, and the cap/resistors on the input were no longer necessary. The Zeners really aren't necessary, as RS232 could swing to +/-12v.
Note that the output polarity is opposite from the input. |
|
| Bookmarks |
| Tags |
| schmit, trigger |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IR camera trigger design | AdamM | The Projects Forum | 4 | 09-28-2009 06:47 AM |
| trigger circuit for comparator | devalvyas | General Electronics Chat | 2 | 08-11-2009 06:47 AM |
| schmit trigger | delidou | General Electronics Chat | 2 | 07-08-2008 01:06 AM |
| Submission in progress, 555 Schmitt Trigger | Bill_Marsden | Feedback and Suggestions | 30 | 06-05-2008 01:28 PM |
| 555 timer trigger question | skinner927 | General Electronics Chat | 31 | 01-31-2008 05:15 PM |