weatherbox:bumblebee:how_to_range_test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
weatherbox:bumblebee:how_to_range_test [2020/04/14 02:32]
ryoung
weatherbox:bumblebee:how_to_range_test [2021/09/19 21:59] (current)
Line 1: Line 1:
-==Using the XCTU Program:==+**=== Using the XCTU Program: ===**
   - Make sure everything is connected: wires, code is correct   - Make sure everything is connected: wires, code is correct
-  - Make sure all Xbees recognize one another+  - Make sure all Xbees recognize one another ​(close the plug(+)
   - Make sure coordinator receives packets so you know that relay and sending Xbee works   - Make sure coordinator receives packets so you know that relay and sending Xbee works
   - XCTU Program   - XCTU Program
Line 8: Line 8:
      *Can choose how many packets to send (usually 15)      *Can choose how many packets to send (usually 15)
      ​*Start Range Test after      ​*Start Range Test after
 +
 +https://​www.digi.com/​resources/​documentation/​digidocs/​pdfs/​90001526.pdf
 +
 +**Notes:**
 +
 +Upload Sending Code to Router/​Sending XBee (Change to Relay Address)
 +  - Put Xbee on Xbee shield and arduino
 +  - Set shield to "​Dline"​
 +  - When done uploading code, set back to "​UART"​
 +
 +Upload Relay Code to ATmega 328P (Change to Coordinator Address)
 +  - Use FTDI, connect wires to corresponding pinouts on ATMega barebumblebee
 +          * RTS - Reset
 +          * RX - TX
 +          * TX - RX 
 +          * VCC - Power rail
 +          * CTS unplugged
 +          * GND to Ground
 +  - Power supply should only be FTDI (unplug battery)
 +  - Arduino Setting (tools)
 +          * Board: Arduino/​Genuino Uno
 +          * Port: (Select)
 +          * Programmer: "​Arduino as ISP" {for bootloading} or "​AVRISP mkll" {for uploading code
 +Note: Make sure FTDI's DTR is connected to the capacitor not Pin 1 of ATmega328p.
 +LED on XBee should be on; not blinking?
 +
 +**=== Range Testing w/ PCBs ===**
 +  * Connect solar charging chip and relay xbee onto the PCB board (we used v4.0)
 +  * Connect battery into the solar charging chip (Batt)
 +  * Plug coordinator into computer
 +  * Open XCTU program and click discover devices ​
 +  * Select all ports and then click '​next'​
 +  * Dont change anything from "set port parameters"​ window; click '​Finish'​
 +  * Make sure coordinator is found; Mac Address: 0013A20041287FF9
 +{{ :​weatherbox:​bumblebee:​screen_shot_2021-03-07_at_11.27.21_am.png?​400 |}}
 +  * Click on select all device and then add select device
 +  * Looking at the "Radio Module"​ side, looking at coordinator,​ click on discover remote devices
 +  * Make sure Relay Xbee is identified; select all and then click select devices
 +{{ :​weatherbox:​bumblebee:​screen_shot_2021-03-07_at_11.34.21_am.png?​400 |}}
 +  * Click on tools icon and select 'range testing'​
 +  * Click '​select local device":​ should say something like zigbee
 +  * Make sure remote selection says ...FFB (Relay xbee)
 +  * Change number of packets to 15
 +  * Start Range Testing!
 +{{ :​weatherbox:​bumblebee:​screen_shot_2021-03-07_at_11.36.11_am.png?​400 |}}
 +
 +
  • weatherbox/bumblebee/how_to_range_test.1586831568.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)