packet:ninotnc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| packet:ninotnc [2026/02/08 14:31] – [Experimental new modes] m0lte | packet:ninotnc [2026/02/08 14:36] (current) – [Firmware] m0lte | ||
|---|---|---|---|
| Line 324: | Line 324: | ||
| * Note - for a startup script you should always use the temporary value rather than writing to memory each time | * Note - for a startup script you should always use the temporary value rather than writing to memory each time | ||
| - | === GPIO === | ||
| - | With Raspberry Pi GPIO, put /usr/bin in the crontab path, and add the following to / | ||
| - | < | ||
| - | # 1000 - BPSK300 | ||
| - | 0 * * * * | ||
| - | |||
| - | # 1001 - QPSK600 | ||
| - | 30 * * * * | ||
| - | </ | ||
| - | |||
| - | dl = drive low, dh = drive high. | ||
| - | |||
| - | Wire the numbered GPIO pins to the bottom of the MODE DIP switch, turn all the switches off, and it'll mode-switch automatically. I've gone for BPSK300 for the first half of each hour, and QPSK600 for the second half. | ||
| - | |||
| - | I picked GPIOs 5, 6, 13 and 19 (consecutive physical pins) to map to the DIP switch pins from left to right as you look at the PCB. | ||
| - | |||
| - | === MCP2221A === | ||
| - | |||
| - | The MCP2221A USB chip has four GPIOs which can be used to control the mode, instead of the DIP switches. This can be useful particularly on a remote site, and removes the need for a second cable (and works with a machine without its own GPIO interface). | ||
| - | |||
| - | This is experimental and is likely to change. See https:// | ||
| - | |||
| - | General steps: | ||
| - | |||
| - | '' | ||
| - | |||
| - | Install python3. | ||
| - | |||
| - | then, once (persistent): | ||
| - | |||
| - | '' | ||
| - | |||
| - | this will configure the GPIO pins as outputs, and make them all low at power on. | ||
| - | |||
| - | then, when required (non-persistent): | ||
| - | |||
| - | '' | ||
| - | |||
| - | where 1111 is the state of the four switches, left to right. | ||
| - | |||
| - | Wiring as follows. **NOTE - you MUST either remove the DIP switch or leave all four switches set permanently off with the jumpers in place.** | ||
| - | |||
| - | Note: bit of an edge case, but it is required to run '' | ||
| - | |||
| - | {{: | ||
| ===== Pinout ===== | ===== Pinout ===== | ||
| - | Note: this is the BACK / SOLDER side of the PLUG. | + | Note: this is the BACK / SOLDER side of the PLUG. You are looking at the solder cups, NOT the pins. |
| {{: | {{: | ||
| Line 406: | Line 361: | ||
| </ | </ | ||
| - | Use v3 firmware | + | Use v3 firmware |
| If you get dire warnings about bricked TNCs, know is this highly unlikely. Unplug TNC, reboot system, plug TNC, try again. | If you get dire warnings about bricked TNCs, know is this highly unlikely. Unplug TNC, reboot system, plug TNC, try again. | ||
packet/ninotnc.1770561085.txt.gz · Last modified: by m0lte
