Skip to content

Help with GPIO Raspberry #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cybersyx opened this issue Apr 23, 2016 · 4 comments
Closed

Help with GPIO Raspberry #28

cybersyx opened this issue Apr 23, 2016 · 4 comments

Comments

@cybersyx
Copy link

Hi, this software is awesome and work very well but i've a little problem with PTT: I've a yaesu radio and open and close ptt with a simple relay. If i do gpio mode 1 out and gpio write 1 1 and gpio write 1 0 the ptt works perfectly but if i set on direwolf.conf PTT GPIO 1 the ptt doen't work. Thanks a lot for the help !

@dranch
Copy link
Collaborator

dranch commented Apr 23, 2016

You need to give more information for people to help you.

Per the Direwolf Raspberry-Pi-APRS.pdf documentation (search for the term GPIO), the selection of a GPIO pin to use first depends on which Rpi version. Which model and version do you have? Next, which GPIO pin are you trying to use? Please note that the header pin number does NOT reflect actual GPIO pin number according to Linux. It's also worth mentioning that certain GPIO pins get initialized differently by Linux and depending how you wire things, if the RPI is shutdown, you might have your radio keyed up 100% of the time. Test for this condition! For me, I'm using

Rpi pin37(GPIO 26) to RS232 DB9-pin7(RTS)
Rpi pin39(GND)     to RS232 DB9-pin5(GND)

Finally, I think the use of a 3.3v relay will add unnecessary delay compared to a simple transistor circuit. Any specific reason to use a relay?

--David
KI6ZHD

@cybersyx
Copy link
Author

Thanks for the reply. Do u using the radio connected to the rpi with serial interface ?

@dranch
Copy link
Collaborator

dranch commented Apr 24, 2016

serial interface for PTT? I've used an external USB to serial device for PTT, yes. Maybe you mean the Rpi's internal serial port? If so, no, I haven't tried to use that port for PTT.

--David
KI6ZHD

@wb2osz
Copy link
Owner

wb2osz commented Jun 18, 2017

Closing because the problem description lacked enough detail to understand the issue. No further discussion here for over a year.

@wb2osz wb2osz closed this as completed Jun 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants