ashawthing
New Member
I'm a bit of a beginner in the very early stages of planning a project, just wondered if I would have any issues connecting 1 IR receiver to the input of 2 seperate PICAXE ic's?
Thanks
Thanks
Yes it will be about one or two meters away, I'll give it a go and see what happens. ThanksShouldn't be a problem if you aren't planning on the IR receiver being at some distance from the PICAXEs.
Please, experiment with that setup. Then report back to us here.
I had tried that briefly and it wasn't reliable enough unless the button on the remote sending the data the IR receiver was held down so the PICAXE could "catch it" instead of a quick press. The PICAXE couldn't really be doing anything else except moinitoring the IR pin. I ended up using the SRlatch commands with a logic gate configured in invert mode to convert the low signal from the IR receiver to a high on the SRI pin. This allows the PICAXE to do other work and periodically check if SRQ has gone high. The first button press on the IR remote is sort of a wake up call to the PICAXE to pay attention for IR commands.The one useful thing to remember about IR receivers (at least the types I have been working with and certainly the one form picaxe store), is that the data pin goes low on receive. So, if you have your "loop of everything" as @Texasclodhopper is suggesting, the only thing you have to do is to check the IR pin every loop to see if there is something to receive. If yes, you go in and pick it up and do something about it. If not, you lost very little time checking if the a pin is high or low.
Edmunds