[{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/amateur-radio/","section":"Tags","summary":"","title":"Amateur Radio","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/ft8/","section":"Tags","summary":"","title":"FT8","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/gridtracker/","section":"Tags","summary":"","title":"GridTracker","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/multicast/","section":"Tags","summary":"","title":"Multicast","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/networking/","section":"Tags","summary":"","title":"Networking","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/post/","section":"Posts","summary":"","title":"Posts","type":"post"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/","section":"R3 Radio Research","summary":"","title":"R3 Radio Research","type":"page"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/sdr/","section":"Tags","summary":"","title":"SDR","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/","section":"Tags","summary":"","title":"Tags","type":"tags"},{"content":"","date":"26 March 2023","externalUrl":null,"permalink":"/tags/wsjt-x/","section":"Tags","summary":"","title":"WSJT-X","type":"tags"},{"content":"Friend: Hey what band are you on for FT8? Me: HF. Friend: What? That\u0026#39;s like 8 Bands. Me: Yes. Intro # One day I read a reddit comment where someone mentioned using multiple instances of WSJT-X with one instance of GridTracker to operate FT8 on 2 bands at the same time, seeing data from both instances simultaneously in GridTracker. This got me thinking about my KiwiSDR which I had listening to FT8 on 8 HF bands and simultaneously reporting all the decodes to PSKReporter.info using DigiSkimmer. I wondered if I could view that decoded data locally and instantly in GridTracker instead of with a processing delay from PSKReporter.info. This could help me attain the Worked All States (WAS) and other awards from eQSL and LOTW faster than if I just listened for CQs on a single band since I could set up missing grid or missing state alerts in GridTracker and get them immediately on my desktop as reports come in. Then I could respond to those CQs of interest to get another missing state or grid.\nI don\u0026rsquo;t like the waiting part of fishing and this was the perfect way to combine practical programming and Ham radio to lessen the chance involved in pursuing these awards by just calling CQ or being limited in my signals consumption and awareness capacity while trying to respond to others\u0026rsquo; CQs. This article is the culmination of a few months of casual experimentation and debugging and discusses how I was able to connect DigiSkimmer to GridTracker to receive 8 bands of HF at the same time, enabling DX Chasing and more effective multi-band award hunting by rapid band hopping operations.\nBackground # The KiwiSDR is an FPGA-based beaglebone cape SDR which provides a user web interface using javascript and websockets. The program comes with built in web demodulators for common modes spanning SSB and WFM to Digital Radio Mondiale (DRM) and more. The web interface software is the baseline that spawned the still supported (now by a different author) OpenWebRX project.\nIn its \u0026ldquo;more channels\u0026rdquo; mode, KiwiSDR can serve 8 demodulated audio streams over websockets to 8 separate clients. Lazywalker\u0026rsquo;s DigiSkimmer takes advantage of this capabiltiy to provide WSJT-X mode spots to PSKReporter or WSPR spots to WSPRNet by dynamically tasking these 8 audio streams to different WSJT mode signal allocations. Normally, the software simply connects to the audio channel websockets on KiwiSDR, pipes audio to WSJT-X command line decoders, parses the output decoded messages, and uploads reports to PSKReporter or WSPRNet. DigiSkimmer has a configurable schedule to switch bands and modes at certain times of day, but for the purposes of this project, I\u0026rsquo;m simply covering FT8 on the 80, 40, 30, 20, 17, 15, 12, and 10 meter bands 24/7. Out of the box, this allows me to use DigiSkimmer to provide total situational awareness for amateur radio FT8 on all HF bands, all at the same time.\nUnfortunately, with the out of the box capabilties of DigiSkimmer, received signal reports are only viewable on the console in a difficult to interpret format (raw WSJT-X decode messages), or by querying the web services the reports are served to by API or web interface (e.g. PSKReporter\u0026rsquo;s PSK Map). For the past year, PSKReporter forums have been full of complaints about processing delay which has at times exceeded several hours during contests. PSKReporter\u0026rsquo;s view is not instant, even when working properly, and WSPRNet doesn\u0026rsquo;t really support reports for modes other than WSPR. Also, neither of these services would appreciate the sheer amount of user queries made to get data on 15 second or faster intervals even if they could provide it at that rate. I\u0026rsquo;m sure my client would be banned in short order for denial-of-service attack like behavior.\nSince what I want for operating FT8 with all-band HF receive while I\u0026rsquo;m not transmitting is instantly viewable signal reports to enable DX chasing by rapid band hopping, I have to find another solution. If I could just feed signal reports from DigiSkimmer to some local software for for viewing reports, mapping them, and alerting me of interesting signals, I\u0026rsquo;d have the capability I\u0026rsquo;m looking for. This is where GridTracker comes in.\nGridTracker is a piece of software from N0TTL that displays real-time signal reports from WSJT-X on a map, but I don\u0026rsquo;t really want to fork it\u0026rsquo;s FOSS repo on gitlab. No matter, WSJT-X feeds it data over UDP sockets, and it supports a multicast network. If I configure a network where multicast routing is supported between my software services like the one shown below, I can simply have DigiSkimmer send multicast packets pretending to be instances of WSJT-X, labeled in some way that makes it easy to sort my data in GridTracker\u0026rsquo;s views. WSJT-X is none the wiser that i\u0026rsquo;m using DigiSkimmer instead of 8 instances of the real FT8 operating software from Joe Taylor at Princeton. The implementation of this concept provided me with exactly what I wanted.\nSoftware Implementation # The first step in design implementation was either to reverse engineer the packets being sent by WSJT-X using WireShark, read the C++ source code and decipher what packets were being sent, or to find a FOSS library that did most of this work for me. I ended up forking bmo\u0026rsquo;s py-wsjtx library and used the C++ WSJT-X source code and WireShark in tandem to help construct the packets the FOSS library did not provide. The py-wsjtx library was only written to receive some WSJT-X packets and decomm them, not build packets to fake heartbeats, statuses, and reports. I added these packet builders into the codebase, and I was off to the races.\nAfter building a library sufficient to impersonate WSJT-X over UDP, I had to plan out the interfaces between my various software and hardware. The below figures summarize what data will flow between hardware and software, but the TLDR is that DigiSkimmer will be provide decode packets to GridTracker and pay attention to status packets from real WSJT-X instances to not provide duplicate reports to GridTracker. GridTracker provides visualization of data and limited commanding to real WSJT-X instances for transmit operations.\nAfter architecting what was to be implemented for software/hardware interfaces, the next step was to add code to the wsjt decoding function in DigiSkimmer which would send UDP packets out over a multicast UDP socket to GridTracker. I created an object in DigiSkimmer\u0026rsquo;s codebase to be a thread safe shared UDP socket manager and created code to add packets to a broadcast queue in the decode function of DigiSkimmer. I thought I might be done at this point, but I did want to avoid collisions between decode packets of my real WSJT-X instance and my DigiSkimmer imposters, so there was more work to be done.\nDuplicate packets received by GridTracker limited my \u0026ldquo;point and click\u0026rdquo; operations whereby clicking on a CQ in the Call Roster of GridTracker automatically replies to the CQ in WSJT-X. Since the fake WSJT-X instances have no transmitters to control when given a reply command and GridTracker will only send a command back to the source WSJT-X instance for a report, I need any packets from real WSJT-X instances connected to radio transceivers to take precedence over ones reported from KiwiSDR via DigiSkimmer.\nTo mitigate report collisions, I added code in the UDP socket manager class to listen for status packets from WSJT-X and provide a dictionary of excluded bands/modes for the broadcast queue entries in the DigiSkimmer decode function. I then had the DigiSkimmer decode method UDP broadcasting code check this list and not send reports that would be on the same band/mode as real WSJT-X instacnes in the exclusion list.\nAfter writing code to avoid packet collisions and broadcast the decoded WSJT-X packets I was mostly done, but there are a few more quirks I want to cover in this article for posterity\u0026rsquo;s sake.\nFor a long time, I was having a problem with the software where a few of the listener threads would stop working after a while, and I thought it might be multithreading related since the audio listeners implemented by DigiSkimmer run as separate python Thread objects. In reality, I just had the schedule for 24/7 written wrong in the python config file. It\u0026rsquo;s supposed to be a * for a continuous schedule, not something like 0:00-23:59, which was causing only 4 threads to resume on the midnight rollover for some reason.\nI also had to make sure my UDP socket manager class was emptying the socket of all real WSJT-X packets and DigiSkimmer reports and not just reading back reports I was sending from DigiSkimmer at a rate which didn\u0026rsquo;t empty the socket. Originally, the reports would fill up the socket faster than I was reading from it, so I wouldn\u0026rsquo;t see updated status from real WSJT-X instances, resulting in a very outdated exclusion list for report broadcasting after DigiSkimmer had been running for some time.\nAt the time of writing, I also have not implemented a UDP log packet object in the py-wsjtx library fork I\u0026rsquo;ve been using. This is now set to just throw warnings in the DigiSkimmer logs as DigiSkimmer has no use for the logged QSOs anyway and the warning messages are largely harmless.\nUse in Your Radio Shack # If you happen to have a unicorn KiwiSDR and you want to run this software yourself, you can download my forked DigiSkimmer from GitHub and also clone my forked py-wsjtx git submodule dependencies into it and run it on your own multicast network. Please note I\u0026rsquo;m using a simlink for the location the py-wsjtx library, so it might not work properly on windows without some modification. As long as your multicast network is routable and you configure a valid settings.py file for DigiSkimmer the software should work in other environments. Links to my 2 forked and modified repos can be found below. I hope to catch you on the air, and remember, with great power comes great responsibilty. Please still call CQ!\nhttps://github.com/MeadeRobert/DigiSkimmer\nhttps://github.com/MeadeRobert/py-wsjtx/\n","date":"26 March 2023","externalUrl":null,"permalink":"/p/wsjt-x-and-digiskimmer-and-gridtracker-oh-my/","section":"Posts","summary":"","title":"WSJT-X and DigiSkimmer and Gridtracker Oh My!","type":"post"},{"content":"","date":"4 February 2023","externalUrl":null,"permalink":"/tags/automotive/","section":"Tags","summary":"","title":"Automotive","type":"tags"},{"content":"","date":"4 February 2023","externalUrl":null,"permalink":"/tags/python/","section":"Tags","summary":"","title":"Python","type":"tags"},{"content":"","date":"4 February 2023","externalUrl":null,"permalink":"/tags/reverse-engineering/","section":"Tags","summary":"","title":"Reverse Engineering","type":"tags"},{"content":"","date":"4 February 2023","externalUrl":null,"permalink":"/tags/rtl_433/","section":"Tags","summary":"","title":"Rtl_433","type":"tags"},{"content":"","date":"4 February 2023","externalUrl":null,"permalink":"/tags/rtl-sdr/","section":"Tags","summary":"","title":"RTL-SDR","type":"tags"},{"content":"My 2022 CX-5 had the low tire pressure light turn on the other day, and my first response was to start mashing the steering wheel info button to see which tire was low on pressure. Puzzled when I did not find a readout of the tire pressures on the dash, I checked the paper and digital manuals for more information. After reading these and investigating other sources, I found that while Mazda uses direct TPMS sensors that transmit pressure and temperature data with accompanying unique sensor ids to the car\u0026rsquo;s computer via RF signals, the car does not a have a system to interpret those readings individually. The year is the current year, and finding this wholly unacceptable, I set out to build myself a TPMS receiver that could interpret these readings for each tire separately immediately after I repaired the hole created by a nail and reinflated the tire with low pressure.\nRTL-433 (rtl_433) is an open source software project written in C that uses RTL-SDR devices to demodulate common electronic pulse signals on ISM (Part 18) or Part 15 bands to include 315 MHz, 433 MHZ, 915 MHz, and others. The software has the capability to do provide minimized pulse data descriptors and to provide baseband snippets of captured pulses for further analysis. If I was going to have to write a decoder, it should be an extension to this already huge project that sports ~200 common pulse signal decoders. Should that task be necessary, the analysis tools provided by rtl_433 would prove very helpful.\nMy first step in the process to build the TPMS readout was to just run the rtl_433 command with my car off and in my garage to see if I would pick up any signals from the car\u0026rsquo;s tire sensors, but I received no signals in doing this. I had found another article on this subject of reverse engineering Mazda TPMS sensors which all but confirmed that in the US these would be 315 MHz signals in 70kHz BW FSK using standard manchester encoding, so I wanted to look at the baseband data being received by my RTL-SDRv3 to see if I was observing anything matching that description. When I ran gqrx or sdrpp and observed the waterfall, all I saw was ~200kHz BW BFSK signals from my car\u0026rsquo;s fob interogator system and the responses from the fob in my pocket.\nAfter doing some more reading online, I learned that TPMS sensors in car tires are powered by small batteries that have to last for several years. To save power, they only transmit when large changes in tire pressure are observed or when the tires are spinning (i.e. when the sensor is accelerating). I repeated my initial experiment with rtl_433 again, this time collecting signals while I was driving the car, and I observed several similar TPMS protocol decoders reporting back data.\nNow that I had data from rtl_433, I looked for the decoder output that most accurately reported info about my tires. It seemed the one giving me readings of roughly 210-220 kPa and temps around 0C (it\u0026rsquo;s cold here in DM79 right now) was the most reasonable; this was the Abarth-124Spider decoder (-R 156) already built for rtl_433. Looking at other output fields it was clear that there were 4 different sensor id numbers in the data: 0xc12c86ad, 0xc12c86cd, 0xc12a5716, and 0xc12c86dd. At this point, I appended some functions to the bottom of an MQTT monitor relay for rtl_433 example python script that would display the data from each of these individually and made arbitrary assumptions about which tires were which.\n# initial guesses FL = {\u0026#39;id\u0026#39;:\u0026#39;c12c86ad\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test FL at ~35 psi set by hand FR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86cd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test FR at ~30 psi set by hand BL = {\u0026#39;id\u0026#39;:\u0026#39;c12a5716\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test BL at ~20 psi set by hand BR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86dd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test BR at ~25 psi set by hand After making initial guesses, and verifying my software was working, I had to properly map the tires to my vehicle. To do this I filled each of them to a different pressure, roughly 20, 25, 30, and 35 psi. I then drove in a circle till I had data at each of these pressures reported and remapped the tires to the correct positions in my software.\n# final tire mapping BR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86ad\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 24.4 in test -\u0026gt; BR FR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86cd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 27.2 in test -\u0026gt; FR BL = {\u0026#39;id\u0026#39;:\u0026#39;c12a5716\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 17.8 in test -\u0026gt; BL FL = {\u0026#39;id\u0026#39;:\u0026#39;c12c86dd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 30.8 in test -\u0026gt; FL I confirmed my mapping was correct by inflating/deflating the tires one at a time to 32 psi (32 instead of recommended 34 because it was ~0C outside) while receiving signals with my RTL-SDRv3 and this python script and watching the reports come in with one id only from the expected tire positions in sequential order as they were all restored to operating pressure. The result was a laptop-based TPMS readout for my car.\nAfter getting everything working, I updated my python script to kick off the background rtl_433 process directly and now it runs in a single terminal window. I estimate that starting with my code below and updating the tire mapping ids for your Mazda, this capability could be replicated in just a few minutes of calibration/setup time.\nSource Code #!/usr/bin/env python \u0026#34;\u0026#34;\u0026#34;MQTT monitoring relay for rtl_433 communication.\u0026#34;\u0026#34;\u0026#34; # This program listens on a UDP socket for syslog messages with a json # payload, and publishes the data via MQTT. The broker connection is # kept open (and automatically reconnects on failure). Each device # is mapped to its own topic, # Dependencies: # Paho-MQTT; see https://pypi.python.org/pypi/paho-mqtt # Optionally: PEP 3143 - Standard daemon process library # (on 2.7, pip install python-daemon) # To enable daemon support, uncomment the following line and adjust # run(). Note that print() is still used. # import daemon from __future__ import print_function from __future__ import with_statement import socket import json import paho.mqtt.client as mqtt import sys import subprocess # Syslog socket configuration UDP_IP = \u0026#34;127.0.0.1\u0026#34; UDP_PORT = 1433 # MQTT broker configuration MQTT_HOST = \u0026#34;127.0.0.1\u0026#34; MQTT_PORT = 1883 MQTT_USERNAME = None MQTT_PASSWORD = None MQTT_TLS = False MQTT_PREFIX = \u0026#34;sensor/rtl_433\u0026#34; def mqtt_connect(client, userdata, flags, rc): \u0026#34;\u0026#34;\u0026#34;Handle MQTT connection callback.\u0026#34;\u0026#34;\u0026#34; print(\u0026#34;MQTT connected: \u0026#34; + mqtt.connack_string(rc)) def mqtt_disconnect(client, userdata, rc): \u0026#34;\u0026#34;\u0026#34;Handle MQTT disconnection callback.\u0026#34;\u0026#34;\u0026#34; print(\u0026#34;MQTT disconnected: \u0026#34; + mqtt.connack_string(rc)) # Create listener for incoming json string packets. sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) sock.bind((UDP_IP, UDP_PORT)) # Map characters that will cause problems or be confusing in mqtt # topics. def sanitize(text): \u0026#34;\u0026#34;\u0026#34;Sanitize a name for Graphite/MQTT use.\u0026#34;\u0026#34;\u0026#34; return (text .replace(\u0026#34; \u0026#34;, \u0026#34;_\u0026#34;) .replace(\u0026#34;/\u0026#34;, \u0026#34;_\u0026#34;) .replace(\u0026#34;.\u0026#34;, \u0026#34;_\u0026#34;) .replace(\u0026#34;\u0026amp;\u0026#34;, \u0026#34;\u0026#34;)) def parse_syslog(line): \u0026#34;\u0026#34;\u0026#34;Try to extract the payload from a syslog line.\u0026#34;\u0026#34;\u0026#34; line = line.decode(\u0026#34;ascii\u0026#34;) # also UTF-8 if BOM if line.startswith(\u0026#34;\u0026lt;\u0026#34;): # Fields should be \u0026#34;\u0026lt;PRI\u0026gt;VER\u0026#34;, timestamp, hostname, command, pid, mid, sdata, payload. # The payload might have spaces, so force split to stop after the sixth space. fields = line.split(None, 7) line = fields[-1] else: # Hope that the line was just json without the syslog header. pass return line def rtl_433_probe(): \u0026#34;\u0026#34;\u0026#34;Run a rtl_433 UDP listener.\u0026#34;\u0026#34;\u0026#34; ## Connect to MQTT mqttc = mqtt.Client() mqttc.on_connect = mqtt_connect mqttc.on_disconnect = mqtt_disconnect if MQTT_USERNAME != None: mqttc.username_pw_set(MQTT_USERNAME, password=MQTT_PASSWORD) if MQTT_TLS: mqttc.tls_set() mqttc.connect_async(MQTT_HOST, MQTT_PORT, 60) mqttc.loop_start() ## Receive UDP datagrams, extract json, and publish. while True: line, addr = sock.recvfrom(1024) try: line = parse_syslog(line) data = json.loads(line) if data[\u0026#39;model\u0026#39;] == \u0026#39;Abarth-124Spider\u0026#39;: process_tires(data) except ValueError: pass # initial guesses #FL = {\u0026#39;id\u0026#39;:\u0026#39;c12c86ad\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test FL at ~35 psi set by hand #FR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86cd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test FR at ~30 psi set by hand #BL = {\u0026#39;id\u0026#39;:\u0026#39;c12a5716\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test BL at ~20 psi set by hand #BR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86dd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} test BR at ~25 psi set by hand # final tire mapping BR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86ad\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 24.4 in test -\u0026gt; BR FR = {\u0026#39;id\u0026#39;:\u0026#39;c12c86cd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 27.2 in test -\u0026gt; FR BL = {\u0026#39;id\u0026#39;:\u0026#39;c12a5716\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 17.8 in test -\u0026gt; BL FL = {\u0026#39;id\u0026#39;:\u0026#39;c12c86dd\u0026#39;,\u0026#39;psi\u0026#39;:0,\u0026#39;temp\u0026#39;:0} # tpms measured 30.8 in test -\u0026gt; FL def process_tires(data): global FL, FR, BL, BR print(data) if (data[\u0026#39;id\u0026#39;] == FL[\u0026#39;id\u0026#39;]): FL[\u0026#39;psi\u0026#39;] = data[\u0026#39;pressure_kPa\u0026#39;]*.1450 FL[\u0026#39;temp\u0026#39;] = data[\u0026#39;temperature_C\u0026#39;] elif (data[\u0026#39;id\u0026#39;] == FR[\u0026#39;id\u0026#39;]): FR[\u0026#39;psi\u0026#39;] = data[\u0026#39;pressure_kPa\u0026#39;]*.1450 FR[\u0026#39;temp\u0026#39;] = data[\u0026#39;temperature_C\u0026#39;] elif (data[\u0026#39;id\u0026#39;] == BL[\u0026#39;id\u0026#39;]): BL[\u0026#39;psi\u0026#39;] = data[\u0026#39;pressure_kPa\u0026#39;]*.1450 BL[\u0026#39;temp\u0026#39;] = data[\u0026#39;temperature_C\u0026#39;] elif (data[\u0026#39;id\u0026#39;] == BR[\u0026#39;id\u0026#39;]): BR[\u0026#39;psi\u0026#39;] = data[\u0026#39;pressure_kPa\u0026#39;]*.1450 BR[\u0026#39;temp\u0026#39;] = data[\u0026#39;temperature_C\u0026#39;] print(\u0026#34;Front Left:\u0026#34;, \u0026#34;{:2.1f}\u0026#34;.format(FL[\u0026#39;psi\u0026#39;]), \u0026#34;PSI /\u0026#34;, FL[\u0026#39;temp\u0026#39;], \u0026#34;C\u0026#34;, \u0026#34;\\t\u0026#34;,\u0026#34;Front Right:\u0026#34;, \u0026#34;{:2.1f}\u0026#34;.format(FR[\u0026#39;psi\u0026#39;]), \u0026#34;PSI /\u0026#34;, FR[\u0026#39;temp\u0026#39;], \u0026#34;C\u0026#34;) print(\u0026#34; Back Left:\u0026#34;, \u0026#34;{:2.1f}\u0026#34;.format(BL[\u0026#39;psi\u0026#39;]), \u0026#34;PSI /\u0026#34;, BL[\u0026#39;temp\u0026#39;], \u0026#34;C\u0026#34;, \u0026#34;\\t\u0026#34;, \u0026#34; Back Right:\u0026#34;, \u0026#34;{:2.1f}\u0026#34;.format(BR[\u0026#39;psi\u0026#39;]), \u0026#34;PSI /\u0026#34;, BR[\u0026#39;temp\u0026#39;], \u0026#34;C\u0026#34;) if __name__ == \u0026#34;__main__\u0026#34;: if len(sys.argv) \u0026gt; 1: print(sys.argv[1]) subprocess.Popen([\u0026#39;rtl_433 -R 156 -r \u0026#39;+ sys.argv[1] +\u0026#39; -F syslog:127.0.0.1:1433\u0026#39;],shell=True,stdout=subprocess.DEVNULL) else: subprocess.Popen([\u0026#39;rtl_433 -f 315000000 -R 156 -F syslog:127.0.0.1:1433\u0026#39;],shell=True,stdout=subprocess.DEVNULL) rtl_433_probe() ","date":"4 February 2023","externalUrl":null,"permalink":"/p/rtl-sdr-mazda-cx-5-tpms/","section":"Posts","summary":"","title":"RTL-SDR Mazda CX-5 TPMS","type":"post"},{"content":"","date":"4 February 2023","externalUrl":null,"permalink":"/tags/tpms/","section":"Tags","summary":"","title":"TPMS","type":"tags"},{"content":"","date":"28 April 2022","externalUrl":null,"permalink":"/tags/hardware-mod/","section":"Tags","summary":"","title":"Hardware Mod","type":"tags"},{"content":"While designing my Amateur Radio V/U satellite communications station using omnidirectional antennas, I toyed with the idea of relay-based TX/RX switches with integrated 3dB power dividers to supply signals to a monitoring SDR without the filters of the IC-9700 in the receive chain. This thought was an alternative to using the PTRX-9700 Pandapter as a signal cloning device, and it had the added benefit of being able to use more of the M2 Antennas Eggbeaters’ frequency ranges (the full 136-148 MHz and 400-470 MHz advertised). Unfortunately, this system configuration resulted in insufficient SNR for decoding much telemetry or other signals in the 146/433 MHz Amateur Radio V/U Satcom Bands wihtout adding a mast-mounted pre-amp. Despite this, my quest to explore this technical solution in a world filled with covid-driven part scarcity led to a useful development regarding a common MFJ product.\nI fell into the same trap as K1GMM and purchased some MFJ-1708B RF Sense TR Switches thinking they were identical in function to the MFJ-1708B RF Sense SDR Receiver TR Switches. The Switches I bought used a common circuit board design with the SDR model switches, but the non-SDR model did not split the RF receive output; rather, it only served it to the “REC” output. MFJ, like Ten-Tec, provides schematics for many of their products, so I set out to see if I might easily convert this non-SDR model switch to perform as the SDR one.\nWhile the physical circuit boards used for the various models of MFJ-1708B devices are all the same, the populated portions of the layout differ in 4 ways:\nR1 is NOT present on SDR Version JP3 is disconnected/NOT present on SDR Version SMD Center-Tap Transformer TR1 for the -3dB RF Splitter is present on SDR Version A 100 Ohm Resistor shorts the end-point leads of TR1 on SDR Version The differences are shown in red markup below:\nThe raw schematics come from the manuals available directly from MFJ:\nMFJ 1708B SDR Manual MFJ 1708B Manual All of the components required to convert the non-SDR version to the SDR version are likely to be found lying around a typical hobbyist electronics lab except the power splitter transformer, although it\u0026rsquo;s not hard to find something workable for \u0026lt; $5 a piece on DigiKey, Mouser, etc. I measured by hand using a caliper the footprint for the power splitter on the board and sourced a MAPD-011039 2-Way Power Divider capable of covering 1.218MHz to 5 GHz with an insertion loss of 1.2 dB in a 0.163\u0026quot; L x 0.167\u0026quot; W x 0.142\u0026quot; H (4.15mm x 4.25mm x 3.60mm) 6-SMD, No Lead package for $3.58/pc. (MAPD-011039)\nPerforming the 4 changes shown in the schematics above yields a functional converted RF switch.\n","date":"28 April 2022","externalUrl":null,"permalink":"/p/mfj-1708b-rf-sense-tr-switch-non-sdr-to-sdr-model-conversion/","section":"Posts","summary":"","title":"MFJ-1708B RF Sense TR Switch non-SDR to SDR Model Conversion","type":"post"},{"content":"","date":"28 April 2022","externalUrl":null,"permalink":"/tags/rf/","section":"Tags","summary":"","title":"RF","type":"tags"},{"content":"","date":"28 April 2022","externalUrl":null,"permalink":"/tags/satellite/","section":"Tags","summary":"","title":"Satellite","type":"tags"},{"content":"","externalUrl":null,"permalink":"/categories/","section":"Categories","summary":"","title":"Categories","type":"categories"},{"content":"Questions about a post, a project, or something you saw on the channel? We\u0026rsquo;d like to hear from you.\nEmail contact@kb3wfq.com\nContact form coming soon. We're waiting on our email delivery service to switch it on. Until then, please use the email button above.\nYour name Your email Message Leave this empty Send ","externalUrl":null,"permalink":"/contact/","section":"Pages","summary":"","title":"Contact","type":"page"},{"content":"Robert\u0026rsquo;s Research \u0026amp; Radios LLC respects the rights of creators. If you believe material on this site infringes a copyright you own or are authorized to enforce, please email a notice to:\ncontact@kb3wfq.com\nPlease include the following in your notice (see 17 U.S.C. § 512(c)(3)):\nYour physical or electronic signature. The copyrighted work you believe has been infringed. The material on this site you are reporting, with the page URL and enough detail for us to find it (for example, the quotation, image or clip). Your name, postal address, telephone number and email address. A statement that you have a good-faith belief that the use is not authorized by the copyright owner, its agent, or the law. A statement that the information in your notice is accurate and, under penalty of perjury, that you are the copyright owner or are authorized to act on the owner\u0026rsquo;s behalf. We review every notice and will respond by email. Where appropriate, we may remove or disable access to the material while we review it.\nCreators whose work we discuss are also welcome to write to the same address with corrections, credit changes or other requests.\n","externalUrl":null,"permalink":"/copyright/","section":"Pages","summary":"","title":"Copyright \u0026 Takedown Requests","type":"page"},{"content":"","externalUrl":null,"permalink":"/page/","section":"Pages","summary":"","title":"Pages","type":"page"},{"content":"This site is run by Robert\u0026rsquo;s Research \u0026amp; Radios LLC. We keep data collection to a minimum.\nBrowsing. We use no analytics, no tracking pixels and no advertising, and we set no cookies. Your browser remembers your light/dark choice on your own device. Pages with an embedded YouTube video load it from YouTube\u0026rsquo;s privacy-enhanced domain (youtube-nocookie.com), and YouTube\u0026rsquo;s own privacy policy applies to that video.\nContact form. When you send a message we receive your name, your email address and your message. We use them only to read and answer your message. The message is saved on our own server and forwarded to our inbox through an email delivery service, which handles it only to deliver it. We keep messages for up to 12 months, then delete them, unless an ongoing conversation needs them. Your IP address is used briefly to limit repeated submissions and is not stored.\nEmail. If you email us directly, your message is handled by our email provider like any other email.\nYour choices. To ask what we hold about you, or to have it deleted, email contact@kb3wfq.com.\n","externalUrl":null,"permalink":"/privacy/","section":"Pages","summary":"","title":"Privacy","type":"page"},{"content":"","externalUrl":null,"permalink":"/series/","section":"Series","summary":"","title":"Series","type":"series"},{"content":"The little satellites scattered behind every page on this site are amateur radio satellites (OSCARs), drawn for us by Francis Fletcher. Here they are, with a few facts about each one. All the facts come from AMSAT, the Radio Amateur Satellite Corporation, and its sister AMSAT organisations (JAMSAT, AMSAT-UK); each card links to its sources. Where we aren\u0026rsquo;t sure which satellite a drawing shows, the card says so.\nOSCAR 0 The Moon\nCountry / team Earth\u0026#39;s natural satellite Launch Well before AMSAT\u0026#39;s time End / status Not planned Orbit Roomy: perigee about 363,300 km, apogee about 405,500 km (mean 384,400 km), 5.1° to the ecliptic, one lap every 27.3 days The original passive reflector: hams bounce signals off the Moon for Earth–Moon–Earth (EME, moonbounce) contacts. No transponder, no telemetry, excellent uptime.\nSource: NASA Moon fact sheet (orbit) OSCAR 1 AO-1 · the satellite in the R3 logo\nCountry / team United States: Project OSCAR, launched with the ARRL and the US Air Force Launch 12 December 1961, with Discoverer XXXVI from Vandenberg End / status Re-entered after 22 days Orbit Low Earth orbit, about 240 × 440 km (150 × 275 miles), one lap every ~92 minutes Amateur radio\u0026#39;s first satellite: about 10 lb with a beacon. More than 570 hams in 28 countries sent in reception reports. AMSAT says it was also the very first satellite of any kind to be ejected as a secondary payload and enter its own orbit, pushed off by a $1.15 spring from Sears.\nSources: AMSAT history · AMSAT launch list · OSCAR newsletter, Dec 1961 (AMSAT reprint) OSCAR II Country / team United States: Project OSCAR Launch 2 June 1962 Orbit AMSAT\u0026#39;s records give no figures A follow-up to OSCAR I with better temperature sensing, a cooler surface coating and a lower-power beacon.\nSource: AMSAT history OSCAR III Country / team United States: Project OSCAR Launch 9 March 1965 End / status Transponder worked for 18 days Orbit AMSAT\u0026#39;s records give no figures The first amateur radio satellite to carry a transponder: 146 MHz up, 144 MHz down, 1 W. About 1,000 hams in 22 countries used it.\nSource: AMSAT history AO-7 AMSAT-OSCAR 7\nCountry / team International: German, Canadian, US and Australian hams, led by AMSAT-NA Launch 15 November 1974, Delta 2310 from Vandenberg, with NOAA-4 and INTASAT End / status Battery failed in mid-1981; came back in 2002 and still works in sunlight Orbit 1444 × 1459 km, 101.7° inclination An octahedral spacecraft, 360 × 424 mm and 28.6 kg, with Mode A and Mode B linear transponders and a store-and-forward unit (Codestore) for Morse and teletype messages. Built for a three-year life, it has far outlived it.\nSources: AMSAT: AO-7 · Live linear satellites AO-13 Phase 3-C\nCountry / team International AMSAT project; final integration in Germany Launch 15 June 1988, Ariane 4 flight V-22 End / status Telemetry stopped 24 November 1996; re-entered 5 December 1996 Orbit Highly elliptical: perigee about 2,500 km, apogee about 40,000 km, 58° An 85 kg spinning tri-lobed spacecraft with transponders on 2 m, 70 cm, 23 cm and 13 cm.\nWhich satellite is this drawing? The drawing matches AMSAT\u0026#39;s \u0026#34;tri-lobed\u0026#34; Phase 3 description; AO-10 (Phase 3-B, launched 16 June 1983 from Kourou) shared the design.\nSources: AMSAT (G3RUH) 122 · AMSAT (G3RUH) 114 · AMSAT (G3RUH) 118 · Getting Started (AO-10) · AMSAT history UO-11 UoSAT-2\nCountry / team United Kingdom: University of Surrey, England (UO = UoSAT-OSCAR) Launch 1 March 1984, Thor-Delta from Vandenberg End / status Only the 145.825 MHz beacon still works; no battery since 2008 Orbit About 655 × 675 km, 97.8°, ~98 minutes (1993); slowly sinking, about 615 × 625 km by 2020 Built and launched within six months. AMSAT\u0026#39;s UO-11 page calls it \u0026#34;the first satellite to carry a store and forward messaging system\u0026#34;, with no amateur-only qualifier, though AMSAT\u0026#39;s AO-7 page describes a store-and-forward unit on AO-7 ten years earlier. Today its beacon runs for about 10.35 days, then rests for about 10.35 days.\nWhich satellite is this drawing? Our best match for this drawing.\nSources: AMSAT: UO-11 · AMSAT keps 1993 (orbit) · AMSAT keps 2020 AO-40 Phase 3-D\nCountry / team International AMSAT project, led by AMSAT-DL (Germany) Launch 16 November 2000, Ariane 5 from Kourou, French Guiana End / status Main battery failed suddenly on 25 January 2004 Orbit Planned: highly elliptical, Molniya-type. Flown: about 1,200 × 58,700 km, 7.5°, one lap every ~19 hours (2002) AMSAT planned it as the largest, most complex and most expensive amateur radio satellite ever built, covering bands from 21 MHz to 24 GHz. Its 70 cm transmitter was never heard after separation. On 13 December 2000 telemetry stopped while its 400 N kick motor was running: AMSAT experimenters believe the bi-propellant motor malfunctioned and caused a near-fatal explosion. On 25 December a reset command from New Zealand brought its S-band beacon back, and after several frantic weeks the satellite was recovered and went on to give years of useful service.\nSources: AMSAT: What is Phase 3-D? · AMSAT history · JAMSAT: AO-40 updates, Dec 2000 · ANS-321 (battery) · AMSAT keps 2002 (orbit) FO-99 Fuji-OSCAR 99 · NEXUS\nCountry / team Japan: Nihon University with JAMSAT Launch 18 January 2019, Epsilon from JAXA\u0026#39;s Uchinoura Space Center, Japan End / status Re-entered 9 November 2023, after nearly five years in orbit Orbit About 475 × 510 km, 97.2°, ~94.5 minutes (2020) NEXUS (\u0026#34;NExt generation X Unique Satellite\u0026#34;) was a 1U CubeSat of about 1.2 kg, built by Nihon University College of Science and Technology with JAMSAT. It carried a V/u linear transponder (145.900–145.930 MHz up, 435.880–435.910 MHz down, SSB/CW), a 437.075 MHz CW telemetry beacon, FSK and π/4-QPSK data downlinks, a camera and SSTV.\nWhich satellite is this drawing? Most likely NEXUS: the drawing is a 1U cube, as NEXUS was, but it could also be another 1U CubeSat.\nSources: AMSAT: NEXUS designated FO-99 · JAMSAT · AMSAT-UK: FO-99 · AMSAT-UK: NEXUS poster · ANS-316 (re-entry) · AMSAT keps 2020 (orbit) GOLF-TEE Greater Orbit, Larger Footprint\nCountry / team United States: AMSAT (AMSAT-NA) Launch Not launched yet: in subsystem development and flat-sat testing Orbit Planned: about 600 km, 63–98° inclination A 3U CubeSat test bed for AMSAT\u0026#39;s GOLF program: deployable solar panels, attitude control and a 10 GHz software-defined radio.\nSources: AMSAT: GOLF program · NASA CubeSat Launch Initiative · AMSAT project status Fox-1 AO-85 · AO-91 · AO-92 · AO-95\nCountry / team United States: AMSAT (AMSAT-NA) Launch AO-85: 8 Oct 2015 (Atlas V) · AO-91: 18 Nov 2017 (Delta II) · AO-92: 12 Jan 2018 (PSLV) · AO-95: 3 Dec 2018 (Falcon 9) End / status AO-85 ended Feb 2020 · AO-91 works in sunlight only · AO-92 re-entered about 3 Feb 2024 · AO-95 never commissioned Orbit AO-85: 518 × 810 km, about 65° AMSAT\u0026#39;s 1U CubeSats (10 cm, about 1.33 kg), each carrying a U/V FM repeater that a handheld radio can work.\nSource: AMSAT: Meet the Fox project More from AMSAT AMSAT home Live satellite status Getting started with amateur satellites FM satellites you can work now Linear satellites you can work now Pass predictions Keplerian elements Amateur satellite index AMSAT history Satellites carrying amateur radio Join AMSAT ","externalUrl":null,"permalink":"/satellites/","section":"Pages","summary":"","title":"The Satellites in Our Background","type":"page"}]