Hello everyone!
I have a CUL433 which I would like to use to send signals to my floor heating central (so that I can control it myself rather than using the RF thermostats). I don't have a proper oscilloscope, so I haven't been able to sniff the 433.7 MHz signal, but I have used a logic analyser to probe the signal directly on the thermostat circuit board. The signal looks like the image below (the pulse length seems to be 0,4 ms).
I have used the following commands to try to send the proper signal, but nothing happens at the receiver:
W0F10
W10AE
W1146
X21
(To set 433.7 MHz frequency)
G00A0F300191900FFFFFFEAAA8C9A5E549A
(To send the actual signal)
One problem is that I don't really see a manchester-type pattern in the signal, so I don't know if the symbol 1 has both a high and a low signal etc. So in the CUL command I have set the 0-bit high time to 0 and 1-bit low time to 0, and the 1-bit high and 0-bit low to 400 us respectively. So I'm trying to send the "raw" signal I probed using the analyser... but this doesn't seem like the right way to do it... any help and insights would be greatly appreciated!
(The RF chip in the thermostat I'm trying to imitate is a U2741BN and I'm assuming it uses simple ASK encoding.)
RF_SETTINGS rfSettings = // 433Mhz, 9600Bauds { 0x06, // FSCTRL1 Frequency Synthesizer Control - IF:152.343Khz 0x07, // IOCFG0 GDO0 Output Pin Configuration - Packet received and CRC OK 0x00, // FSCTRL0 Frequency Synthesizer Control - Freq offset 0x10, // FREQ2 Frequency Control Word, High Byte - 433.999 Mhz 0xB1, // FREQ1 Frequency Control Word, Middle Byte 0x3B, // FREQ0 Frequency Control Word, Low Byte 0xF8, // MDMCFG4 Modem Configuration - BW: 58.035Khz 0x83, // MDMCFG3 Modem Configuration - 9595 Baud 0x13, // MDMCFG2 Modem Configuration - 30/32 sync word bits - Manchester disable - GFSK - Digital DC filter enable 0x22, // MDMCFG1 Modem Configuration - num of preamble bytes:4 - FEC disable 0xF8, // MDMCFG0 Modem Configuration - Channel spacing: 199.951Khz 0x00, // CHANNR Channel Number 0x15, // DEVIATN Modem Deviation Setting - 5.157Khz 0x56, // FREND1 Front End RX Configuration 0x10, // FREND0 Front End TX Configuration 0x18, // MCSM0 Main Radio Control State Machine Configuration - PO timeout: 64(149-155us) - Auto calibrate from idle to rx/tx 0x16, // FOCCFG Frequency Offset Compensation Configuration 0x6C, // BSCFG Bit Synchronization Configuration 0x03, // AGCCTRL2 AGC Control - target amplitude: 33dB - Maximum possible LNA + LNA 2 gain - All gain settings can be used 0x40, // AGCCTRL1 AGC Control - LNA gain decreased first 0x91, // AGCCTRL0 AGC Control - Medium hysterisis - Filter Samples: 16 - Normal AGC operation 0xE9, // FSCAL3 Frequency Synthesizer Calibration 0x2A, // FSCAL2 Frequency Synthesizer Calibration 0x00, // FSCAL1 Frequency Synthesizer Calibration 0x1F, // FSCAL0 Frequency Synthesizer Calibration 0x59, // FSTEST Frequency Synthesizer Calibration Control 0x88, // TEST2 Various Test Settings 0x31, // TEST1 Various Test Settings 0x09, // TEST0 Various Test Settings 0x07, // FIFOTHR RX FIFO and TX FIFO Thresholds - Bytes in TX FIFO:33 - Bytes in RX FIFO:32 0x06, // IOCFG2 GDO2 Output Pin Configuration - Sync word received/sent - end of packet 0x04, // PKTCTRL1 Packet Automation Control - No address check - Automatic flush of RX FIFO is disable - sync word is always accepted 0x05, // PKTCTRL0 Packet Automation Control - whitening is off - RX/TX data normal mode - CRC calculation in TX and CRC check in RX - Variable packet length 0x00, // ADDR Device Address 0xFF, // PKTLEN Packet Length 0x3F, // MCSM1 Main Radio Control State Machine Configuration };
--
--
To unsubscribe from this group, send email to
cul-fans+u...@googlegroups.com
---
Sie erhalten diese Nachricht, weil Sie in Google Groups ein Thema der Gruppe "CUL fans" abonniert haben.
Wenn Sie sich von diesem Thema abmelden möchten, rufen Sie https://groups.google.com/d/topic/cul-fans/B3nXuV_4xKY/unsubscribe auf.
Wenn Sie sich von dieser Gruppe und allen Themen dieser Gruppe abmelden möchten, senden Sie eine E-Mail an cul-fans+u...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.
Martin,
Thanks again for your support.
You gave me great tips to the send function and that's what I'm gonna do. I'm working now in a way of reading it, as the second phase (worcester id) is different from Steven's one (different boilers hehe). I'm trying to configure the cc1101 correctly (according to the manual and SmartRf, trying different configs as I don't have the rf info) and reusing the rf_receive.c basis.
I'll post here my results.
Cheers.