Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: xBee for Teensy 3.6

  1. #1

    xBee for Teensy 3.6

    Hi folks,

    I have been using an xBee with my Teensy 3.2 with the old xBee adapter from PJRC. I'm looking now to upgrade to Teensy 3.6's and see that the old xBee adapter is not made anymore, and the one on Sparkfun is set up for the 3.2 form factor. What is the recommendation for using xBee with a 3.6?

    Thanks for the help!

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Location
    New York
    Posts
    1,839
    Hi GOB.

    I have been using this adapter from waveshare on a T3.5. Haven't tried it with the T3.6 but I would think it should work as long as you use 3.3v pin, https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1.

  3. #3
    Looks good, thanks so much!

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,328
    That one looks like it has a USB-serial chip. You might need to disable or disconnect that chip's transmit signal. If both Teensy 3.6 and that chip connect both have their transmit signals wired to the XBee's receive pin, things are unlikely to work. It could even damage one or both. Generally you don't want to connect 2 logic outputs together. But it's fine to connect 1 output to 2 inputs, so (probably) no worries on the XBee's transmit signal driving the receive pins on both Teensy 3.6 and that board's USB serial chip.

  5. #5
    Senior Member
    Join Date
    Jul 2014
    Location
    New York
    Posts
    1,839
    you don't want to connect 2 logic outputs together. But it's fine to connect 1 output to 2 inputs, so (probably) no worries on the XBee's transmit signal driving the receive pins on both Teensy 3.6 and that board's USB serial chip.
    Thanks Paul for clarifying. I typically use one connected to the pc with the usb and the other is connected to the T3.x through the tx/rx pins and neve use the xbee usb on the T3 side.

  6. #6
    Thanks for the replies. I'm a little confused by this, I have to look at the connections for that board a little closer.
    Paul, do you know of an xBee adapter that would be better suited? Thanks!

  7. #7
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    3,652
    For me, it maybe depends on how integrated you need it to be with the Teensy.

    Example you could simply get the basic Sparkfun breakout board: https://www.sparkfun.com/products/8276
    You will need a set of connectors: 2 of https://www.sparkfun.com/products/8272

    Then you need to wire it up, with: 3.3v gnd, DIN, DOUT going to Teensy.

    The DIN and DOUT go to the TX/RX pins of one of the Teensy USARTS... I always have to look at their adapter to figure out what the DIN/DOUT are
    That is, it DOUT the output pin from The XBee or connected to the OUTPUT pin of the host...

    But again this is not an integrated fit on Teensy way of doing it. Would be easy to create one that looks similar to the one that PJRC sold or alternatively like the Sparkfun one that is extended to allow a Teensy 3.6/5 to be installed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •