Reference
Last revision 2026/01/07
This article offers an in-depth guide on programming and testing modules, highlighting the use of PROG SWITCH, relay buttons, servo power supply, and XBee interface for versatile wireless communication capabilities.
Other Supplementary Information
PROG SWITCH:
- PROG: When programming or download the code if you plug the Xbee/bluetooth on the module
- RGN: Run the module after finishing downloading the code
S1, S2, S3, S4:
- 4 Buttons to test the module that you needn't program, S1-S4 correspond to relay 1 - relay 4
Servo Power Supply:
- Just can supply power to the digital IO pins.
4 Digital IO selection headers for the Relays:
- D2, D7, D8, D10: Default, connect to Arduino digital 2, 7, 8, 10 to drive the relays
- IO0, IO1, IO2, IO3: Connect to XBee's IO pins
- You can connect the middle pin header to Arduino digital IO with jumper cables depending on your desired pin mapping to drive relays, after you unplug the jumper. For example, when you use the board with an Arduino Ethernet board. They will conflict the digital 10, so you should remove the jumper on D10, and connect the middle pin to another digital IO. The location of middle pin header is shown in the picture below.

XBee interface:
- The XBee module supports Xbee radios, Bluetooth Bee, and the Wireless programming module. This gives the project a versatile wireless communications capability.
Was this article helpful?
