In your schematic, change both 22K resistors to 1K. These merely limit the current to what is safe. 5V / 1000R = 0.005A (5mA). The 22K is needed only when the voltage is higher as with an input from a PC using RS232 voltage levels. Here, all the voltages are 5V max.
In the code, comment out IF (space<40) OR (space>175) THEN init.
In the code, modify DEBUG (RF[i] REV 8) to send either hex or decimal representations of the bytes. I'll let you consult the manual for details. My code sends the Ascii byte values which may not all be printable characters, especially in MS Terminal.
HEX 50 AF 42 DB
DEC 80, 175, 66, 189
ASC P, », B, ╜
The protocol is explained at http://davehouston.net/rf.htm
Bookmarks