Posts

Showing posts with the label PWM

Tools for inspecting OOK 2

Image
19.5.2021 Tools for inspecting OOK 2 Arduino Due, CC1120 (ccRF 3 click board)   CC1120 ASK/OOK transparent serial mode. CC1120 GPIO3 configured for CARRIER SENSE, triggers when RSSI is above defined threshold (AGC_CS_THR register). GPIO0 configured for SERIAL_RX. #include <SPI.h> #include "cc1120.h" #define PRINT_INFO #undef PRINT_INFO #define DATA_SIZE   512 #define PLOT_SCALE  64 uint16_t data[DATA_SIZE]; // uint16_t is enough for max 32767 uS pulse len // bit 15 = 1 when high pulse, 0 when low pulse volatile bool printData = false; volatile uint16_t idx   = 0; void setup() {   Serial.begin(57600);   pinMode(RESET_PIN, OUTPUT);   pinMode(SS_PIN, OUTPUT);   pinMode(GDO0_PIN, INPUT); // SERIAL_RX   pinMode(GDO3_PIN, INPUT); // CARRIER SENSE   digitalWrite(SS_PIN, HIGH);   digitalWrite(RESET_PIN, HIGH);   memset(data, 0, sizeof(data));     SPI.begin();   strobeSPI(SNOP);   // Sync off   u...

Tools for inspecting OOK

Image
14.5.2021 Tools for inspecting OOK Quhwa doorbell (OOK, PWM) 433.948 MHz CC1120 + CC Debugger + SmartRF Studio 7 Universal Radio Hacker, Audacity, PulseView CC1120 GPO0 connected to Logic Analyzer CH1 (SERIAL_RX) CC1120 GPO2 connected to Logic Analyzer CLK (SERIAL_CLK, not used - CC1120 transparent ASK/OOK mode with carrier sense)   Universal Radio Hacker   Audacity (signal recorded with URH - complex16s) Import raw data   Waveform (dB)   SmartRF Studio CC1120 register settings <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE configuration SYSTEM "C:/Program Files (x86)/Texas Instruments/SmartRF Tools/SmartRF Studio 7/config/xml/configdata.dtd"[]> <dcpanelconfiguration>     <Devicename>CC1120</Devicename>     <Description>Saved configuration data</Description>     <registersettings>         <Register>     ...

Remote controls in 868 MHz ISM band with static keycodes

Image
 13.11.2021 Remote controls in 868 MHz ISM band with static keycodes ADALM-PLUTO GNU Radio PulseView RTL_433 Old tech remote door openers which use PWM and static key codes can still be found from 868 MHz ISM band.

Python/PulseView - inspecting PWM signal

Image
 29.10.2021 Python/PulseView - inspecting PWM signal 868 MHz ISM band door opener system signal originally recorded with SDR# at 250 kHz. Conversion with SoX (http://sox.sourceforge.net/) to float format: sox SDRSharp868961000Hz_IQ.wav sdr1.f32 import numpy as np import matplotlib.pyplot as plt ##from scipy import signal ## sox SDRSharp868961000Hz_IQ.wav sdr1.f32 samples = np.fromfile('G:\sdr1.f32', np.complex64) ##f = signal.resample(samples, len(samples) * 3) sample_rate = 0.25e6 center_freq = 868.961e6 ##print(type(samples[0])) psd = np.abs(np.fft.fftshift(np.fft.fft(samples)))**2 dB_psd = 10 * np.log10(psd) f = np.linspace(sample_rate/-2, sample_rate/2, len(psd)) # time domain plt.figure(0) plt.plot(np.real(samples[::100])) plt.plot(np.imag(samples[::100])) plt.xlabel("Time") # freq domain plt.figure(1) plt.plot(f/1e6, dB_psd) plt.xlabel("Frequency [MHz]") plt.ylabel("PSD") # psd plt.figure(2) plt.psd(samples, NFFT=1024, Fs=sample_rate/1e6, Fc=...

RTL-SDR + GNURadio PWM lähetteen tutkintaa

Image
9.4.2018 RTL-SDR + GNURadio PWM lähetteen tutkintaa Visonic MCT-201 Miniature Pendant PowerCode Wireless Transmitter (868 MHz ISM band, PWM) Autorange off. Secs/Div & Counts/Div asetuksia piti säätää jotta sai tolkullisen kuvan ... 1010000 ...

Decoding pulse-width modulation with GNU Radio and Audacity

Image
 17.6.2018 Decoding pulse-width modulation with GNU Radio and Audacity Effect -> Amplify... Short and long width pulses (1's 0's ...) Measuring pulse width

Visonic MCT-201 analysis with Arduino/SX1278

Image
19.10.2017 Visonic MCT-201 analysis with Arduino/SX1278 Visonic MCT-201 Miniature Pendant PowerCode Wireless Transmitter (868 MHz ISM band, PWM) Arduino Uno & Dragino Lora Module (Semtech SX1278) http://www.dragino.com/products/module/item/102-lora-shield.html Open-Electronics sx1278 library is available in GitHub. https://github.com/open-electronics/LoRa/releases Serial.println(b); Serial.println(b); Serial.println(b); https://techcoderadio.blogspot.com/2025/03/friedland-libra-wireless-doorbell.html  

Visonic MCT-201

Image
26.9.2017 Visonic MCT-201 868 MHz ISM, PWM http://www.visonic.com/Products/Wireless-Property-Protection/Pendant-mct-201 Waterfall PIC 12LC508A Signal (AF) in Audacity