VFO SX1509 test

The VFO SX1509 test program can be used when you want to test if you have connected the keypad, rotary encoders and push buttons in the right way, e.g. when you turn the rotary encoder you intend to use for the frequency then the test program will not only tell you that you are turning the right rotary encoder but also in the right direction etc.

You may connect a couple wires between each test, so you don’t have to troubleshoot 20 wires all at once. But don’t solder or connect wires, if you have power applied. Always switch off the electronics first.

Example of output when pressing keys on the keypad, push buttons and rotary encoders.

Below is the connection overview.

EntityPinConnected to entityConnected to pin
SX1509GNDRFzeroGND
3V3RFzero3V3
SDARFzeroD8 (SDA)
SCLRFzeroD9 (SCL)
INTRFzeroD17
IO0Keypad
Push buttons
5
Push button Y0
IO1Keypad
Push buttons
6
Push button Y1
IO2Keypad
Push buttons
7
Push button Y2
IO3Keypad
Push buttons
8
Push button Y3
IO4LED VFO ALED VFO A anode
IO5LED VFO BLED VFO B anode
IO6LED RITLED RIT anode
IO7LED XITLED XIT anode
IO8Keypad
Push buttons
1
Push button X0
IO9Keypad
Push buttons
2
Push button X1
IO10Keypad
Push buttons
3
Push button X2
IO11Keypad
Push buttons
4
Push button X3
IO12Push buttonsPush button X4
IO13Push buttonsPush button X5
IO14Push buttonsPush button X6
IO15Push buttonsPush button X7
Keypad (see also note below)1SX1509IO8
2SX1509IO9
3SX1509IO10
4SX1509IO11
5SX1509IO0
6SX1509IO1
7SX1509IO2
8SX1509IO3
RIT/XIT rotary encoderGNDRFzeroGND
ARFzeroA5
BRFzeroA4
Frequency rotary encoderGNDRFzeroGND
ARFzeroA2
BRFzeroA3

Push buttons electrical layout, including the push buttons on the rotary encoders.

SX1509
row Y\column X
IO8
X0
IO9
X1
IO10
X2
IO11
X3
IO12
X4
IO13
X5
IO14
X6
IO15
X7
IO0/Y0123AVFO step (freq. RE)RIT/XIT toggle (RIT/XIT RE)freefree
IO1/Y1456BVFO B on/off RIT on/offfreefree
IO2/Y2789CVFO A/B toggleXIT on/offfreefree
IO3/Y3*0#EnterSplit on/offClear RIT and XITfreefree