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.
-
3\$\begingroup\$ smells like an XY problem .... what is your end goal? \$\endgroup\$jsotola– jsotola2020年06月15日 00:08:40 +00:00Commented Jun 15, 2020 at 0:08
-
1\$\begingroup\$ @MY, the end goal appears to be something related to the relay \$\endgroup\$jsotola– jsotola2020年06月15日 00:58:25 +00:00Commented 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\$Leoman12– Leoman122020年06月15日 01:02:51 +00:00Commented 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\$Jasen Слава Україні– Jasen Слава Україні2020年06月15日 10:32:57 +00:00Commented 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\$Chris Stratton– Chris Stratton2020年06月16日 00:45:43 +00:00Commented Jun 16, 2020 at 0:45
1 Answer 1
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
-
1\$\begingroup\$ Oh, that is component overhead, is there any other way without using the relay that you added ? \$\endgroup\$M Y– M Y2020年06月15日 21:47:16 +00:00Commented 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\$Leoman12– Leoman122020年06月15日 22:02:40 +00:00Commented 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\$Leoman12– Leoman122020年06月15日 22:08:08 +00:00Commented 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\$Chris Stratton– Chris Stratton2020年06月16日 00:28:31 +00:00Commented 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\$Chris Stratton– Chris Stratton2020年06月16日 03:38:49 +00:00Commented Jun 16, 2020 at 3:38