PDA

View Full Version : Serial Com with Parallax 433Mhz Xmiter/Rcvr



Danny22
11-23-2006, 05:57 AM
I'm having some trouble with serial com using Parallax's 433Mhz Xmiter/Rcvr set. On the Transmitter side,for test purposes, a BS2 scans a dual-axis analog joystick and a linear slide pot. The data is scaled and 4 Bytes are sent to the Xmiter module:
SEROUT txPin,txBaud,[sync,X_axis,Y_axis,spdLimit] The sync byte = $FF

On the Receiver side the data is received by another BS2:
SEROUT rxPin,rxBaud,200,TimeOut,[sync,bias,speed,limit]

The sync is tested, the data is further scaled and developed into appropiate Left and Right motor RC pulses
for the two MD03 motor drivers. Of course for testing the Debug Terminal takes the place of the motor drivers.
Everything works OK except that periodically, but not regularly, the data gliches and odd-ball numbers flash for an instant on the debug screen. This occurs even when the transmitter controls are set to zero and not being used! I've experimented with the baud rates, various PAUSE values in the Tx and Rx loops and the TimeOut value but I can't seem to get rid of it. Unfortunately the odd-ball numbers are "in range" so I can't filter them out. I know I'm probably missing something simple...Does anyone have any hints?
Danny22

boeboy
11-26-2006, 08:11 AM
I have the same trouble it is just interference