——————— Tech Support Tips/Troubleshooting/Common Issues ——————–
Having issues using this shield on your Arduino? Make sure that you check these things:
1.) Check that the XBee_Serial_Passthrough.ino file is upload to the Arduino Uno with Atmega328P
2.) Check that the switch is flipped ot the DLINE
3.) Check your connections (i.e. your solder joints)
5.) Check your power.
4.) Ensure that the settings are set to the correct configuration to send data with your XBee.
5.) If you are using an Arduino Mega, make sure to use the pins that are able to do software serial communication https://www.arduino.cc/en/Reference/SoftwareSerial.
6.) If you are using a Arduino Leonardo or any board with an Atmega32U4, make sure that you are using the correct function to send data. Serial.print() just pipes data to the Serial monitor while Serial1.print() sends data through the UART. This is explained on the product page for the Arduino Leonardo https://www.arduino.cc/en/Main/ArduinoBoardLeonardo and in this code => https://learn.sparkfun.com/tutorials/pro-micro–fio-v3-hookup-guide#example-1-blinkies
Can someone explain the syntax for this line that was used in the example sketch?
XBee.println(hl ? “HIGH” : “LOW”);
Why do we need to use this line instead of just writing the following? I know this line won’t work (because I tried it), but why?
Additionally, why do we declare ‘hl’ as a char data type? We set ‘hl’ by taking the returned value of the function ‘ASCIItoHL’, which is an int data type. Should we just declare ‘hl’ as an int?
The tutorial was wonderful at first. But then the examples were somewhat meaningless when it came to real world problems. How can I have 2 zigbees both mounted on their respective shields and redboards, then measure an analog input with one, which then corresponds to an analog output on the other? Or something related to this? I am having one hell of a time even reading serial outputs using the shields.
What is the DLINE position ? Thank you.
Has anyone tested this with Intel Edison Arduino Breakout Kit? I am struggling it to get it to work.
Just a comment about using this shield with an Arduino Mega:
The Mega doesn’t support change interrupts on some of its pins, including pin 2 which is the pin this shield sends the RX to (in DLINE mode). So in order to get receiving data to work on a Mega, either use UART, or join pin 2 to one of the supported pins, and use that pin for RX.
Supported pins: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
——————– Tech Support Tips/Troubleshooting/Common Issues ——————–
Yup, common problem that comes up a lot when using this shield with a different Arduino package. =) After redefining the pins, you can always bend the pins if you soldered to the shield and reroute them similar to this tutorial => http://mcukits.com/2009/04/06/arduino-ethernet-shield-mega-hack/ . =)
In order to use a software UART with pins 2 & 3, don’t you need to short the pads on SJ1 and SJ3?? I don’t that mentioned anywhere.
It should work out of the box. We put a big ol' glob of solder across those jumpers during production to set them. You can kind of see them in this picture (bottom-right corner).
Ok, I feel better now, thought I was missing something.
If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!
Forgot your password?
No account? Register one!