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

Thread: How do I connect 2 Teensy 3.1s wirelessly (not WiFi or BT)

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    11

    How do I connect 2 Teensy 3.1s wirelessly (not WiFi or BT)

    Does anyone have a solution for 2-way communication between 2 Teensy 3.1s?

    I've tried CC3000 connecting to a website and have found it to be intermittently unstable.
    I looked into Bluetooth but I don't have the skills to write an Android and/or iOS app.

    It's looking like a pair of 433Mhz transceivers would do the trick. Has anyone had success
    using these on a Teensy 3.1?

    Thanks.

  2. #2
    Senior Member
    Join Date
    Mar 2013
    Posts
    122
    433 Mhz transceivers will work, but the range varies wildly in conditions and depending on the quality of your module.


    Bluetooth could still work for you, without a central iphone/android node.

    http://forum.pjrc.com/threads/12337-...ith-the-Teensy


    I have no experience with it, but I believe most of these libraries would abstract the bluetooth system into a simple serial communication system,, not unlike using the serial cable (which you might have experience with.)

  3. #3
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,782
    Many options depending on needs. I have used xbees with teensys. Have some other wireless stuff I keep meaning to test as well.

  4. #4
    Senior Member
    Join Date
    Mar 2013
    Posts
    122
    Xbees have a lot of support and tutorials. Kurt brings up a great option.


    433Mhz will be the cheapest though, and also full of plenty of tutorials. Expect the range to be less, though. Design for less than a fifth (i'm guessing) of expected range for a given module, unless you're ready to work hard to optimize that.

  5. #5
    Junior Member
    Join Date
    Jan 2014
    Posts
    11
    Well, ok. Using that seems much easier than writing a phone app. Maybe later I can hire someone to write it.

    I may go ahead and try this just for fun. 433Mhz from what I read is a little more tricky than just simple serial
    communications. I can handle serial. I've been doing that since 1984..

    Thanks.

  6. #6
    Junior Member
    Join Date
    Jan 2014
    Posts
    11
    I went ahead and bought this http://www.ebay.com/itm/301037539500...%3AMEBIDX%3AIT
    since it looked like the right ones, even though I couldn't tell the model. Since it's serial and simple AT commands it should be all the same..

    Can't complain about the price. $10.79 for 2 of them shipped.

  7. #7
    Senior Member onehorse's Avatar
    Join Date
    Apr 2014
    Location
    Danville, California
    Posts
    921
    I have used 2.4 GHz NRf24L01+ radios (2 for $6 delivered! on Tindie) and they work fine and are easy to program in Teensiduino. They are only good to about 40 feet through one stucco wall. If you need longer range, the lower freq radios might be better.

    You bought a Broadcom Bluetooth module. This is likely to also suffer from low range. Depending on your application, the nRF radios might be better.
    Last edited by onehorse; 10-02-2014 at 10:19 PM.

  8. #8
    Junior Member
    Join Date
    Jan 2014
    Posts
    11
    I'm good with 40 feet. It's a custom made remote control for a light.

  9. #9
    Senior Member onehorse's Avatar
    Join Date
    Apr 2014
    Location
    Danville, California
    Posts
    921
    Then check this out!

  10. #10

  11. #11
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,877
    @onehorse
    How did you get the nrf24l01+ to work with Teensy (and which ones)? I have a pair of nrf24l01 working with no problem on Teensy 3, but if I replace them with nrf24l01+ (with appropriate change for pinout) the receiver sees the first packet (humidity+temp reading) from the Tx but nothing else after that. I've been tearing my hair out over it for about a week and today gave up and went back to using the nrf24l01 but I would like to get the nrf24l01+ working if it can be done.

    Pete

  12. #12
    Senior Member onehorse's Avatar
    Join Date
    Apr 2014
    Location
    Danville, California
    Posts
    921
    Well, I built my own boards for one. I did have some trouble using the $3 boards from China, and I wonder if it is the quality of manufacture or the specific design of the boards you have chosen that is causing your problem. See post #37 from this thread.

Posting Permissions

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