ERF radio transducers are RF transceiver modules which allow PICAXE, computers and other devices to wirelessly communicate with each other.
An ERF radio transducer operates at 868MHz by default, but 315MHz, 433MHz, 900MHz and 915MHz are selectable dependant on region.
For breadboard/stripboard work the ERF module is recommended, as this has 2.54mm spaced pads and also supports both 3V and 5V operation.
To complete a radio link to a computer use the matching URF USB module. A ERF/URF pair of modules also allows 'over-the-air' wireless reprogramming of a PICAXE chip.
ERF Radio Transducer
Schematic
PCB
Transmit via ERF
Transmit via ERF
- Code Example:
-
init: high B.7 pause 100 main: serout B.7, N2400, (“Value =”, #b1,CR,LF) let b1 = b1 + 1 pause 1000 goto main
Copy Code Submit an Example
Transmit from one PICAXE to another
This program reads an analogue input on pin C.0 and a temperature sensor connected to pin C.1 and passes them to an ERF for transmission.
- Code Example:
-
init: high B.7 pause 100 main: readadc C.0,b0 readtemp C.1,b1 serout B.7, N2400, ($55,$55,b0, b1) pause 1000 goto main
Copy Code Submit an Example
Receive transmitted data
This program receives data transmitted by a PICAXE via ERF (Example 2) and controls LEDs on output pin B.0 and B.1 depending on the received light level and temperature determined by the transmitter.
- Code Example:
-
main: serin C.7, N2400, ($55,$55),b0, b1 debug test_LDR: if b0 > 40 then LDR_high LDR_low: low B.0 goto test_temp LDR_high: high B.0 test_temp: if b1 > 20 then temp_high temp_low low B.1 goto main temp_high: high B.1 goto main
Copy Code Submit an Example
Create Module
An ERF based radio module may be connected to the generic terminal block create module. This module will work at 5V.
Bill of Materials
Description | Code | Qty | |
---|---|---|---|
ERF radio module | RFA020 | 1 | Buy Now |
ERF and URF 'combo' pair of radio modules | RFA030 | 1 | Buy Now |
Simulation
Submit Your Own Code!
You must be logged in to submit code examples. Login now.
Share