1. RF Microelectronics, Behzad Razavi
2. The Design of CMOS Radio-Frequency Integrated Circuits (裡頭會參雜一些小故事), Thomas H. Lee
3. Microwave Engineering, David M. Pozar (有中文版)
4. Microwave and Rf Design of Wireless Systems, David M. Pozar
以上幾本應該都是經典,可以讀上一整年沒問題喔!如果是想看中文書的話,可以參考中正大學張盛富教授的著作:
5. 無線通訊射頻晶片模組設計-射頻系統篇, 張盛富、張嘉展
6. 無線通信之射頻被動電路設計, 張盛富, 戴明鳳
reference: https://www.eebreakdown.com/2019/09/rf-books.html
2020年4月23日 星期四
2019年12月9日 星期一
2018年7月26日 星期四
[RF] 逆向工程
你的LoRa在裸奔嗎?
Matt 之前的演講就已經說明如何逆向工程 LoRa RN2483 的解調變,扣都放在 https://github.com/rpp0/gr-lora
https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device
HackRF 端執行
做完的結果大概長這樣
Matt 之前的演講就已經說明如何逆向工程 LoRa RN2483 的解調變,扣都放在 https://github.com/rpp0/gr-lora
https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device
HackRF 端執行
gr-lora$ sudo python ./apps/lora_receive_realtime.py發送端的範例程式
import serial
import time
import sys
lora = serial.Serial("/dev/ttyACM0", 57600)
# bw=125
print('cmd> radio set bw 125')
lora.write(b'radio set bw 125\r\n')
lora.readline()
# sf=sf12
print('cmd> radio set sf sf11')
lora.write(b'radio set sf sf11\r\n')
lora.readline()
print('cmd> radio set freq 868100000')
lora.write(b'radio set freq 868100000\r\n')
lora.readline()
while True:
print('----------------------------------')
lora.write(b'mac pause\r\n')
lora.readline()
t = int(time.time())
cmd = 'radio tx ' + str(t) + '\r\n'
print('cmd> ' + cmd.strip())
byte_cmd = bytes(cmd)
lora.write(byte_cmd)
lora.readline()
ret = lora.readline().strip()
time.sleep(1 + 0.01 * int(len(cmd)))
做完的結果大概長這樣
2018年4月17日 星期二
[RF] 從LoRa到TTN
這幾篇有非常清楚的介紹
https://www.hackster.io/ChrisSamuelson/lora-raspberry-pi-single-channel-gateway-cheap-d57d36
https://qiita.com/RfidHaraga/items/f8dcdec1d78997216f00
使用Dragin HAT
http://www.instructables.com/id/Use-Lora-Shield-and-RPi-to-Build-a-LoRaWAN-Gateway/
https://www.thethingsnetwork.org/forum/t/how-to-node-with-raspberry-pi-dragino-hat/4594/2
救全家
https://www.thingforward.io/techblog/2017-09-27-getting-started-with-lorawan-thethingsnetwork-and-platformio.html
MQTT
http://talk2lora.blogspot.tw/2016/11/using-mqtt-with-things-network.html
https://www.thethingsnetwork.org/forum/t/a-python-program-to-listen-to-your-devices-with-mqtt/9036/8
https://www.hackster.io/ChrisSamuelson/lora-raspberry-pi-single-channel-gateway-cheap-d57d36
https://qiita.com/RfidHaraga/items/f8dcdec1d78997216f00
使用Dragin HAT
http://www.instructables.com/id/Use-Lora-Shield-and-RPi-to-Build-a-LoRaWAN-Gateway/
https://www.thethingsnetwork.org/forum/t/how-to-node-with-raspberry-pi-dragino-hat/4594/2
救全家
https://www.thingforward.io/techblog/2017-09-27-getting-started-with-lorawan-thethingsnetwork-and-platformio.html
MQTT
http://talk2lora.blogspot.tw/2016/11/using-mqtt-with-things-network.html
https://www.thethingsnetwork.org/forum/t/a-python-program-to-listen-to-your-devices-with-mqtt/9036/8
2018年4月16日 星期一
[RF] 天線好文
https://physics.stackexchange.com/questions/326727/how-can-an-antenna-pick-up-thousands-of-frequencies-at-the-same-time
http://120.101.8.4/lyhsu/database/grade/%E9%82%B1%E5%BB%BA%E6%96%87/%E6%89%8B%E6%8C%81%E8%A3%9D%E7%BD%AE%E5%A4%A9%E7%B7%9A%E8%A8%AD%E8%A8%88Ch2-RF%E6%A6%82%E5%BF%B5%E8%88%87%E5%A4%A9%E7%B7%9A.pdf
http://120.101.8.4/lyhsu/database/grade/%E9%82%B1%E5%BB%BA%E6%96%87/%E6%89%8B%E6%8C%81%E8%A3%9D%E7%BD%AE%E5%A4%A9%E7%B7%9A%E8%A8%AD%E8%A8%88Ch2-RF%E6%A6%82%E5%BF%B5%E8%88%87%E5%A4%A9%E7%B7%9A.pdf
[RF] 用LoRa傳檔案
果然也有人做
http://cpham.perso.univ-pau.fr/WSN-MODEL/tool-html/imagesensor.html
http://cpham.perso.univ-pau.fr/LORA/RPIgateway.html
http://cpham.perso.univ-pau.fr/WSN-MODEL/tool-html/tools.html
不用考慮 ACK 和其他的嗎?
http://cpham.perso.univ-pau.fr/WSN-MODEL/tool-html/imagesensor.html
http://cpham.perso.univ-pau.fr/LORA/RPIgateway.html
http://cpham.perso.univ-pau.fr/WSN-MODEL/tool-html/tools.html
不用考慮 ACK 和其他的嗎?
import serial
import sys
if len(sys.argv) < 2:
thePort = "/dev/ttyUSB0"
else:
thePort = sys.argv[1]
ser = serial.Serial(thePort, 115200, timeout=0)
# flush everything that may have been received on the port to make sure that we start with a clean serial input
ser.flushInput()
while True:
out = ''
sys.stdout.write(ser.read(1024))
sys.stdout.flush()
http://cpham.perso.univ-pau.fr/WSN-MODEL/tool-html/source/115200SerialToStdout.py
2018年3月15日 星期四
2018年3月12日 星期一
[RF] hackrf 相關問題
昨天要 demo 的時候突然又不會動,只好把之前查的文章紀錄一下吧
https://github.com/rpp0/gr-lora/issues/42
https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python
https://github.com/rpp0/gr-lora
https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device
https://www.tiny-dev.com/decoding-lora-with-hackrf-gnuradio/
https://www.thethingsnetwork.org/forum/t/how-to-build-your-first-ttn-node-arduino-rn2483/1574
https://www.youtube.com/watch?v=UAHQRHQD75U
https://www.youtube.com/watch?v=Y7PAkBiNYqM
CSS
https://home.zhaw.ch/~rumc/wcom2/unterlagen/wcom2chap3CSS.pdf
名詞解釋
https://blog.stackprogramer.xyz/en/bb-gain-vs-if-gain-vs-rf-gain/
https://revspace.nl/DecodingLora
https://docs.exploratory.engineering/lora/dr_sf/
AES 加解密
https://stackoverflow.com/questions/12524994/encrypt-decrypt-using-pycrypto-aes-256
LoRaWAN
https://ubidots.com/blog/explaining-lorawan/
TTN 問題
https://www.thethingsnetwork.org/forum/t/limitations-data-rate-packet-size-30-seconds-uplink-and-10-messages-downlink-per-day-fair-access-policy/1300
天線
http://www.cypress.com/file/136236/download
https://github.com/rpp0/gr-lora/issues/42
https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python
https://github.com/rpp0/gr-lora
https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device
https://www.tiny-dev.com/decoding-lora-with-hackrf-gnuradio/
https://www.thethingsnetwork.org/forum/t/how-to-build-your-first-ttn-node-arduino-rn2483/1574
https://www.youtube.com/watch?v=UAHQRHQD75U
https://www.youtube.com/watch?v=Y7PAkBiNYqM
CSS
https://home.zhaw.ch/~rumc/wcom2/unterlagen/wcom2chap3CSS.pdf
名詞解釋
https://blog.stackprogramer.xyz/en/bb-gain-vs-if-gain-vs-rf-gain/
https://revspace.nl/DecodingLora
https://docs.exploratory.engineering/lora/dr_sf/
AES 加解密
https://stackoverflow.com/questions/12524994/encrypt-decrypt-using-pycrypto-aes-256
LoRaWAN
https://ubidots.com/blog/explaining-lorawan/
TTN 問題
https://www.thethingsnetwork.org/forum/t/limitations-data-rate-packet-size-30-seconds-uplink-and-10-messages-downlink-per-day-fair-access-policy/1300
天線
http://www.cypress.com/file/136236/download
2018年3月7日 星期三
2018年3月6日 星期二
2018年2月25日 星期日
訂閱:
文章 (Atom)


