piHPSDR Setting up Controller V2 to work with Hermes Lite2 and Anan G2

119 views
Skip to first unread message

Ian Brown

unread,
Oct 14, 2025, 11:22:08 PMOct 14
to Hermes-Lite
Good afternoon group i recently built a Controller V2 board with Raspberry pi 4b computer. I was able to use a copy of the piHPSDR software on an image from my no face Anan G2 to test the board. All switches and all but one rotary encoder work. the encoder in question EN2 center shaft when rotated causes the Raspberry pi4 to shutdown (this also occurs if the shaft is rotated before starting piHPSDR). I decided to try a fresh install so i used the procedure Christoph's DL1YCF outlined and was able to install piHPSDR on the Raspberry pi 4 connecting to a Hermes lite 2. on startup i select the Controller V2 and it identifies the Hermes Lite 2 and connect but the controller does not work at all as it does with the Anan G2 image.
 
Electrically i think the controller is good as it does work with the exception of the one encoder EN2 center shaft which causes the Raspberry pi 4 to crash. i am not sure why it is not working with the clean install of the OS and piHPSDR,
 
Could someone point me in the right direction. Any help or suggestion would be greatly appreciated. in the next couple of day i plan to build a second copy of the Controller V2 board to see if i messed something up on the construction of first board which resulted in the Encoder 2 center shaft rotation to crash the Os. As stated before all other encoders and button work as they should using the G2 image.

Mike Lewis

unread,
Oct 14, 2025, 11:54:26 PMOct 14
to Ian Brown, Hermes-Lite
You can run a gpio pin state tool to monitor the encoder io pin state and its changes.  For a crash, try an oscope.  Maybe the encoder is shorting the io pin or putting 5V on the io pin via some fault path, even the encoder itself.  If it has external pullup check the value.

Mike K7MDL

Sent from my T-Mobile 4G LTE Device
Get Outlook for Android

From: herme...@googlegroups.com <herme...@googlegroups.com> on behalf of Ian Brown <kb2...@gmail.com>
Sent: Monday, October 13, 2025 4:09:13 PM
To: Hermes-Lite <herme...@googlegroups.com>
Subject: piHPSDR Setting up Controller V2 to work with Hermes Lite2 and Anan G2
 
Good afternoon group i recently built a Controller V2 board with Raspberry pi 4b computer. I was able to use a copy of the piHPSDR software on an image from my no face Anan G2 to test the board. All switches and all but one rotary encoder work. the encoder in question EN2 center shaft when rotated causes the Raspberry pi4 to shutdown (this also occurs if the shaft is rotated before starting piHPSDR). I decided to try a fresh install so i used the procedure Christoph's DL1YCF outlined and was able to install piHPSDR on the Raspberry pi 4 connecting to a Hermes lite 2. on startup i select the Controller V2 and it identifies the Hermes Lite 2 and connect but the controller does not work at all as it does with the Anan G2 image.
 
Electrically i think the controller is good as it does work with the exception of the one encoder EN2 center shaft which causes the Raspberry pi 4 to crash. i am not sure why it is not working with the clean install of the OS and piHPSDR,
 
Could someone point me in the right direction. Any help or suggestion would be greatly appreciated. in the next couple of day i plan to build a second copy of the Controller V2 board to see if i messed something up on the construction of first board which resulted in the Encoder 2 center shaft rotation to crash the Os. As stated before all other encoders and button work as they should using the G2 image.

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hermes-lite/a68c02b9-3cef-4dba-a614-83d297b0284dn%40googlegroups.com.

"Christoph v. Wüllen"

unread,
Oct 15, 2025, 4:22:14 AMOct 15
to Ian Brown, herme...@googlegroups.com
The Raspi can be configured such that one GPIO pin shuts down the computer
this is done with a line of form

dtoverlay=gpio-shutdown,gpio_pin=5,active_low=1,gpio_pull=up

in config.txt

Unless you are doing weird things such as shorting the main power supply,
this could be the reason.

Ian Brown

unread,
Oct 21, 2025, 4:10:54 PM (13 days ago) Oct 21
to Hermes-Lite
Hi Christoph and Mike thanks for both your quick response and insightful comments. I always try for a considerable amount of time to figure thing out before asking for help. I find that i may not come up with the solution for my particular problem but in using this approach i end up learning info which i suspect will be useful in the future. 

Getting back to the original questions it turn out there was a line in the config.txt file referencing GPIO pin 26 as a shutdown to the system. It is interesting to me how the syntax in these config file can vary some what but still accomplish the same results. When i checked the circuit diagram one of the legs of the encoder uses pin 26. This gave me hope that i may not have either made a mistake in the construction of the board or shorted something out accidentally during testing. I went back over the instruction and was able to compile an image which worked as expected recognizing the controller. 

So thanks again to you both. So far this has been fun and challenging at the same time. I have never worked with smd components before which resulted in me building a reflow oven using the Controleo3 reflow oven kit and brushing up on my soldering skills. In addition i am learning tons about the Linux Os. 

I Would like to ask another question. I have tried getting audio out of the 3.5mm A/V jack of the Raspberry pi with the correct cable which seems to work fine while playing content such as a video on YouTube but when i start piHPSDR i am not getting any sound. the current setting is suppose to be generating PCM audio from that A/V jack into a set of powered speakers.  Is there a setting which need to be modified for piHPSDR?

73's
Ian (WO2Z)

Reply all
Reply to author
Forward
0 new messages