Need to design an IR Receive amplification circuit for digital processing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EasyGoing1
    Shock Therapist
    • Sep 2016
    • 977
    • USA

    #1

    Need to design an IR Receive amplification circuit for digital processing

    Hello,

    What I am trying to do, is add to a project that I have already created and am using successfully.

    What I have noticed, is that when batteries in my IR remote control get marginally low, the project I'm using doesn't get accurate information from the remote, so I need to replace batteries in the remote - in my opinion - too frequently.

    The input pin in the Arduino triggers interrupts when it crosses a threshold between 2.2 and 2.4 volts. If voltage fluctuates between 2.2 and 2.4, then the interrupt constantly triggers.

    I've noticed that when the IR receiver is idle, it feeds roughly 5 volts to the input pin and when I trigger it with an infrared signal, it goes down to around 1.1 volts at its lowest value.

    The IR Input pin is configured to idle in an INPUT_PULLUP mode, which means if nothing is connected to it, it will always be right around 5 volts, so I only need to pull it to ground when that IR sensor gets below 4 volts or so.

    SO ... what I'm thinking, since most standard transistors will turn on at a base value of around 1-ish volts, I need a circuit that will stay off when the voltage is at 5, but then turn on HARD when the voltage gets below 4 which would let me sink that input pin straight to ground through the collector ... so I basically need the reverse behavior of a "normal" transistor with very little saturation margin as the voltage on the base begins to change and I don't know how to create such a circuit.

    Any input or ideas on where or how to direct my pursuit on such a circuit would be much appreciated.

    Thank you,
    sigpic
  • budm
    Badcaps Legend
    • Feb 2010
    • 40746
    • USA

    #2
    Re: Need to design an IR Receive amplification circuit for digital processing

    Show us the schematic of the existing IR receiver, also the remote itself.
    Never stop learning
    Basic LCD TV and Monitor troubleshooting guides.
    http://www.badcaps.net/forum/showthr...956#post305956

    Voltage Regulator (LDO) testing:
    http://www.badcaps.net/forum/showthr...999#post300999

    Inverter testing using old CFL:
    http://www.badcaps.net/forum/showthr...er+testing+cfl

    Tear down pictures : Hit the ">" Show Albums and stories" on the left side
    http://s807.photobucket.com/user/budm/library/

    TV Factory reset codes listing:
    http://www.badcaps.net/forum/showthread.php?t=24809

    Comment

    • EasyGoing1
      Shock Therapist
      • Sep 2016
      • 977
      • USA

      #3
      Re: Need to design an IR Receive amplification circuit for digital processing

      Originally posted by budm
      Show us the schematic of the existing IR receiver, also the remote itself.
      Attached is the circuit, I don't have a schematic for the remote controller, but it's just a standard remote controller that puts out infra red light signals in a square wave pulse that the Arduino can analyze and use according to the code created and uploaded into the arduino.
      Attached Files
      sigpic

      Comment

      • EasyGoing1
        Shock Therapist
        • Sep 2016
        • 977
        • USA

        #4
        Re: Need to design an IR Receive amplification circuit for digital processing

        Originally posted by budm
        Show us the schematic of the existing IR receiver, also the remote itself.
        What I basically want to do, is when the line that I labeled as 'IR Signal' goes below 4 volts, I want that transistor to turn on HARD so that it sinks that D2 pin straight to ground. Normally (at idle), the 'IR Signal' line is at 5 volts.

        (see attachment)
        Attached Files
        Last edited by EasyGoing1; 01-06-2020, 07:12 PM.
        sigpic

        Comment

        • stj
          Great Sage 齊天大聖
          • Dec 2009
          • 30945
          • Albion

          #5
          Re: Need to design an IR Receive amplification circuit for digital processing

          ir recievers are complex devices containing filters and amplifiers etc,
          you cant boost the output.
          you can replace it - some are more sensitive than others.

          also, look at the transmitter - specially the capacitor, the led and the series resistor.
          the led is pulsed at high current,
          the capacitor holds the current to stop the battery from being overloaded.

          Comment

          • budm
            Badcaps Legend
            • Feb 2010
            • 40746
            • USA

            #6
            Re: Need to design an IR Receive amplification circuit for digital processing

            Originally posted by EasyGoing1
            What I basically want to do, is when the line that I labeled as 'IR Signal' goes below 4 volts, I want that transistor to turn on HARD so that it sinks that D2 pin straight to ground. Normally (at idle), the 'IR Signal' line is at 5 volts.

            (see attachment)
            What is the spec of the U1 IR receiver?
            So you want IC A1 input to be active low then, so PNP transistor will be used so when IR receiver U1 output goes low it will turn on the PNP transistor (Collector is ground, Emitter to A1 input)
            Last edited by budm; 01-07-2020, 01:27 AM.
            Never stop learning
            Basic LCD TV and Monitor troubleshooting guides.
            http://www.badcaps.net/forum/showthr...956#post305956

            Voltage Regulator (LDO) testing:
            http://www.badcaps.net/forum/showthr...999#post300999

            Inverter testing using old CFL:
            http://www.badcaps.net/forum/showthr...er+testing+cfl

            Tear down pictures : Hit the ">" Show Albums and stories" on the left side
            http://s807.photobucket.com/user/budm/library/

            TV Factory reset codes listing:
            http://www.badcaps.net/forum/showthread.php?t=24809

            Comment

            • EasyGoing1
              Shock Therapist
              • Sep 2016
              • 977
              • USA

              #7
              Re: Need to design an IR Receive amplification circuit for digital processing

              Originally posted by budm
              What is the spec of the U1 IR receiver?
              So you want IC A1 input to be active low then, so PNP transistor will be used so when IR receiver U1 output goes low it will turn on the PNP transistor (Collector is ground, Emitter to A1 input)
              So it would look something like this then?
              Attached Files
              sigpic

              Comment

              • eccerr0r
                Solder Sloth
                • Nov 2012
                • 8678
                • USA

                #8
                Re: Need to design an IR Receive amplification circuit for digital processing

                Again, none of this makes sense until we know what that U1 IR receiver's "OUT" characteristics are like - what is its manufacturer and model?

                Usually if it requires power, it already has amplification and the output is a digital signal. Amplifying it further doesn't make sense. You may need to simply choose another U1 or build your own with your own phototransistor or photodiode. But there's not enough information to tell.

                As a blind answer without knowing what U1's output is like, you might as well use a LM339 op amp and set the other input to the exact threshold you want, and it will drop the output down fast when the output level goes below what you set... however this solution doesn't answer the real problem.
                Last edited by eccerr0r; 01-07-2020, 11:03 AM.

                Comment

                • budm
                  Badcaps Legend
                  • Feb 2010
                  • 40746
                  • USA

                  #9
                  Re: Need to design an IR Receive amplification circuit for digital processing

                  "but it's just a standard remote controller that puts out infra red light signals in a square wave pulse that the Arduino can analyze and use according to the code created and uploaded into the arduino." It sound s like op is using the Arduino to do the decoding function.
                  I am still wondering if the original setup is actually working before at all.
                  Lots of details are still missing.
                  Never stop learning
                  Basic LCD TV and Monitor troubleshooting guides.
                  http://www.badcaps.net/forum/showthr...956#post305956

                  Voltage Regulator (LDO) testing:
                  http://www.badcaps.net/forum/showthr...999#post300999

                  Inverter testing using old CFL:
                  http://www.badcaps.net/forum/showthr...er+testing+cfl

                  Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                  http://s807.photobucket.com/user/budm/library/

                  TV Factory reset codes listing:
                  http://www.badcaps.net/forum/showthread.php?t=24809

                  Comment

                  • stj
                    Great Sage 齊天大聖
                    • Dec 2009
                    • 30945
                    • Albion

                    #10
                    Re: Need to design an IR Receive amplification circuit for digital processing

                    maybe this will help make things clearer.
                    Attached Files

                    Comment

                    • redwire
                      Badcaps Legend
                      • Dec 2010
                      • 3900
                      • Canada

                      #11
                      Re: Need to design an IR Receive amplification circuit for digital processing

                      I don't think your problem is with the logic levels.
                      For best performance from those IR modules, add an RC filter to its VCC feed something like 100 ohms and 10-47uF. The Arduino's noise on 5V can really make a module do poorly for range (or a weak signal from IR remote with low batteries). Even 25mV of noise on Vcc causes problems.

                      If the module is next to noisy signals it will also do poorly. In commercial products, a grounded shield made from mesh window screen goes around the module.
                      Otherwise, CFL or LED lights can cause interference as well.

                      Comment

                      • budm
                        Badcaps Legend
                        • Feb 2010
                        • 40746
                        • USA

                        #12
                        Re: Need to design an IR Receive amplification circuit for digital processing

                        I wonder if OP even looks at the signals with scope.
                        Never stop learning
                        Basic LCD TV and Monitor troubleshooting guides.
                        http://www.badcaps.net/forum/showthr...956#post305956

                        Voltage Regulator (LDO) testing:
                        http://www.badcaps.net/forum/showthr...999#post300999

                        Inverter testing using old CFL:
                        http://www.badcaps.net/forum/showthr...er+testing+cfl

                        Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                        http://s807.photobucket.com/user/budm/library/

                        TV Factory reset codes listing:
                        http://www.badcaps.net/forum/showthread.php?t=24809

                        Comment

                        • EasyGoing1
                          Shock Therapist
                          • Sep 2016
                          • 977
                          • USA

                          #13
                          Re: Need to design an IR Receive amplification circuit for digital processing

                          Originally posted by budm
                          I wonder if OP even looks at the signals with scope.
                          Yes, I do and I have.
                          sigpic

                          Comment

                          • EasyGoing1
                            Shock Therapist
                            • Sep 2016
                            • 977
                            • USA

                            #14
                            Re: Need to design an IR Receive amplification circuit for digital processing

                            Originally posted by eccerr0r
                            Again, none of this makes sense until we know what that U1 IR receiver's "OUT" characteristics are like - what is its manufacturer and model?

                            Usually if it requires power, it already has amplification and the output is a digital signal. Amplifying it further doesn't make sense. You may need to simply choose another U1 or build your own with your own phototransistor or photodiode. But there's not enough information to tell.

                            As a blind answer without knowing what U1's output is like, you might as well use a LM339 op amp and set the other input to the exact threshold you want, and it will drop the output down fast when the output level goes below what you set... however this solution doesn't answer the real problem.
                            I'm not sure how any of this information is relevant to my original question, which was... how do I design a circuit such that when a voltage hitting the base of a transistor is at 5V, the transistor is off, but when that voltage goes to 4 volts or lower, I need the transistor to be on as hard as it can be?

                            I'm not asking anyone to help me solve my core issue, because I believe if I can create a circuit that would sink that Arduino pin to ground as soon as that source voltage goes to 4 volts or lower, my problem would be solved, and I really want to test my theory.

                            If my actual question is not clear enough, please let me know what needs clarification.
                            sigpic

                            Comment

                            • EasyGoing1
                              Shock Therapist
                              • Sep 2016
                              • 977
                              • USA

                              #15
                              Re: Need to design an IR Receive amplification circuit for digital processing

                              Originally posted by budm
                              "I am still wondering if the original setup is actually working before at all. Lots of details are still missing.
                              As I stated in my original post, the project works FINE until the batteries in the remote go from 1.5 volts per battery to 1.4 volts per battery, which can take about 7 to 8 months... but I want to attempt to extend that time by implementing the idea that I have which was also included in my original post.
                              sigpic

                              Comment

                              • budm
                                Badcaps Legend
                                • Feb 2010
                                • 40746
                                • USA

                                #16
                                Re: Need to design an IR Receive amplification circuit for digital processing

                                Originally posted by EasyGoing1
                                Yes, I do and I have.
                                Show us the scope (set to DC) wave form of that IR output.
                                So where is the U1 SPEC?
                                Last edited by budm; 01-08-2020, 05:52 PM.
                                Never stop learning
                                Basic LCD TV and Monitor troubleshooting guides.
                                http://www.badcaps.net/forum/showthr...956#post305956

                                Voltage Regulator (LDO) testing:
                                http://www.badcaps.net/forum/showthr...999#post300999

                                Inverter testing using old CFL:
                                http://www.badcaps.net/forum/showthr...er+testing+cfl

                                Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                                http://s807.photobucket.com/user/budm/library/

                                TV Factory reset codes listing:
                                http://www.badcaps.net/forum/showthread.php?t=24809

                                Comment

                                • EasyGoing1
                                  Shock Therapist
                                  • Sep 2016
                                  • 977
                                  • USA

                                  #17
                                  Re: Need to design an IR Receive amplification circuit for digital processing

                                  I think I'm just going to start a new post on this topic and leave out the discussion which seems to be throwing everyone off for some reason.
                                  sigpic

                                  Comment

                                  • budm
                                    Badcaps Legend
                                    • Feb 2010
                                    • 40746
                                    • USA

                                    #18
                                    Re: Need to design an IR Receive amplification circuit for digital processing

                                    You are not provide the info we requested.
                                    Never stop learning
                                    Basic LCD TV and Monitor troubleshooting guides.
                                    http://www.badcaps.net/forum/showthr...956#post305956

                                    Voltage Regulator (LDO) testing:
                                    http://www.badcaps.net/forum/showthr...999#post300999

                                    Inverter testing using old CFL:
                                    http://www.badcaps.net/forum/showthr...er+testing+cfl

                                    Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                                    http://s807.photobucket.com/user/budm/library/

                                    TV Factory reset codes listing:
                                    http://www.badcaps.net/forum/showthread.php?t=24809

                                    Comment

                                    • eccerr0r
                                      Solder Sloth
                                      • Nov 2012
                                      • 8678
                                      • USA

                                      #19
                                      Re: Need to design an IR Receive amplification circuit for digital processing

                                      Originally posted by EasyGoing1
                                      I'm not sure how any of this information is relevant to my original question, which was... how do I design a circuit such that when a voltage hitting the base of a transistor is at 5V, the transistor is off, but when that voltage goes to 4 volts or lower, I need the transistor to be on as hard as it can be?

                                      I'm not asking anyone to help me solve my core issue, because I believe if I can create a circuit that would sink that Arduino pin to ground as soon as that source voltage goes to 4 volts or lower, my problem would be solved, and I really want to test my theory.

                                      If my actual question is not clear enough, please let me know what needs clarification.
                                      The problem is that we don't have characterization of the IR receiver output we can use. Its output impedance could be so high that even using a common emitter transistor doesn't have enough gain to drive the transistor.

                                      Hence I have to assume the worst that you need to use those op amp comparators with really high input impedance that will amplify anything, and you get to choose whatever threshold you want. These amplifiers are slow, but should be fast enough for IR use.

                                      And even if this amplifies the digital output, that weak signal has already been filtered out and no amount of amplification can be used to recover the signal. The amplification you seek would need to occur within the module, and as an IC I'm not sure what you can do with it.

                                      Comment

                                      • budm
                                        Badcaps Legend
                                        • Feb 2010
                                        • 40746
                                        • USA

                                        #20
                                        Re: Need to design an IR Receive amplification circuit for digital processing

                                        Starting a new thread is not going help or learning anything from it.
                                        https://www.badcaps.net/forum/showth...235#post935235

                                        https://www.badcaps.net/forum/attach...3&d=1578415503
                                        So how low does the output of the IR receiver go down to?
                                        Does the IR receiver has built-in pull-up on the IR output pin?
                                        Last edited by budm; 01-08-2020, 07:07 PM.
                                        Never stop learning
                                        Basic LCD TV and Monitor troubleshooting guides.
                                        http://www.badcaps.net/forum/showthr...956#post305956

                                        Voltage Regulator (LDO) testing:
                                        http://www.badcaps.net/forum/showthr...999#post300999

                                        Inverter testing using old CFL:
                                        http://www.badcaps.net/forum/showthr...er+testing+cfl

                                        Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                                        http://s807.photobucket.com/user/budm/library/

                                        TV Factory reset codes listing:
                                        http://www.badcaps.net/forum/showthread.php?t=24809

                                        Comment

                                        Related Topics

                                        Collapse

                                        • MisterAIL
                                          PS5 digital / No Power / No Beep / Good power supply
                                          by MisterAIL
                                          Hi everyone,

                                          Brought a non functionnal PS5. Apparently only a bad PSU...
                                          No beep, nothing.

                                          After some tests i found this :
                                          - PSU is fine (12 volts stable)
                                          - 12 volts line is shorted
                                          - DA9065 was fried, F7003 also => Replaced both of them, short is gone on 12 volts line, no dead short anywhere else.
                                          - By the way, nothing change. No signal, no power, no beep.

                                          Mesuring all rails with my workbench psu (12 volts input)
                                          - 0.00 amp drawing
                                          - 12 volts, 5 volts, 2 volts, 1,15 volts are presents (suppose new DA9065 do is...
                                          03-12-2024, 03:24 PM
                                        • Astonished
                                          Fixing the Charge Circuit of the Batteries of the DC Motor
                                          by Astonished
                                          Hi friends of electronics

                                          What you see in the video and pictures attached is the circuit for charging the batteries of a DC motor.

                                          The problem is that this circuit cannot charge the batteries (3 1800mAH NiMH batteries) any more. When the circuit was OK, its green LEDs lit up one at a time to show that the batteries have charged more. But now that the circuit is flawed, LEDs light up as you see in the video and at the same time successive beeps are heard.

                                          Please help me fix this circuit.

                                          (the datasheet of the IC: https://pdf.datasheet.live/28...
                                          01-28-2025, 06:24 AM
                                        • EasyGoing1
                                          Need a circuit that switches ON when a 5 volt source drops to 4 volts or less
                                          by EasyGoing1
                                          I don't know the first thing about where to even start looking for the result I'm looking for ... but what I want, is a circuit ... or maybe a certain transistor ... that will remain "closed" when the voltage at the base is 5 volts, but when that voltage gets to 4 volts or less, I need that transistor to turn on - preferably with maximum saturation. I would prefer that it also does not even turn on a little as the voltage approaches 4 volts, but remains closed until that voltage hits 4 volts.

                                          Now, it would be OK if it had some kind of marginal transition from zero saturation...
                                          01-08-2020, 06:06 PM
                                        • Superbee_dad
                                          Sharp 80” long short flash backlight error - Help
                                          by Superbee_dad
                                          Hello Sharp TV experts
                                          Our Sharp LC-80LE642U displays one short one long flash error code which is a backlight error. I went into service mode and there were 8 lamp error counts recorded. I reset the count to 0 and did a reset. The last monitor error cause was 16 B00014639:12. 16 is the code for backlight error. I tried to power the tv up but went back into error mode.

                                          > I checked voltages on the power supply board and they all check out .. including 3.28 volts at the error pin.
                                          > There is power to the cpu and T-CONN and no faults found there. The cpu has a flashing...
                                          01-24-2025, 11:51 PM
                                        • Tarot Superstars
                                          Short Circuit tester
                                          by Tarot Superstars
                                          Hello.
                                          I have seen a short circuit tester made with 3 * 9V batteries, a voltage limiter component and a resistor connected to the probes of a multimeter.
                                          The theory is that the meter becomes sensitive enough to read very low resistances and the lowest resistance to ground on a circuit is likely to be a short circuit in that area.

                                          Link
                                          The Amazing $1 Short Finder Upgraded! Convert ... - YouTube
                                          https://www.youtube.com/watch?v=0eixDdCpiO4

                                          My multimeter isn't normally sensitive to very small resistance, but when I put a 1 mega ohm resistor...
                                          09-25-2023, 09:11 AM
                                        • Loading...
                                        • No more items.
                                        Working...