+ Post New Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 24 of 24
  1. #21
    Advanced Member level 2
    Points: 3,283, Level: 13
    baileychic's Avatar
    Join Date
    Aug 2017
    Posts
    651
    Helped
    50 / 50
    Points
    3,283
    Level
    13

    Re: Need help in LED controlling

    #betwixt

    Ref voltage is connected to INV+ or INV- pin in your circuit ?



    •   AltAdvertisement

        
       

  2. #22
    Super Moderator
    Points: 82,003, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,447
    Helped
    4487 / 4487
    Points
    82,003
    Level
    69

    Re: Need help in LED controlling

    Depends on the power control circuit, it will work both ways, one will make the comparator output high when more than two solenoids active, swap them and the output will go low instead.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



    •   AltAdvertisement

        
       

  3. #23
    Advanced Member level 2
    Points: 3,283, Level: 13
    baileychic's Avatar
    Join Date
    Aug 2017
    Posts
    651
    Helped
    50 / 50
    Points
    3,283
    Level
    13

    Re: Need help in LED controlling

    Here is the circuit that I made referring betwixt's circuit. All resistors connected to switches are 10k. There is a slight problem. If I don't use 100u then circuit doesn't work because the switch circuit's output voltage fluctuates a lot doe to ground connected to neutral.

    If I use 100u then there is slight problem in simulator that is when 3rd lamp is turned ON then it initially turns ON for 2 sec and then all lamps turns OFF.

    Edit:

    Changed the circuit a little. SVCv2.1. Both SVCv2 and SVCv2.1 works.
    Last edited by baileychic; 18th January 2019 at 13:45.



    •   AltAdvertisement

        
       

  4. #24
    Super Moderator
    Points: 82,003, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,447
    Helped
    4487 / 4487
    Points
    82,003
    Level
    69

    Re: Need help in LED controlling

    I anticipated the voltage drop problem but without a specification for the solenoids it is difficult to see how much it is likely to be. However, to mitigate the problem I used a comparator and increased the supply voltage. Increasing the voltage makes the voltage drop in the wiring less significant. You have again dropped the supply and used an op-amp. If anything I would have done the opposite and run the comparator and resistor chain from a higher voltage.

    Nevertheless, I think you would agree it can be much simpler than originally proposed!

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



--[[ ]]--