Infrared Trip Wire
I just wanted to build a very simple project or so I thought unfortunatly it has turned out to be harder than I expected...
OK, so I just want to build a infrared Trip Wire. So that when someone passes in between the transmitter and receiver it sounds a simple alarm...
All you would have to do is use a simple freqout command for the IR LED like so...
DO
··· FREQOUT·IR, 10, 38500
LOOP
And for the receiver a program like so...
DO
·· DO: LOOP UNTIL (Receiver = 0) then
·· FREQOUT Speaker, 2000, 3000
LOOP
Right....For some reason its not working... So much for my simple project... It may be the receiver and IR LED that I am using...
Can I use the Infrared detector and receiver that come with the Boe-Bot? Cause that is what I'm using...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
OK, so I just want to build a infrared Trip Wire. So that when someone passes in between the transmitter and receiver it sounds a simple alarm...
All you would have to do is use a simple freqout command for the IR LED like so...
DO
··· FREQOUT·IR, 10, 38500
LOOP
And for the receiver a program like so...
DO
·· DO: LOOP UNTIL (Receiver = 0) then
·· FREQOUT Speaker, 2000, 3000
LOOP
Right....For some reason its not working... So much for my simple project... It may be the receiver and IR LED that I am using...
Can I use the Infrared detector and receiver that come with the Boe-Bot? Cause that is what I'm using...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Comments
Thanks SRLM! That is what the problem was. lol
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor