Radioberry filter

66 views
Skip to first unread message

Jon Lee

unread,
Oct 19, 2025, 1:56:53 PMOct 19
to Radioberry
Hi All 

I am looking at a part completed project with a radioberry pi4 and a amplifier with a filter board.

The amplifier and filter board have an arduino nano v3 which is connected via a level converter to the RadioBerry I2C pins 17 18  and was giving PTT to the amplifier and switching the antenna changeover relay, however it was not programmed to switch the filters as they were not yet populated. 

I believed the  filter board to be similar to the VA2SAJ although the pins have been re-assigned ......so I have re programmed the arduino nano with a copy of the code for the VA2SAJ code and assigned the appriopiate pins the control the relays on this filter board, and D 11 of the nano to drive the antenna change over relay, which is correct for this board i have.

I have not been able to contact the original person who made this board as yet.
the Nano has a pin I can toggle the PTT and this works so the I2C should be able to do the same and toggle the changeover relay from the software.

Now I have 2 conflicting addresses on the i2C bus for the nano either 0x20 or 0x22 the VA2SAJ board code suggests the generic board 0x20, however Radioberry suggests 0x22  neither appears to work for me ?  

Question where in the pi4 config is this choice made .....the pi4 runs on network and I connect from windows Thetis software, bear in mind PTT was working until I reprogrammed the arduino Nano 

I seem to read I may need to make change in filter.h  ....I have not touched pi4 config so far as it was part working and receives well ......if I alter filter.h I must recompile or is this change possible at run time.

I have turned debug on in the Nano code and get some serial status output on rp4 boot up but i dont believe anything is getting to NANO maybe its not sent ...or is being sent to different address how do I check this please ?

Any help pointers would be great ?  and save me much time im sure 

73,

Jon G4TSN

 


 
 






  







    



Joey G. (Bonehead)

unread,
Oct 19, 2025, 5:37:10 PMOct 19
to Radioberry
Not sure if this is what you are looking for but I took this sketch and removed what I didn't need and use it to control a filter board and extptt to control RX/TX board.  It can do much more but I only use what I need.  Works well so far.  The ino files are under software.


Hope it helps at least a little.

73, 
Joe K5BHD

pa3gsb

unread,
Oct 20, 2025, 8:22:56 AMOct 20
to Radioberry
Jon

I have read your mail but not sure what you are asking.

Do you have a block diagram how your config looks like.

For scanning the i2c bus use the following command : sudo i2cdetect -y 1  

this will return you the connected i2c devices.

Hope this helps.

73 Johan
PA3GSB

Op zondag 19 oktober 2025 om 19:56:53 UTC+2 schreef gg4...@gmail.com:
Reply all
Reply to author
Forward
0 new messages