Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 2nd January 2007, 05:07 PM   (permalink)
Default How does this work ?

Hi,i were doing a line follower robot circuit, and use by accident an invert 74HC04 and it worked great !! however i were following a schematic from lynxmotion Line follower and they used a schmitt trigger and i tried to use a schmitt trigger and it didnt work !! , i wonder how the inverter works with analog signals ? is it used as an amplifier there ?! , also the circuit with the inverter didnt want to work with a 10Kpot instead i used a 22Kpot and it worked very nice !! i really wonder .

http://i16.tinypic.com/4bp91sy.jpg
ahmedragia21 is offline   Reply With Quote
Old 2nd January 2007, 05:38 PM   (permalink)
Default

LDR have very slow response time comparing it to photodiodes or photo transistors.

Using an op-amp instead of the inverter will be much safer and will give you much better noise imunity.
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline   Reply With Quote
Old 2nd January 2007, 05:41 PM   (permalink)
Default

the 7404, have a fized shreshold, where it switches from 0 to 1.

depending on the value of the resistance of the LDR the ratio it makes with the Pot. resistance.. it may not swing around the shreshold of the inverter.. thus you may allways be too low or too high. this is why the 22K ohm resistor worked better. it all depends on the value of the LDR.

if you were using an op-amp, this wouldn't have been a problem...

edit: also you need a resistance in series with the LED..
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/

Last edited by ikalogic; 2nd January 2007 at 05:57 PM.
ikalogic is offline   Reply With Quote
Old 2nd January 2007, 05:55 PM   (permalink)
Default

i dont think its like that , but i feel that its use as an amplifier, -_-
ahmedragia21 is offline   Reply With Quote
Old 2nd January 2007, 06:15 PM   (permalink)
Default

you didn't say which schmitt trigger you used but look at the two thresholds. that's probably the issue. It's possible that the ST never got above the high threshold or below the low. Also, I would expect the '04 to have noisy behavior as it will not switch cleanly. that may not make much of a difference in this case, though.

to use a ST with the LDR, you should adjust the divider so that it triggers high and low for your target environment. Use a dmm to measure the dark and light voltages.

However, I suspect your real problem is the LED "pull down" that will keep the output voltage at the Vf of the LED.

I agree that LDRs are not as good as PTs for this application.
philba is online now   Reply With Quote
Old 2nd January 2007, 07:20 PM   (permalink)
Default

i used 74HC14 as ST , but i didnt get any strange behaviour or glitches with the inverter -_- i dont know why really the circuit works very fine with the inverter :s
ahmedragia21 is offline   Reply With Quote
Old 2nd January 2007, 09:25 PM   (permalink)
Default

even if it works fine, beleive me this circuit is not professional at all.

as pholba and myself said, you need a resistance in series with the LED, and you have to check the datahseet and see the 2 threshholds.. but again, you do not have any control over the amplification. NO it does not act as an amplifier, it acts as a diffrentiator, whose referece is fixed.

do what you want, this design may be simple but its not reliable. tell me, what are you gonna do if the lightning conditions changed to an extent that cannot be adjusted with the POT ??
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline   Reply With Quote
Old 2nd January 2007, 10:00 PM   (permalink)
Default

At 4.5V Vcc, the 74hc14 has a high threshold of 2.7V (typical) and low threshold 1.8V (typical). Thus, your LDR/Resistor needs to swing from <1.8 to > 2.7V. though I would shoot for something like 1V and 3.5V.

To recap schmitt triggers, the output goes high (or low for an inverter) when the input goes above the high threshold and does not go low (or high) until the input goes below the low threshold. this is called hysteresis and prevents noise at the switch point from "chattering" the output.

The 74hc04, with a 4.5 Vcc, switches at around 3.15V. You probably never got below the low threshold of 'HC14.
philba is online now   Reply With Quote
Old 3rd January 2007, 03:23 AM   (permalink)
Default

Doesn't anybody here agrees that's its much pro. to use an op-amp?? and will give more flexibility??
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline   Reply With Quote
Old 3rd January 2007, 03:48 AM   (permalink)
Default

I don't think pro would be applied to the use of an LDR in this application.

If it were me, I'd use an IR LED and IR phototransistor with a daylight filter in place. With the right pull up resistor, you could directly drive any logic input. No opamp needed.
philba is online now   Reply With Quote
Old 3rd January 2007, 12:34 PM   (permalink)
Default

ya philpa , i agree with ya im going to buy a pair of fairchild reflective sensor IR tx,rx ..

another question , for unpredictable ligh condition , the pot works or there's another better method ?
ahmedragia21 is offline   Reply With Quote
Old 3rd January 2007, 12:39 PM   (permalink)
Default

ya philpa , i agree with ya im going to buy a pair of fairchild reflective sensor IR tx,rx ..

another question , for unpredictable light conditions , the pot works or there's another better method ?
ahmedragia21 is offline   Reply With Quote
Old 5th January 2007, 10:25 PM   (permalink)
Default OPAMP power supply can I use +15v to 0V?

Hi I have built plenty of circuits in school but I always had a +/- 15V supply. Now that I want to build circuits at home I do not have a supply that goes negative (I do have a 24V DC supply) Can I use it to power an OPAMP that wants +/_15V? by giving it +24 Vcc and 0V Vee or must I build a -12V supply.

Please reply if you have come across this problem before

thanks
barry995 is offline   Reply With Quote
Old 6th January 2007, 01:58 AM   (permalink)
Default

Quote:
Originally Posted by barry995
Hi I have built plenty of circuits in school but I always had a +/- 15V supply. Now that I want to build circuits at home I do not have a supply that goes negative (I do have a 24V DC supply) Can I use it to power an OPAMP that wants +/_15V? by giving it +24 Vcc and 0V Vee or must I build a -12V supply.

Please reply if you have come across this problem before

thanks
Please don't double-post. I answered this question about opamps in your other post. I also answered the same question recently from somebody else.
__________________
Uncle $crooge
audioguru is online now   Reply With Quote
Old 6th January 2007, 04:10 AM   (permalink)
Default

Quote:
Originally Posted by barry995
Hi I have built plenty of circuits in school but I always had a +/- 15V supply. Now that I want to build circuits at home I do not have a supply that goes negative (I do have a 24V DC supply) Can I use it to power an OPAMP that wants +/_15V? by giving it +24 Vcc and 0V Vee or must I build a -12V supply.

Please reply if you have come across this problem before

thanks
I'll save audioguru the trouble, (as far as i know... )

You can. you can use an LM358, which does not need negative supply. i suppose you worked on 741 opamp.

Also if you really need 12/-12, you can connect the 24/0 v to the opamp, work as if it was 12/-12, and each time you need a 0V, a simple voltage divider will do.
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Will this work? MagnumForce General Electronics Chat 7 11th November 2007 12:12 PM
now how do these work? moody07747 Chit-Chat 6 17th April 2006 07:17 AM
why doesnt it work Emantra General Electronics Chat 4 20th September 2005 02:59 PM
Delay doesn't seem to work - Help! bsodmike Micro Controllers 6 14th June 2004 09:47 AM
a hard project to get to work!! cloudkicker101 General Electronics Chat 2 12th November 2003 01:39 AM



All times are GMT. The time now is 04:21 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.