VA2SAJ board

141 views
Skip to first unread message

Geert Stams

unread,
Apr 23, 2025, 8:59:11 AM4/23/25
to Radioberry
Hi group,
I am trying to connect the VA2SAJ board to my Raspberry PI. I want to use it as a band decoder for the Russian BPF board. The radioberry works, the PTT works as well. I am stuck getting the BCD information out of the VA2SAJ board.

The radioberry is connected to the PC via the ethernet, I have noise etc. in the  different SDR softwares.

The docs on the internet tells me that I2C addresses 20 21 and 22 are supported. I assumed that the software would sort out the I2C address. I did not change filters.h (prefer not to) Correct?

In the VA2SAJ software I made a #define addressing the  I2C port on 0x22

I use a I2C scanner but no I2c was found

I checked the Raspberry pi config and I2C is switched on

the command sudo raspi-config nonint get_i2c giving a "0"  seems ok

ls /dev/i2*  gives /dev/i2c-1      /dev/i2c-20    and /dev/i2c-21

sudo i2cdetect -y 1  gives no i2c devices found

This all sounds all very professional but I am not a pro!

Any help would be appreciated!

73 Geert PA3CSG

pa3gsb

unread,
Apr 25, 2025, 9:58:50 AM4/25/25
to Radioberry

Geert,


sudo i2cdetect -y 1  must give results.  

Please unplug the RB and attach the rpi i2c clock and sda and gnd directly to the extension board 

use the i2cdetect command. this should detect the i2c chip.

if you are succesfull with detecting you can connect the device to the RB and do the same; 

i dont know which board you are using but when this is not succesfull check the wiring between RB connector and RB-RPI connector.

Do you have pull up in the clock and data line?


73 Johan
PA3GSB

Op woensdag 23 april 2025 om 14:59:11 UTC+2 schreef geer...@gmail.com:

Geert Stams

unread,
Apr 25, 2025, 10:56:36 AM4/25/25
to radio...@googlegroups.com

Hi Johan,

Thank you for your reply. I played yesterday all day and made good progress.

In the VA3SAJ arduino sketch is a line missing activating 0x22, simple paste and copy solved that.

I learned a lot from this site:

https://pi3g.com/enabling-and-checking-i2c-on-the-raspberry-pi-using-the-command-line-for-your-own-scripts/

The made it possible to check the i2c step by step. I find myself in the situation that 4 bands do not produce the expected BCD output but something else.

Ehhhh pullups..... No, didnot think of that. I assume 1k or so to the +3v3. 

Will do the pull ups and try to find out how the frequency is set by the Raspberry together with my brother in radio crimes ON6NL.

I will report here!

Thank you and a have nice weekend.

73 Geert.


Op 25-04-2025 om 15:58 schreef pa3gsb:
--
You received this message because you are subscribed to the Google Groups "Radioberry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to radioberry+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/radioberry/53a56afe-5894-4383-bbcb-813612a31b8fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages