GPIO feature. ® This feature allows to write and read up to 6 GPIOs of the Proteus-III via Bluetooth connection. With help of this, simple applications, like switches or digital level detectors, can be realized with the Proteus-III without the need of connecting a host controller to it.
2 General description This chapter is based on a test setup with two Proteus-III radio modules. "Module 1" is the one, whose GPIOs are configured and controlled. It can be run without host controller. "Module 2" is the remote device which sends the commands for GPIO control via radio to "Module 1".
® This chapter describes how to setup a Bluetooth LE connection between a smart phone and a Proteus-III radio module, and how to configure and control the GPIOs of the Proteus- ® III "Module 1" via the Bluetooth LE connection.
Page 18
02 41 02 00 01 01 41 ACTION_IDLE mode. • Then open the "Proteus Connect" app and press "Scan". As soon as the Proteus-III appears in the scan list, click on it to start the connection setup. • In the app a new window pops up, which shows the connection setup steps in its log window.
• On the radio module side, the Proteus-III outputs its connection setup related mes- sages. Info Module 1 Indication CMD_CONNECT_IND : Physical connection 02 86 07 00 00 55 00 00 DA 18 established successfully to device with FS_BTMAC 0x55...
Page 20
UART commands. The documentation of the radio command format for configuration and control of the GPIOs can be found in application note "ANR009 Proteus-III Advanded Developer Guide". 4. Now select pin B1 with output LOW in the app and press "CONFIG PIN".
Page 21
LOW) to the radio module, which responds with a CMD_GPIO_REMOTE_WRITECONFIG_CNF message (02 68 02 / con- figured GPIO with GPIO_ID 1 successfully). 6. On the radio module side, the Proteus-III outputs the corresponding indication mes- sage Info Module 1 Indication CMD_GPIO_REMOTE_WRITECONFIG_IND : The GPIO with GPIO_ID 1 has been configured to...
CMD_GPIO_REMOTE_WRITE_CNF message (02 69 02 00), which states that the GPIO with GPIO_ID 1 has been set successfully. 11. On the radio module side, the Proteus-III outputs the corresponding indication mes- sage Info Module 1 Indication CMD_GPIO_REMOTE_WRITE_IND : The GPIO with...
Page 24
The documentation of the radio command format for configu- ration and control of the GPIOs can be found in application note "ANR009 Proteus-III Advanded Developer Guide". 4. Now select pin B1 with input pull down in the app and press "CONFIG PIN".
Page 25
CMD_GPIO_REMOTE_WRITECONFIG_CNF message (02 68 02 / configured GPIO with GPIO_ID 1 successfully). 6. On the radio module side, the Proteus-III outputs the corresponding indication mes- sage Info Module 1 Indication CMD_GPIO_REMOTE_WRITECONFIG_IND : The...
Page 36
more than you expect Monitoring Automated Meter Internet & Control Reading of Things Contact: Würth Elektronik eiSos GmbH & Co. KG Division Wireless Connectivity & Sensors Max-Eyth-Straße 1 74638 Waldenburg Germany Tel.: +49 651 99355-0 Fax.: +49 651 99355-69 www.we-online.com/wireless-connectivity...
Need help?
Do you have a question about the Proteus-III and is the answer not in the manual?
Questions and answers