Forum Replies Created
-
AuthorPosts
-
Aaron, N3MBHForum Administrator
Sorry for the late reply, last week was nuts. Yes, I have been able to successfully use this image on my RPI2. I am doing my development on the Beaglebone Black so I will have to try and fire up my Pi again when I get a chance. I do remember that I did have to add the pull up resister on COS gpio to make it work right.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorI still think you should try bypassing your circuit just to rule out any issues. Remind me what board you are using? Raspberry Pi 2? Beaglebone?
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorWell if you can sys the gpios pins in /sys/class/gpio, then they are writing to the proper “startup file” What you are seeing in php file is the code that pulls setting from the database and write it out to a config file that svxlink reads to operate.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorGreeting and welcome to the forums. Thanks for the spot. One of our developers restructured the folders on our repo server and the links never got updated on the main site. They are up to date now, so you should be good to go. Thanks.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorI didn’t clarify, but it needs a pull up resister to keep the pin from floating and vacillating back and forth between high and low states.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorDoes your circuit pull the pin up to 3.3 volts when inactive? This should be done with a pull up resister. Then it should ground the pin when active. A simple way to test this is disconnect your circuit and use a jumper to jump your GPIO pin to 3.3v pin. This should simulate a closed squelch. Then move it from 3.3v to ground and that should simulate an open squelch. You can cat the value for your COS gpio within the /sys/class/gpio folder and see if the core system is registering your input. Let me know. Thanks.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorThe locations you give for the svxlink.conf and rc.local I don’t think are correct. Our install uses some custom locations that Richard has set. I am not at home right now to check those. They are setup by a PHP script in the web gui. You can find that at /var/www/openrepeater/functions/svxlink_update.php. If you cat that file, at the very bottom there are paths to the files it writes to. As you can see there are some things that are hard coded which you could change in that file.
Let me know what the log page says. Does it show that SVXLink is starting correctly or are there errors?
Also you can try to manually stop and restart svxlink from the command line with the following commands. So you would check /sys/class/gpio and verify your desired ports are there that were set from the web interface. Then stop svxlink with “service svxlink stop” then restart with “service svxlink start”. You won’t see any response in window anything is happening. You would need to check the log page again.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorAre you using the VOX mode or COS. The vox is kind of finicky. I would recommend using COS for best results. Also, it might not be a bad idea to disable the other modules for testing.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorYou can use that last tutorial link above that I posted to manually toggle the GPIO state to high and low from the command line. This is a good way to test and troubleshoot. You will just need to ensure the pin you want to get a voltage on is setup as and out pin (“direction”) and write a value of 1 for high and a value of 0 for low.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
Aaron, N3MBHForum AdministratorThis may be obvious, but I figured I would check. Make sure you are using pin 32 which is GPIO 12 and not pin 12 which is GPIO 18 on the RPI2. Header pinouts do not match the gpio numbers which are the numbers from the CPU.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
-
AuthorPosts