AM RF Transponder
Description
Radio frequency transponder based on RF solutions
AM-HRRN receiver and AM-RT4 transmitter. Bit rate
2000bps.
Software functions
RF data transponder based on the RF Solutions
licence exempt AM-HRRN-xxx receiver module and
AM-RT4-xxx transmitter module, where xxx is
the operating frequency of the module. These
modules are capable of data rates of 2000bps.
The actual data rate is less (approx. 800bps)
due to the necessary encoding (Manchester encoding)
The transponder may have any ID in the
range 0-15 and can be implemented as a slave
or a master. RFX_RDO() is called at regular
intervals (<50us) when data is expected to
arrive. RFX_RNOTIFY indicates when data has
arrived and at what location in RFX_DATA[] it
was written.
General Functions
-----------------
RFX_REMOTE : remote transponder ID (0-15)
RFX_LOCAL : local transponder ID (0-15)
Transmit Functions
------------------
RFX_TSTART(addr): start trasmission to
transponder RFX_REMOTE and set to write
from location addr.
RFX_TSENDDATA(data) : send and write
data to transponder, auto
increment addr.
void RFX_TSTOP() : send end of frame
and stop transmitting.
transmitting
Example:
RFX_REMOTE = 5; // set ID of remote to send to
RFX_TSTART(0); // start transmission/set data address
RFX_TSENDDATA(x);// data x to remote and auto inc address
RFX_TSENDDATA(y);// data y to remote and auto inc address
RFX_TSTOP(); // end transmission
Receive Functions
-----------------
RFX_RDO() : services receive data. call at
regular intervals (<50us)
RFX_RON() : power up reciever. (1.5s power up time)
RFX_ROFF() : power down reciever.
RFX_RDATA[] : received data
RFX_RADDR : data index
RFX_RNOTIFY : 2=data write event, 0=no event
notifies data arived event. cleared by user.
RFRX_RINCOMING() : returns true if start of
data anticipated.
Example:
while ( !RFX_RNOTIFY )
RFRX_DO();
if (RFX_RNOTIFY==2) {
...
mydata = RFX_RDATA[ RFX_RADDR ];
...
RFX_RNOTIFY=0;
}
|
Schematic

Projects
This sub-circuit is demonstrated in the following
projects:
-
'RF communications - master transponder'
more
-
'RF communications - slave transponder'
more
|
|
|