Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
weatherbox:bumblebee:mesh_network [2021/04/03 04:54] lcorpuz |
weatherbox:bumblebee:mesh_network [2021/09/19 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
**=== Mesh Network Set up (Many-To-One) ===** | **=== Mesh Network Set up (Many-To-One) ===** | ||
* Configure all three remote devices | * Configure all three remote devices | ||
- | * add all three XBees (Collector, relay and router) | + | * add all three XBees (Coordinator, relay and router) |
* update the firmware of each module | * update the firmware of each module | ||
* Function Set: DigiMesh 2.4 TH PRO | * Function Set: DigiMesh 2.4 TH PRO | ||
* Firmware Version: Newest value | * Firmware Version: Newest value | ||
- | * Configuring the first device (Collector) | + | * Configuring the first device (Coordinator) |
* First click the default parameter setting | * First click the default parameter setting | ||
* Then change these parameters | * Then change these parameters | ||
* ID: 7FFF | * ID: 7FFF | ||
- | * NI: SENDER Note: this is the node identifier; can name module whatever you want | + | * NI: SENDER |
- | IMPORTANT: there is already an empty space in NI, so be sure to delete that before naming module | + | * API: API enabled [1] |
- | * AP: API enabled [1] | + | * **IMPORTANT:** there is already an empty space in NI, so be sure to delete that before naming module |
- | * Once you have adjusted the parameters, click the "write" to write the radio settings | + | |
* Configuring the second device (can be the router or relay XBee) | * Configuring the second device (can be the router or relay XBee) | ||
- | * click the default parameter to reset parameters | + | * Click the default parameter to reset parameters |
- | * Change parameters to: | + | * Change parameters to: |
- | * ID: 7FFF | + | * ID: 7FF |
* NI: Relay_1 | * NI: Relay_1 | ||
- | * API: Transparent Mode [0] (or you can do 1, we just left it at 0) | + | * API: Transparent Mode [0] ( or you can do 1, we just left it at 0) |
- | * write the radio settings | + | * Write the radio settings |
* Configure the third device exactly the same as the second device. Setting NI as Relay_2 | * Configure the third device exactly the same as the second device. Setting NI as Relay_2 | ||
- | * Disconnect both the relay and router XBees from the computer and remove it from XCTU | + | * Disconnect both the relay and router XBees and put them into their own power supply (we used two laptops) |
- | * Connect both relay and router XBees to their own power supply (we used two laptops) | + | * Each module should be plugged into their own power supply by now |
- | * Radio Module should only contain the coordinator | + | * Radio modules should only contain the coordinator now |
- | * Selecting the coordinator, click the "discover the radio nodes in the same network" | + | * Using the laptop that has the coordinator, select the coordinator, and click the "discover the radio nodes in the same network |
- | * add all selected device (relay and router XBees) in discovering remote devices | + | * add all selected devices (relay and router Xbees) in the discovering remote devices |
- | * See if XBees are able to communicate with each other | + | |
- | * using laptop | + | |
- | * using the laptop with the router: | + | |
- | * open up the XCTU program and discover the Router XBee | + | |
+ | **=== Testing the XBees Communications ===** | ||
+ | * Using the laptop containing the coordinator (API 1 XBee or SENDER): | ||
+ | * Wirelessly connect to Relay_1 and Relay_2 | ||
+ | * Place laptop at one end of hallway | ||
+ | * Using the laptop contained the router (Relay_1): | ||
+ | * Open up XCTU program | ||
+ | * Place laptop in between SENDER and Relay_2: | ||
+ | * Using the laptop contained the second router (Relay_2): | ||
+ | * Start up XCTU | ||
+ | * Place laptop past Relay_1 | ||
+ | * After finishing the placement of the three XBees communicate from Relay_2 by creating packets | ||
+ | * Relay_1 should receive the packets as ASCII values | ||
+ | * SENDER should receive the packet as ASCII values and also the address of Relay_2 | ||
+ | * After verifying that all 3 Xbees are communicating start a range test with SENDER computer | ||
+ | * In range test, select sender address and Relay_2 address | ||
+ | * Increase distance as far as possible | ||
+ | **=== Testing with PCB ===** | ||
+ | * Place Relay_1 XBee on PCB | ||
+ | * Connect PCB to battery | ||
+ | * Same configuration of XBees similar to above where starting from beginning it will be: Sender->Relay_1->Relay_2 | ||
+ | * Start by sending packets from Relay_2 and see if Sender is receiving packets | ||
+ | * Start range test with Sender computer | ||
+ | * Complete range test | ||
+ | |||
+ | | ||
References: | References: | ||