From 72a3dd601471b249c16388f73e16d77b9be6dba5 Mon Sep 17 00:00:00 2001 From: spaceneedle Date: Mon, 6 Jul 2015 17:16:50 -0700 Subject: [PATCH] Created HamShield Serial Mode (markdown) --- HamShield-Serial-Mode.md | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 HamShield-Serial-Mode.md diff --git a/HamShield-Serial-Mode.md b/HamShield-Serial-Mode.md new file mode 100644 index 0000000..76fcdbb --- /dev/null +++ b/HamShield-Serial-Mode.md @@ -0,0 +1,48 @@ +We have written a very powerful sketch for Arduino called HamShield Serial Mode. This allows you to control your HamShield using any serial interface, including a computer over USB. This can be helpful when using one of the Chrome applications. + +With the exception of some special commands, all serial commands are terminated with a semicolon ; and does not require any carriage return, line feed, etc. (ie: no new lines or enter keys required). The command is executed immediately after the reception of the ; character and waits for the next command. + +Commands are not echoed to the sender. Only status responses are provided back over the serial port. + +HamShield Serial Interface Commands + +` + + + + + + + +
ModeASCIIDescription
Transmit[Spacebar]Space must be received at least every 500 milliseconds
+` + +Mode ASCII Description Implemented +-------------- ----------- -------------------------------------------------------------------------------------------------------------------------------------------- ----------------- +Transmit space Space must be received at least every 500 mS Yes +Receive not space If space is not received and/or 500 mS timeout of space occurs, unit will go into receive mode Yes +CTCSS In A; must be a numerical ascii value with decimal point indicating CTCSS receive tone required to unsquelch No +CTCSS Out B; must be a numerical ascii value with decimal point indicating CTCSS transmit tone No +CTCSS Enable C; Turns on CTCSS mode (analog tone) with 1, off with 0. No +CDCSS Enable D; Turns on CDCSS mode (digital tone) with 1, off with 0. No +Bandwidth E; for 12.5KHz mode is 0, for 25KHz, mode is 1 No +Frequency F; Set the receive frequency in KHz, if offset is disabled, this is the transmit frequency No +CDCSS In G; must be a valid CDCSS code No +CDCSS Out H; must be a valid CDCSS code No +Print tones I Prints out all configured tones and codes, coma delimited in format: CTCSS In, CTCSS Out, CDCSS In, CDCSS Out No +Power level P; Set the power amp level, 0 = lowest, 15 = highest No +Enable Offset R; 1 turns on repeater offset mode, 0 turns off repeater offset mode No +Squelch S; Set the squelch level No +TX Offset T; The absolute frequency of the repeater offset to transmit on in KHz No +Volume V; Set the volume level of the receiver No +Reset X Reset all settings to default No +Sleep Z Sleep radio No +Filters @; Set bit to enable, clear bit to disable: 0 = pre/de-emphasis, 1 = high pass filter, 2 = low pass filter (default: ascii 7, all enabled) No +Vox mode $; 0 = vox off, >= 1 audio sensitivity. lower value more sensitive No +Mic Channel *; Set the voice channel. 0 = signal from mic or arduino, 1 = internal tone generator No +RSSI ? Respond with the current receive level in - dBm (no sign provided on numerical response) No +Tone Gen % (notes) To send a tone, use the following format: Single tone: %1,,; Dual tone: %2,,,; DTMF: %3,,; No +Voice Level ^ Respond with the current voice level (VSSI) + + +` \ No newline at end of file