Posts

Showing posts with the label FSK

Inspecting Verto water meter

Image
 2.2.2024 Inspecting Verto water meter Verto EVN-R house display unit. Communicates 433 MHz FSK with collector unit.

CC1120/Arduino - CFM for nFSK

Image
 28.1.2021 CC1120/Arduino - CFM for nFSK Arduino Due + CC1120 CFM CFM data output for 4-FSK. Possibly CFM could be used for demodulating N-FSK systems.   #include <SPI.h> #include "cc1120.h" #define PRINT_INFO    1 volatile uint8_t cfmData  = 0; volatile bool mChg        = false; void setup() {   Serial.begin(115200);   pinMode(RESET_PIN, OUTPUT);   pinMode(SS_PIN, OUTPUT);   pinMode(GDO0_PIN, INPUT);   pinMode(GDO3_PIN, INPUT);   digitalWrite(SS_PIN, HIGH);   digitalWrite(RESET_PIN, HIGH);     SPI.begin();   strobeSPI(SNOP);   // Preamble off   uint8_t v = readSPI(PREAMBLE_CFG0);   bitClear(v, 5);   writeSPI(PREAMBLE_CFG0, v);   // Sync off   v = readSPI(SYNC_CFG0);   v &= B11100011;   writeSPI(SYNC_CFG0, v);   // CRC off   v = readSPI(PKT_CFG1);   v &= B11110011;   writeSPI(PKT_CFG1, v);   writ...

CC1101/SmartRF Studio sync serial mode 4-FSK

Image
16.10.2020 CC1101/SmartRF Studio sync serial mode 4-FSK SmartRF Studio 7 version 2.18 CC1101 + SmartRF04eb + Arduino Uno Synchronous serial mode, 4-FSK modulation RXFIFO_OVERFLOW error when selecting continuous rx/synchronous serial mode and 4-FSK modulation format. In RF device command screen clicking read rx fifo returns nothing. After SRES/SFRX command strobes still overflow error.   When selecting 2-FSK and while RX is executing (Start button clicked), it is possible to change the modulation format to 4-FSK without overflow error. Menu item settings -> log to file, log file content when changing 2-FSK to 4-FSK. 13:38:38.088  MDMCFG2          0x00 2 W 13:38:38.103  FREND0           0x10 2 W 13:38:40.807  MDMCFG2          0x40 2 W 13:38:40.807  FREND0           0x10 2 W ...

Decoding FSK radiomodems with Arduino/SX1278

Image
 28.2.2018 Decoding FSK radiomodems with Arduino/SX1278 Some radiomodem FSK mode transmissions in the ISM 868 band can be received with Arduino + Dragino Lora shield (Semtech SX1278 chip). SX1278 library: https://github.com/open-electronics/LoRa/releases SX1278 datasheet: http://www.semtech.com/apps/filedown/down.php?file=sx1276_77_78_79.pdf ReqIrqFlags1: bit 0 SyncAddressMatch detected (sync value 0x01) SX1278 datasheet: "Packet mode (recommended): user only provides/retrieves payload bytes to/from the FIFO. The packet is automatically built with preamble, Sync word, and optional CRC and DC-free encoding schemes The reverse operation is performed in reception. The uC processing overhead is hence significantly reduced compared to Continuous mode. Depending on the optional features activated (CRC, etc) the maximum payload length is limited to 255, 2047 bytes or unlimited" First byte of the packet seems to be length of the packet....   #include <SX1278.h> #define SERIAL_S...

Mobile traffic lights radiomodem at 430.3 MHz

Image
 1.1.2018 Mobile traffic lights radiomodem at 430.3 MHz I noticed mobile traffic lights (http://www.berghaus-verkehrstechnik.com/home/) in nearby bridge construction site. RTL-SDR & SDR# Audio sample: https://vocaroo.com/i/s07yWmFnw4F2 Universal radio hacker sniffed protocol and logged data for further examination Some analysis of the traffic lights radiomodem with Arduino Uno & Semtech SX1278 https://techcoderadio.blogspot.com/2025/03/sx1278-fskook-packet-mode-raw-data-out.html Universal Radio Hacker plain bits files (txt) conversion to decimal values with T-SQL declare @log_data table (     dat varchar(max) ) declare @dat varchar(max) = '' declare @dat_dec varbinary(max) = 0 declare @n int = 1 declare @l int declare @b int declare @i int declare @val_b varbinary(1) = 0 insert into @log_data (dat) select * from openrowset(bulk 'C:\User\data430nrzi.txt', single_clob) AS Doc select @dat = dat from @log_data set @l = len(@dat) while @n <= @l begin  ...

Decoding mobile traffic lights with Arduino/SX1278

Image
18.3.2018 Decoding mobile traffic lights with Arduino/SX1278 Hardware used: Arduino Uno & Dragino LoRa (SX1278) module http://wiki.dragino.com/index.php?title=Lora_Shield #include <SPI.h> #define SERIAL_SPEED        9600 #define BPS                 9600 #define FREQ                430.3 #define STATE_SLEEP         0 #define STATE_STANDBY       1 #define STATE_FSRX          4 #define STATE_RX            5 #define S_DELAY             10 #define L_DELAY             100 #define RX_BUFFER_LEN   ...

Decoding 2-FSK with GNU Radio

Image
 14.6.2018 Decoding 2-FSK with GNU Radio RX: RTL-SDR.COM V.3, GNU Radio, Python TX: Arduino Uno & Dragino Lora Shield (Semtech SX1278) http://wiki.dragino.com/index.php?title=Lora_Shield 436 MHz 1200 bps 2-FSK NRZ, CRC OFF, preamble polarity 0xAA, preamble length 24, no sync words Arduino code (Open-Electronics sx1278 library is available in GitHub. https://github.com/open-electronics/LoRa/releases) SX1278 datasheet: https://cdn-shop.adafruit.com/product-files/3179/sx1276_77_78_79.pdf #include <SX1278.h> #define SERIAL_SPEED        9600 #define FREQ                436 #define BPS                 1200 #define STATE_STANDBY       1 #define STATE_FSTX          2 #define STATE_TX      ...

Wireless doorbells using FSK

Image
12.5.2018 Wireless doorbells using FSK Usually wireless doorbells use OOK modulation. I managed to find two models which use 2-FSK modulation. Friedland Libra+ 48249SL Honeywell ActivLink DC515xx Friedland signal analysis with Audacity. Pattern (marked in the image) is repeated for approx. 1.8 seconds. Friedand signal analysis with Universal Radio Hacker

Arduino Uno SX1278 FSK receiver

Image
 5.3.2018 Arduino Uno SX1278 FSK receiver Arduino Uno & Dragino LoRa module (Semtech SX1278 chip) FSK receiver. #include <SPI.h> #define SERIAL_SPEED        9600 #define BPS                 9600 #define FREQ                869.525 #define STATE_SLEEP         0 #define STATE_STANDBY       1 #define STATE_FSRX          4 #define STATE_RX            5 #define S_DELAY             10 #define L_DELAY             100 #define RX_BUFFER_LEN       255 #define SX_BITRATE  ...

Semtech SX1278 FSK packet mode decoding with Arduino

Image
 sunnuntai, 25. kesäkuu 2017 Semtech SX1278 FSK packet mode decoding with Arduino Short data transmission at 420.0125 MHz which repeats once every minute and is heard in (at least) Pori (town in Finland) central area is probably DMR control channel. Arduino Uno & Dragino Lora Module (SX1278) http://www.dragino.com/products/module/item/102-lora-shield.html   #include <SX1278.h> #define SERIAL_SPEED        9600 #define FREQ                420.0125 #define BPS                 9600 #define STATE_STANDBY       1 #define STATE_FSRX          4 #define STATE_RX            5 #define S_DELAY             ...