Some time ago you told me about using a 0M8 as a 'front end' picaxe for RF reception. The 0M8 monitors the incomming RF signals and when one arrives with the correct header info the 0M8 passes it through to the 40X1. This prevents the 40X1 continually stopping to check all the spurious Rf signals floating around. (I'm mentioning this in case some of the newer members read the thread so they can understand the problem).
At the time I bread boarded the design and it worked fine. I had a look at the layout on that breadboard and have reproduced it on another except with a 151.300meg RF unit rather than the 433meg I used before.
I am also running the picaxes on 3V rather than 4.5V as before.
First question is what value should the R be that is put accross pins 4 and 1? I used a 38K previously, I dont think that was what you specifcially advised, it was what I had to hand and it worked OK. It wont work with the current set up however. Perhaps this is because of the change in voltage Im running the picaxes off.
Is there a formula to calculate the R value needed or is hit and miss?
I have pasted the program below.
main:
low 4 'Rf data comes in on pin 4
serin 1,n2400,("2006"),b1 '2006 tells the reciever that its from one of its transmitters
if b1=88 then alpha 'b1 value tells the 0M8 what function to do
goto main
alpha:
input 4 'set 4 as a input so it passes data through 0M8 to 40X1
low 2 'turn on the led 'LED on shows valid data received
pause 500
high 2 'LED off
goto main
When I use the 'low 4' and 'input 4' parts of the program it doesnt work at all, ie. the LED dosen't light. If I delete those parts of the program it works fine but the 40X1 serially triggers on every RF signal what ever the byte value or header used.
Any pointers?
At the time I bread boarded the design and it worked fine. I had a look at the layout on that breadboard and have reproduced it on another except with a 151.300meg RF unit rather than the 433meg I used before.
I am also running the picaxes on 3V rather than 4.5V as before.
First question is what value should the R be that is put accross pins 4 and 1? I used a 38K previously, I dont think that was what you specifcially advised, it was what I had to hand and it worked OK. It wont work with the current set up however. Perhaps this is because of the change in voltage Im running the picaxes off.
Is there a formula to calculate the R value needed or is hit and miss?
I have pasted the program below.
main:
low 4 'Rf data comes in on pin 4
serin 1,n2400,("2006"),b1 '2006 tells the reciever that its from one of its transmitters
if b1=88 then alpha 'b1 value tells the 0M8 what function to do
goto main
alpha:
input 4 'set 4 as a input so it passes data through 0M8 to 40X1
low 2 'turn on the led 'LED on shows valid data received
pause 500
high 2 'LED off
goto main
When I use the 'low 4' and 'input 4' parts of the program it doesnt work at all, ie. the LED dosen't light. If I delete those parts of the program it works fine but the 40X1 serially triggers on every RF signal what ever the byte value or header used.
Any pointers?