I got a Picaxe VCR controller working a while back, with help from you guys...thanks! What this does is, tell my VCR to record when I'm receiving a signal from one of my RF video cams. When I first built it, I had stereo sound channels, so I use one of them to send a tone to the receiver, which was picked up by a 567 encoder...or is it as a decoder??? Anyway, the 567 puts a pin low when it hears the correct tone. I used the low pin to trigger a Picaxe 08M to control the buttons on a universal remote...worked great!
OK, so now I'm using the controller with a radio that has only one audio channel, and I have to have sound you know Soooo...I changed the 567 circuit to listen for the video signal coming in...and it worked pretty good.
Now....someone went and built a tower nearby, and there is something coming off that thing that messes with my RF. The audio signal had no problem getting through, but the video will ....ummmm....blink a little???
To keep the recording going when MY RF is active, I need some sort of a "filter" ???
Now I have been working on this "filter" and have close to what I want, or need. As you can see I check pin3 every tenth second, and if it is high, from interference, I count how many times it happens. After 10 times, I give it just one more chance before stopping the recorder.
The problem is this....and why I can't see it is beyond me...if everything is OK after the b2 only reaches...maybe 8 times of not being OK, it needs to reset b2 to zero again. In other words, the way it is now, even a minute or two later, it still has the demerits against it from the start. Any ideas on how to do it the right way???
OK, so now I'm using the controller with a radio that has only one audio channel, and I have to have sound you know Soooo...I changed the 567 circuit to listen for the video signal coming in...and it worked pretty good.
Now....someone went and built a tower nearby, and there is something coming off that thing that messes with my RF. The audio signal had no problem getting through, but the video will ....ummmm....blink a little???
To keep the recording going when MY RF is active, I need some sort of a "filter" ???
Now I have been working on this "filter" and have close to what I want, or need. As you can see I check pin3 every tenth second, and if it is high, from interference, I count how many times it happens. After 10 times, I give it just one more chance before stopping the recorder.
The problem is this....and why I can't see it is beyond me...if everything is OK after the b2 only reaches...maybe 8 times of not being OK, it needs to reset b2 to zero again. In other words, the way it is now, even a minute or two later, it still has the demerits against it from the start. Any ideas on how to do it the right way???
Code:
recording:
do while b2 < 10
pause 100
if pin3 = 1 then
b2 = b2 + 1
endif
loop
b2 = 0
goto make_sure
make_sure:
pause 100
if pin3 = 1 then quit
if pin3 = 0 then recording
Last edited: