1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Education Electronic Circuit Help

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

  1. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
    Try something like this:
    [​IMG]

    edit: also make sure that you are not putting weird voltages into the AND gate, try using a simulator like eagle before you do that circuit in real life.
     
  2. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    That pic has gone down since you uploaded it :(

    What would you suggest instead of AND gates?
     
  3. Alekoy

    Alekoy Ostekake!

    Joined:
    28 Dec 2003
    Posts:
    1,172
    Likes Received:
    68
    guys, hold on here a little...first off, I see your first potential problem here.

    To actually get the seperate levels, you need to mount the point you measure from, on the actual level, and inject only one 12v below the lowest level, if you measure from the bottom and inject 12v on the seperate levels, all sensors will pick up the 12v coming from the lowest level.

    secondly, your house boat will probably have a engine with a negative ground, and you are putting 12v directly into some other parts of the boat, this will at some pint lead to damage form electrolytic corrosion.
    I work as an electrician on boats for a living and believe me, you do not want that. (Faraday's 1st Law of Electrolysis is relevant here, if you want to calculate the loss of metal due to this)
    I suggest placing a >100Kohm resistor on your 12v source to the tank, this should reduce the current, and slow down the galvanic corrosion to a reasonable level, or even better supplying the negative to the tank instead. (assuming the engine either has negative ground, or has a 2-pole electrical system.)
     
  4. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Thanks man, this is just a University project and the application is just an idea. It won't be installed or used long term :)
     
  5. Alekoy

    Alekoy Ostekake!

    Joined:
    28 Dec 2003
    Posts:
    1,172
    Likes Received:
    68
    Ok, just scratch that second part there :p
     
  6. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Jesus this is making my head hurt, I have no idea whether it is going to work properly or how to get the LED circuit going :(
     
  7. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
    This:

    [​IMG]

    [​IMG]


    You just need to calculate the resistors.

    Edit: Alekoy He could also use optic systems.
     
    Last edited: 23 Feb 2012
  8. unicorn13ocp

    unicorn13ocp Staying sane inside Insanity

    Joined:
    18 Feb 2010
    Posts:
    29
    Likes Received:
    0
    Hi Longweight,

    Spotted your thread and remembered a few circuits came across, whille looking for circuits for a friends canalboat.

    Fluid sensors:-

    Circuit 1

    Circuit 2

    Found them via discover circuits website, a good resource for this electronic.

    Hope these help, especially as they give theory too.
     
  9. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
  10. longweight

    longweight Possibly Longbeard.

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

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
    Rename your V1 source as V2 and on the DC sweep parameters choose V2.V as "parameter:"
     
  12. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Thanks, such an awesome site!
     
  13. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    Ok so I am a little confused by the AND gate, I am inputting 12V and the AND gate is outputting 5V, is that correct?
     
  14. Ending Credits

    Ending Credits Bunned

    Joined:
    4 Jan 2008
    Posts:
    5,322
    Likes Received:
    245
    You shouldn't really be inputting 12V to a logic gate. Logic should be 5V and 0V.

    You could use a transistor to act as an AND gate but you'd have to ask someone with more electronics knowledge than me.
     
  15. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    I could drop the input voltage quite easily I guess...
     
  16. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
  17. longweight

    longweight Possibly Longbeard.

    Joined:
    7 May 2011
    Posts:
    10,517
    Likes Received:
    217
    The guy running my course was more interested in me using logic gates!
     
  18. DXR_13KE

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
    I think you do not need more than 5 V to drive the transistors to turn on the LEDs.
     
  19. longweight

    longweight Possibly Longbeard.

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

    DXR_13KE BananaModder

    Joined:
    14 Sep 2005
    Posts:
    9,139
    Likes Received:
    382
    I think 100 ohms for the LED resistors is not enough.

    Edit: you may also run into some trouble with the BE voltage on the transistors. What i usually do is put the emitter connected to ground, put the LED and Rled before the Collector and put an R before the Base to limit Ib so that you do not fry the AND gates and have enough current to drive the transistor.

    Remember:

    Ic = beta(also known as gain) * Ib and Ie = Ib + Ic.

    Look at the image i posted previously.
     
    Last edited: 4 Mar 2012

Share This Page