RFM12 ASK

From Ethersex_Wiki
Revision as of 11:49, 4 June 2013 by GooPie4o (talk | contribs) (Configuration)
Jump to: navigation, search
RFM12 ASK
Status
In Development
menuconfig I/O->RFM12 ASK->433MHz
Pinning yes
Ecmd yes
Control6 no
Requires -
Code https://github.com/ethersex/ethersex/tree/master/hardware/radio/rfm12

In ASK mode the RFM12 module ist 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

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  --->                                              | |
 ...
 | |        [*] RFM12 ASK  --->                                          | |
 ...
 | |             [*] 433MHz                                              | |
 | |             (0)   RFM12 select                                      | |
 | |             [ ] Pollin/Kangtai Powerswitch (IC 2272)                | |
 | |             [ ] Pollin Powerswitch buried (IC 1527)                 | |
 | |             [*] Tevion Powerswitch                                  | |
 | |             [ ] Intertechno ITS-150                                 | |
 | |             [*] Oase FM Master                                      | |
 | |             [ ] External filter                                     | |
 | |             [-] Sensing                                             | |

ECMD

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