Home › Forums › Mayfly Data Logger › XBee – R410M – Can’t connect › Reply To: XBee – R410M – Can’t connect
2020-06-16 at 6:47 PM
#14226
Ok, so for testing the XBee with what you have:
- check for any blobs of solder on the solder jumpers or any modifications made to either your Mayfly or LTE adapter – let me know if there are any
- check and re-check to make sure the pins in your bee stack are all aligned and in the right holes, ie, they’re not all shifted up or down 1 spot
- connect a (charged) lipo battery to one of the lipo jacks on the Mayfly
- use the short jumper cable to connect from the second lipo jack on the Mayfly to the lipo jack on the LTE adapter board.
- plug the Mayfly into your computer with the micro USB on your Mayfly (can be any type of USB on the PC)
- turn on the Mayfly with its switch
Now, program your Mayfly with a very simple program like this and let it run.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#include <Arduino.h> setup(){ // Set the reset pin HIGH to ensure the Bee does not continually reset pinMode(20, OUTPUT); digitalWrite(20, HIGH); // Set the sleep_rq pin LOW to wake the Bee pinMode(23, OUTPUT); digitalWrite(23, LOW); // pinMode(19, INPUT); } // Do nothing forever loop(){} |
Make sure the LED labeled “ON” on the LTE adapter turns on.
There won’t be any output at all from the program to your PC – all you’re looking for is the ON light on the LTE adapter board in between the Mayfly and the XBee. The ASSOC and RSSI lights may or may not turn on. But if the ON light doesn’t come on, there’s something definitely wrong with either your connections or the XBee itself.