0
\$\begingroup\$

In the diagram below I want to replace that push-button switch Sw1 with IR receiver, I tried a lot with different combination with IR receiver and tried with transistor but I failed, so, please how can I achieve that. enter image description here

thanks for advice.

Dean Franks
3,7912 gold badges15 silver badges21 bronze badges
asked Jun 14, 2020 at 23:06
\$\endgroup\$
14
  • 3
    \$\begingroup\$ smells like an XY problem .... what is your end goal? \$\endgroup\$ Commented Jun 15, 2020 at 0:08
  • 1
    \$\begingroup\$ @MY, the end goal appears to be something related to the relay \$\endgroup\$ Commented Jun 15, 2020 at 0:58
  • 1
    \$\begingroup\$ I believe the end goal is about latching on or off the relay via IR remote. \$\endgroup\$ Commented Jun 15, 2020 at 1:02
  • 1
    \$\begingroup\$ you can use the 555 but you will need to add a solid-state relay controlled by the IR receiver. the 4017 is a cheaper solution. \$\endgroup\$ Commented Jun 15, 2020 at 10:32
  • 1
    \$\begingroup\$ While you've failed to state exactly what this is supposed to do, realistically systems like this just will not work very well without an MCU or fixed function remote decoder IC that looks for a pattern and changes state momentarily or lastingly as a result. It will be far better in the long run to get rid of the 555 as well and fold its functionality into the MCU. You'll find many Arduino projects that could serve as an introduction to the idea, which you might then minimize to an ATtiny or similar. \$\endgroup\$ Commented Jun 16, 2020 at 0:45

1 Answer 1

-1
\$\begingroup\$

Information given: IR receiver PT333-3B phototransistor, Transmitting circuit is IR diode with constant dc current when turned on, and desire to use latching circuit via IR receiver instead of pushbutton switch.

Based on the information and given the circuit that you want modified there is a way to adapt the circuit to your needs. Unfortunately, because the switch 1 in your circuit is connected between two nodes that aren't typical for use with a simple transistor. However a signal relay is appropriate since a relay is simply a controlled switch. The G5V-1-DC12 relay is an example of one relay that can be used since it's for low power signaling. In addition to signal relay is the circuit to trigger turn on the relay from phototransistor. Here a phototransistor will turn on the PNP transistor and thus turn on the relay. enter image description here

answered Jun 15, 2020 at 20:46
\$\endgroup\$
7
  • 1
    \$\begingroup\$ Oh, that is component overhead, is there any other way without using the relay that you added ? \$\endgroup\$ Commented Jun 15, 2020 at 21:47
  • \$\begingroup\$ What do you mean "overhead"? With this circuit a relay would be ideal. I myself, don’t see another option unless you use another circuit. \$\endgroup\$ Commented Jun 15, 2020 at 22:02
  • \$\begingroup\$ Also if you mean like overhead costs, the relay isn’t too much. You can also use any appropriate signal relay and it could be cheaper. And I have found when you add the functionality of IR receiver or an output from something other than a physical switch to a latching circuit, it is a rather difficult thing to do. This is due to the nature of how the latch is triggered. \$\endgroup\$ Commented Jun 15, 2020 at 22:08
  • \$\begingroup\$ @MY don't waste your time building this. This proposal is absurd in its method for what it attempts to do, and additionally has the fatal oversight of having no immunity to ambient light sources since it not only doesn't look for a pulse code, but doesn't even look for the traditional 38 KHz or similar carrier that actual IR remote receivers do. \$\endgroup\$ Commented Jun 16, 2020 at 0:28
  • 1
    \$\begingroup\$ It happens that I already did propose a path to an actual, viable solution general enough to cover whatever the unspecified actual goal is, though the lack of specificity makes the question off-topic here and an actual "answer" impossible. More generally, "what is your answer?" is decidedly not a valid response to criticism of the obvious flaws of your posting. Pointing out that something is so fatally wrong would be entirely appropriate even if one were not offering a viable alternative. \$\endgroup\$ Commented Jun 16, 2020 at 3:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.