I am playing around with 315mHz wireless units, I am having problems with Picaxe receiving a signal via serin when not attached to the receiver, which I assume is interference.
I have used both an 18x in the datalogger unit AXE110 and an 8m on a Picaxe 80 Proto board.
Currently I have a 10cm wire connecting the 8m’s input 1 to the receiver, and without a qualifier a stream of random data numbers pours in even when the wire is not connected to the output of the receiver and no transmitter is in use. Even a short 25mm piece of wire will pick up the interference.
- I am using batteries as a power source and have put a capacitor across the power supply
- I have grounded all of the Picaxe pins not being used (using 10k resistors)
- It occurs both in the house and in the middle of the backyard
- Changing to the 18x and datalogging board did not change the problem
- Disconnecting the serial cable and using a led to indicated in coming data did not change the problem
Any suggestions?
Thanks
Martin
I have used both an 18x in the datalogger unit AXE110 and an 8m on a Picaxe 80 Proto board.
Currently I have a 10cm wire connecting the 8m’s input 1 to the receiver, and without a qualifier a stream of random data numbers pours in even when the wire is not connected to the output of the receiver and no transmitter is in use. Even a short 25mm piece of wire will pick up the interference.
- I am using batteries as a power source and have put a capacitor across the power supply
- I have grounded all of the Picaxe pins not being used (using 10k resistors)
- It occurs both in the house and in the middle of the backyard
- Changing to the 18x and datalogging board did not change the problem
- Disconnecting the serial cable and using a led to indicated in coming data did not change the problem
Code:
'stripped basic code (pinched from something Hippy posted)
#picaxe 08m
RxLoop:
SerIn 1, N2400,b0
sertxd ("b0= ",#b0,cr,lf)
Goto RxLoop
Thanks
Martin