CaptainTuna
Member
Hi guys!
i want to make my picaxe send out an IR signal that can be received by another picaxe somewhere else. At first i was pretty convinced on using the M series to do this, as they have got "infraout" and that makes everything simpler. But my problem with those is that i'll then find it hard to connect them to these I2C EEPROMs (http://www.rev-ed.co.uk/images/full/8pin.jpg).
So i just thought to stick to an X series picaxe and to find a way of transmitting an IR signal. I've found out that i need a pwm pin to modulate the current and attach it, along with an output pin, to an AND gate, and then attach the IR led to its end.
What do you think about it? Would it really work? and... Could you give me some tips on how to code the IR led so that it sends specific bits? (example: i want to send "10001". How do i do that? do i just have to use high outputpin/low outputpin with pauses in between?)
i want to make my picaxe send out an IR signal that can be received by another picaxe somewhere else. At first i was pretty convinced on using the M series to do this, as they have got "infraout" and that makes everything simpler. But my problem with those is that i'll then find it hard to connect them to these I2C EEPROMs (http://www.rev-ed.co.uk/images/full/8pin.jpg).
So i just thought to stick to an X series picaxe and to find a way of transmitting an IR signal. I've found out that i need a pwm pin to modulate the current and attach it, along with an output pin, to an AND gate, and then attach the IR led to its end.
What do you think about it? Would it really work? and... Could you give me some tips on how to code the IR led so that it sends specific bits? (example: i want to send "10001". How do i do that? do i just have to use high outputpin/low outputpin with pauses in between?)