Education Electronic Circuit Help

Discussion in 'General' started by longweight, 20 Feb 2012.

  1. Mongoose132

    Mongoose132 Duckmad

    Joined:
    23 Aug 2007
    Posts:
    783
    Likes Received:
    22
    When you get it finished stick a few pics up, be interesting to see :p
     
  2. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Will do! Also working on an Arduino build which should come to life on Wednesday!
     
  3. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    + -| water |- -
    water
    water
    + -| water |- -
    water
    water
    + -| water |- -
     
  4. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Ok so I have updated the circuit slightly :) I need to move on to the relay circuit for the LED's.

    [​IMG]

    If I am right the AND gate chip will output a maximum 12V at 3.6mA on each AND circuit. Chip link is here.

    Can I use this relay?
     
  5. Beasteh

    Beasteh What's a Dremel?

    Joined:
    18 Feb 2012
    Posts:
    278
    Likes Received:
    10
    Bear in mind that AND gate package has triple inputs. You'll need to connect a logic `1` (12V) to the unused input.

    Couldn't you use a transistor rather than a relay for driving the LEDs?
     
  6. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    Discontinued product
     
  7. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Waaaa! Ok I think it is time to find a decent circuit that the AND gate can trigger....
     
  8. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    Are you not using LEDs to signal the water levels?
     
  9. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Ja but the AND gate only outputs 12V 3.6mA or am I reading that wrong?
     
  10. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    Going to this family datasheet:
    http://www.nxp.com/documents/other/HCT_USER_GUIDE.pdf

    Your device is a HE4000B family, on table 1 you see metal gate CMOS 4000 HE output drive.

    It looks like the standard output is 0.8mA @5V.

    edit: Consider putting the 2 sides of the sensor at the same level:

    [​IMG]

    edit2: You can replace the relays with cheap 2n2222 transistors or something simpler.
     
  11. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Ah yes! Having the sensors at the same level would make much more sense! So it can take 12V in and output 5V?
     
  12. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    Do you want one led active at a time or can it have several LEDs lit?
     
  13. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    I want to have them each light up in turn so when the tank is full there will be 3 LED's illuminated. I might have time to add a speaker with the last LED but I just need to get this bit sorted.

    Thanks again for all your help!
     
  14. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    Does your project require you to use AND gates?
     
  15. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    No but it cannot include a programmed chip such as a PIC chip.
     
  16. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
  17. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    You could make it simpler by forgoing the AND gates and thinking of different connections between the opamps.
     
  18. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    This is true but I quite like the AND gates, not sure why!

    So... the AND gate is going to output 0.8mA at 5V. So I can just use that to power something like this? http://uk.rs-online.com/web/p/visible-led/2285483/ Although I would think the current is actually far too low.
     
  19. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,136
    Likes Received:
    381
    Use 3 simple transistors to drive the LEDs.
     
  20. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Will look into that tomorrow night, bed time now. Thanks again for all your help, wish I could do something for you!
     

Share This Page