I found this on a nuts and volts magazine. The author writes that this driver will increase the range between the ir emitter and receiver. This supposedly increase the 25mA that the picaxe output pin can produce to about 73mA. The first command on my code "high 2" is for the transistor on the top of the pic and pin 1 on "infraout 1, index" would be the transistor on the bottom.
Code:
high 2 'enable IRMB
'transistor
do 'loop indefinitely
for index = 0 to 8 'for-next loop that cycles 9 times
high 4 'red LED indicates that picaxe is sending a signal
infraout 1, index 'send signal on pin 1, signal is the value of index
pause 250 'slow down a bit
low 4 'turn off red LED
pause 250 'slow down a bit more
next index 'increment index (index=index+1)
loop
Sorry about the pic. It's from an online draw program.
Last edited: