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 19:18] 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 | + | * NI: SENDER |
- | **IMPORTANT:** there is already an empty space in NI, so be sure to delete that before naming module | + | * API: API enabled [1] |
+ | * **IMPORTANT:** there is already an empty space in NI, so be sure to delete that before naming module | ||
* 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 | ||
Line 16: | Line 17: | ||
* ID: 7FF | * ID: 7FF | ||
* NI: Relay_1 | * NI: Relay_1 | ||
- | * API: Transparent Mode [0] ( or you cand 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 | ||
Line 26: | Line 27: | ||
**=== Testing the XBees Communications ===** | **=== Testing the XBees Communications ===** | ||
- | * Using the laptop containing the coordinator | + | * Using the laptop containing the coordinator (API 1 XBee or SENDER): |
- | * Using the laptop contained the router: | + | * Wirelessly connect to Relay_1 and Relay_2 |
- | * Open up XCTU program and discover the router XBee | + | * 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: | ||