Forum Replies Created
-
AuthorPosts
-
Gene, N7AROUser
Thanks,
I will give it a try and report back.
Gene, N7AROUserHas anyone actually successfully used the Pi2B GPIO for an automatic PTT using the current Beta?
Is it possible that another device is configured for the PTT (/dev/ttyx) that has priority in svxlink?
Gene, N7AROUserCompleted a fresh install. Raspberry Pi 2 Model B. The only modifications were adding call sign to Repeater tab and setting RX GPIO pin to 22, TX pin to 27 and setting both RX and TX to alsa:plughw:0.
Short and long IDs are present in head phones.
I have my (-) lead on multi-meter connected to pin 14 (Ground) and the (+) lead to 13 (GPIO 27). I do not get 3.3v when audio is present.
No repeater log errors.
dmesg had the following errors:
EXT-4fs (mmcblk0p2): couldn’t mount as ext3 due to feature incompatibilities – 2 of these errors, but then it reports mounting the file systempcm512x 1-004d: Failed to reset device: -5
pcm512x 1-004c: Failed to reset device: -5 (I think these are codecs, not worried about the error).I have the following registered under /sys/class/gpio
xport gpio22 gpio27 gpiochip0 unexportI can manually turn on/off gpio27 (verified by 3.3v on mutimeter) by using echo 1/0 on the value of gpio27.
When I cat the svxlink_update.php file, I see the following:
* WRITE GPIO PINS TO STARTUP FILE */
gpioRxString = implode(” “, $gpioRxArray);
gpioTxString = implode(” “, $gpioTxArray);gpioConfigFile .= ‘
GPIO_PTT_PIN=”‘.$gpioTxString.'”
GPIO_SQL_PIN=”‘.$gpioRxString.'”Could it be GPIO pins 22 & 27 are not being being passed to the proper startup file?
Gene
N7AROGene, N7AROUserAaron,
Thanks for the continued support. I did cat the .php file and followed where the directories and files were and everything looks right (TX gpio27, RX gpio22. 22 & 27 registered under /sys/class/gpio)
I can start and stop svxlink via command line. No errors in the Repeater Log.
I have done so much messing around in the OS and in svxlink that I think the best thing I can to at this point is to start from scratch.
I will report whether anything has changed or not after a fresh install.
73’s
Gene
N7AROGene, N7AROUserUsing the tutorial, I can manually cycle gpio27 between 3.3v and 0. Thanks for the link.
When I go to the “TX/RX ports” tab on the Open Repeater web UI and set the “TX GPIO pin” to 27, what actually happens?
I have modified /etc/svxlink/svxlink.conf and /etc/rc.local to configure the GPIO PTT signal with no luck. It looks like the svxlink.conf is set to use /dev/ttys0 for the PTT.
Any other pointers?
Thanks for the hard work
Gene
N7AROGene, N7AROUserThank you for that last little nugget. I did some researching on the GPIO pins and pin 27 is actually pin 13 on the GPIO header.
Now I have a different problem – when the Pi boots, I get 3.3 volts on pin 27 (13) and it stays for a few minutes, then drops to 0v. It does not seem to go high when audio is being outputted.
I do have entries for gpio22 and gpio27 under /sys/class/gpio
I will read the tutorial you posted and see if I can understand better how the GPIO pins are triggered and I will report back any successes I have.
Thanks much.
Gene, N7AROUserAaron,
Under the TX/RX ports page, I changed the TX GPIO pin from 27 to 12 and still do not get 3.3v when the ID audio sounds. I rebuilt and rebooted afterwards.
Any thoughts?
Gene
N7AROGene, N7AROUserAaron,
Thanks for the info. I will join the mailing list and find the FB page this evening. Message forums can sometimes be the worst avenue for getting info out.
73’s
Gene
N7AROGene, N7AROUserAaron,
Thanks for the info. I guess you are right about the audio level. Don’t want to burn up the input of the radio.
I am unsure if the Easy Digi I grabbed has the optocoupler in it or not. If not, I have one that does. I did see the schematic posted in the hardware section that shows where the wires connect between the Pi and the Easy Digi.
I will take another stab at it (the proper way) and report.
Before I got it working this morning, I had to set the TX and RX audio devices to 0 instead of 1.
Thank you for the prompt response.
73’s
Gene
N7ARO -
AuthorPosts