Skip to content

Instantly share code, notes, and snippets.

@threeme3
threeme3 / gist:b529a801d53629a9be00a1b93b20ef69
Last active March 11, 2021 21:18
cat streaming bash cmds
sudo apt-get install socat
stty -F /dev/ttyUSB0 raw -echo -echoe -echoctl -echoke 115200; echo ";UA1;" > /dev/ttyUSB0
socat -d -d pty,link=/tmp/ttyS0,echo=0,ignoreeof,b115200,raw,perm=0777 pty,link=/tmp/ttyS1,echo=0,ignoreeof,b115200,raw,perm=0777 &
cat /dev/ttyUSB0 | while IFS= read -n1 c; do
case $state in
0) if [ "$c" = ";" ]; then state=1; fi; printf "%s" "$c">>/tmp/ttyS1;
@threeme3
threeme3 / usdx.ino
Last active May 16, 2021 20:56
experimental
// QCX-SSB.ino - https://github.com/threeme3/QCX-SSB
//
// Copyright 2019, 2020, 2021 Guido PE1NNZ <pe1nnz@amsat.org>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTR
  1. AUDIO1, AUDIO2, DVM (IC2/pin 23, 24, 25) each needs biased with half the AREF voltage (voltage divider 2x 10k resistors).

    The inputs are disconnected from existing circuit and fed through a 0.1uF capacitor from respectively IC5/pin 7, IC5/pin 1 (OpAMP I/Q inputs) and IC5/pin 18 (DAH).

    IC2/pin 25 (DVM) might still be connected to D6 to support CAT interface.

  2. DAH line is pulled-up with 10k to AVCC, and terminated with 10nF capacitor to GND; so that the microphone is biased.

    R7, R10 increased to 82k; C4, C7 is decreased to 1nF.

@threeme3
threeme3 / hw.md
Last active February 25, 2024 11:19

List of uSDX compatible hardware

Name Author Status Image Links Comments
QCX-SSB Rev <5 Guido PE1NNZ Operational /unavailable top build
QCX-SSB Rev 5 Manuel DL2MAN Operational /unavailable https://groups.io/g/QRPLabs/message/46502 https://groups.io/g/ucx/message/103 https://youtu.be/SRgaoK884tY build 55mA@RX
QCX-SSB Rev QCX+ Mike KC2TAU Status unknown build
uSDX-barb v1.02 Barb WB2CBA Operational https://antrak.org.tr/blog/projeler/usdx-an-arduino-based-sdr-all-mode-hf-transceiver-pcb-iteration-v1-02/ https://groups.io/g/ucx/message/1990 [bom](https://groups.io/g/ucx/files/WB2CBA%20uSDX%20PCB%20V1.02%2
@threeme3
threeme3 / _ucx.png
Last active April 9, 2020 16:56
UCX: micro-controller based CW/SSB xcvr
_ucx.png
// SDR RX
// Copyright 2021, Guido <pe1nnz@amsat.org>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH T