Background
The type of the RF Module determines some behavioral characteristics of the device:
The TYPE is a software configuration and can be be changed using the TYPE command. When you change the type it will take on the characteristics described in the above two points. Tutorial In this tutorial you will change a sensor node (TYPE1) to a base station (TYPE2), and then change it back to a sensor node. What you will need:
Step 1: Send the command to the sensor to change the its TYPE to TYPE2. Step 2: Restart the sensor Either power off and back on, or send it a REBOOT command python rf_config.py 45 REBOOT sending : a45REBOOT response is : a45REBOOT--- The sensor node is now configured as a base station and can be connected to a micro-controller. We have another tutorial that shows you how to physically connect RF modules to a Raspberry Pi. You can set the RF module back to being a TYPE sensor by sending typing the following command: python rf_config.py 45 TYPE1 sending : a45TYPE1 response is : a45TYPE1---- python rf_config.py 45 REBOOT sending : a45REBOOT response is : a45REBOOT--- |
Home > Home Alarm System project > Wireless Projects > Wireless Sensor - FLEX RF Module > Flex Tutorials >