Announcement

Collapse
No announcement yet.

Need to design an IR Receive amplification circuit for digital processing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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,

    #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


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

      Originally posted by budm View Post
      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

      Comment


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

        Originally posted by budm View Post
        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.

        Comment


          #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


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

            Originally posted by EasyGoing1 View Post
            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


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

              Originally posted by budm View Post
              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

              Comment


                #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


                  #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


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

                    maybe this will help make things clearer.
                    Attached Files

                    Comment


                      #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


                        #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


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

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

                          Comment


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

                            Originally posted by eccerr0r View Post
                            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.

                            Comment


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

                              Originally posted by budm View Post
                              "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.

                              Comment


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

                                Originally posted by EasyGoing1 View Post
                                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


                                  #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.

                                  Comment


                                    #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


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

                                      Originally posted by EasyGoing1 View Post
                                      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


                                        #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

                                        Working...
                                        X