查看RTL 433的源代码
←
RTL 433
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Quick Start == * [https://triq.org/rtl_433/OPERATION.html Basic rtl_433 operation] * [https://triq.org/rtl_433/STARTING.html#options Getting Started] <source lang=bash> $ rtl_433 -f 433.92M -X "n=Tesla,m=OOK_MC_ZEROBIT,s=400,r=1200,t=60" $ rtl_433 -c /usr/local/etc/rtl_433/tesla_charge-port-opener.conf </source> '''PWM''' * short: Nominal width of 1 pulse [us] * long: Nominal width of 0 pulse [us] * sync: Nominal width of sync pulse [us] (optional) OOK_MC_ZEROBIT : Manchester Code with fixed leading zero bit <br> === Input === <source lang=bash> -d 0 # Using the first RTL-SDR found (by default) -d driver=lime -d rtl_tcp://192.168.1.2:1234 # input from a file -r g001_433.92M_250k.cu8 </source> '''Config the input:''' <source lang=bash> [-f <frequency>] Receive frequency(s) (default: 433920000 Hz) [-H <seconds>] Hop interval for polling of multiple frequencies (default: 600 seconds) [-E hop | quit] Hop/Quit after outputting successful event(s) [-s <sample rate>] Set sample rate (default: 250000 Hz) [-g <gain> | help] (default: auto) [-t <settings>] apply a list of keyword=value settings for SoapySDR devices e.g. -t "antenna=A,bandwidth=4.5M,rfnotch_ctrl=false" [-p <ppm_error>] Correct rtl-sdr tuner frequency offset error (default: 0) </source> <br> === Output === The default output is to the screen <source lang=bash> -F kv prints to the screen -F json prints json lines -F csv prints a csv formatted file -F mqtt sends to MQTT -F influx sends to InfluxDB -F csv:log.csv # Append output to file -F mqtt:127.0.0.1:1514 </source> Write all received RAW data to a file with: * -w <filename> * -W <filename> to overwrite an existing file '''Store raw sample data:''' rtl_433 can write a file for each received signal. This is the preferred mode for generating files to later analyze or add as test cases. <source lang=bash> -S all to write all signals to files, -S unknown to write signals which couldn't be decoded to files, -S known to write signals that could be decoded to files. </source> The saves signals are raw I/Q samples (uint8 pcm, 2 channel). <source lang=bash> -A # Pulse Analyzer. Enable pulse analysis and decode attempt. -R 0 # Disable all decoders -v to show detailed notes on startup, -vv to show failed decoding attempts, -vvv to show all decoding attempts, </source> <br> === Modulation === <source lang=python> OOK_MC_ZEROBIT : Manchester Code with fixed leading zero bit OOK_PCM : Non Return to Zero coding (Pulse Code) OOK_RZ : Return to Zero coding (Pulse Code) OOK_PPM : Pulse Position Modulation OOK_PWM : Pulse Width Modulation OOK_DMC : Differential Manchester Code OOK_PIWM_RAW : Raw Pulse Interval and Width Modulation OOK_PIWM_DC : Differential Pulse Interval and Width Modulation OOK_MC_OSV1 : Manchester Code for OSv1 devices FSK_PCM : FSK Pulse Code Modulation FSK_PWM : FSK Pulse Width Modulation FSK_MC_ZEROBIT : Manchester Code with fixed leading zero bit </source> * FSK:两个不同的频率分别代表 0 和 1,FSK 信号要想准确判定是 1 还是 0 (高频率还是低频率), 总是要等几个信号周期 * OOK:On-Off Keying,当“1”出现时接通振幅为 A 的载波,“0” 出现时关断载波。是 ASK (Amplitude Shift Keying) 振幅键控调制的一个特例 * ASK:相当于模拟信号中的调幅,只不过与载频信号相乘的是二进制数。移幅就是把频率、相位作为常量,而把振幅作为变量。 [[文件:ASK.png]] 如上图所示,载波经过调制之后可以有 4 个幅度,分别为 V0=00、V1=01、V2=10、V3=11, 每一个幅度可以代表 2 个 bit,这样它的传输速率就是 OOK 的 2 倍 更多参考: * [[模拟信号调制技术(FM/AM/PM/SSB)]] * [[I/Q信号]] <br>
返回到
RTL 433
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面