-
Notifications
You must be signed in to change notification settings - Fork 313
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
Feature request: emit PTT on multiple gpio pins #265
Comments
As a workaround, could you put the LED in series with the PTT circuit? |
Possibly, but I can't guarantee every radio will like the voltage drop over the diode (may not engage transmitter), The LEDs on this video aren't possible with the current direwolf, https://www.youtube.com/watch?v=4JNWIGvlh64 This software gpio-mirror.py solution works 100%, but burns cpu and memory... both scarce on the Pi Zero.
|
Most radios have their PTT pin pulled to ground to transmit. So why not just hook up the LED with the cathode on the PTT output? Then it both acts as a pullup and a PTT LED. |
It sounds like there might be better ways to poll GPIO pins with lower CPU load: https://www.raspberrypi.org/forums/viewtopic.php?t=167807 Other options found via using the search "raspberry pi low cpu load method to monitor a GPIO pin" |
Nope, I'm using the kernel's inotify service for a state change... not polling, so cpu isn't really bad, it's mostly the overhead of yet-another-python-interpretery-loaded-into-memory just to monitor the direwolf ptt pin and mirror its inverse on another pin to drive a led. |
Another idea might be to set up another channel with duplicate settings except for the PTT line. |
I implemented a work around for this detailed here. If you have a spare serial port on your system you could configure Direwolf to use the RTS signal on that ( |
PTT 24 26
I tried that and only 24 goes high on ptt. would be fun to hookup a red LED to 26.
The text was updated successfully, but these errors were encountered: