RFM12 ASK

From Ethersex_Wiki
Jump to: navigation, search
RFM12 ASK
Status
Stable
menuconfig Protocols->Radio->Radio outlets (433MHz)
Pinning yes
Ecmd yes
Control6 no
Requires -
Code https://github.com/ethersex/ethersex/tree/master/protocols/radio/ask

In ASK mode the RFM12 module is used to switch radio outlets. Alternatively you can also receive the radio transmission between the transmitter and radio socket outlet. Currently, the following systems are supported:

  • Self-learning systems (drive "tevion")
  • Systems based on the chips or PT2262/PT2272 HX2262/2272 (driver "2272")
  • Concealed remote dimmer with the transmitter located HS1527 chip (driver "1527")
  • Transmitter type Intertechno ITS-150
  • Oase Inscenio FM Master system
  • Flamingo FA20RF/ELRO KD101 smoke detectors

Connection

The RFM12 is connected to the AVRlike in FSK Mode with a small difference. The output FFIT signal (Pin 4) is connected to one of the INT pins of the AVR. This modul does not work in interrupt mode, so the output nRQ signal (Pin 2) can be left unconnected.

The SPI connection is pretty fixed and does not need special pinnings. For the chip select (CS) of the modul and the optional LEDs the pinning must be defined.

 /* port the rfm12 module CS is attached to */
 pin(SPI_CS_RFM12_0, PB0, OUTPUT)
  
 /* port the LEDS for rfm12 tx/rx attached to */
 pin(STATUSLED_RFM12_TX, PB3, OUTPUT)
 pin(STATUSLED_RFM12_RX, PB1, OUTPUT)

 RFM12_ASK_SENSE_USE_INT(0)
 

If more than one RFM12 are used with Ethersex, the number in SPI_CS_RFM12_0 defines the number of the module. Each needs its own pinning. The RFM12_ASK_SENSE_USE_INT defines whether FFIT is connected to INT0, INT1 or INT2 of the AVR.

Configuration

 | |      I/O  --->                                                      | |
 ...
 | |         Radio  --->                                                 | |
 ...
 | |              [*] RFM12 ASK  --->                                    | |
 ...
 | |                  [*] 433MHz                                         | |
 | |                  (0)   RFM12 select                                 | |

 | |      Protocols  --->                                                | |
 ...
 | |          Radio  --->                                                | |
 | |              [*] Radio outlets (433MHz)  --->                       | |
 ...
 | |                  (RFM12) Transmitter hardware                       | |
 | |                  [ ] Pollin/Kangtai Powerswitch (IC 2272)           | |
 | |                  [ ] Pollin Powerswitch buried (IC 1527)            | |
 | |                  [*] Tevion Powerswitch                             | |
 | |                  [ ] Intertechno ITS-150                            | |
 | |                  [*] Oase FM Master                                 | |
 | |                  [ ] Flamingo FA20RF/ELRO KD101                     | |

ECMD

RFM12 ASK implements an ECMD interface to control to switch radio outlets. See ECMD reference.