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

Thread: Xbee WiFi for Teensy

  1. #1
    Junior Member
    Join Date
    Jan 2023
    Posts
    2

    Xbee WiFi for Teensy

    I am trying to use my Teensy 3.2 /4.0 as webserver. I would like to use teensy 3.2/4.0 instead of 4.1. Unlike the esp32 teensy don't have built in wifi so I have been thinking of using a xbee to connect to a wifi. I believe the following steps are required to do so;
    1. Configure the Xbee to connect to your Wi-Fi network.
    2. Connect the Xbee to Teensy.
    3. Direct teensy to the wired connection for internet access.


    For #2 on the list above, I think I can connect using either serial port or if I use Teensy 4, then I can use the USB port.
    Not sure how to do #3 from the list! For ESP32 the libraries <WiFi.h> and<WebServer.h> seems to do all the work that is needed.
    What can be done for teensy?
    Thanks

  2. #2
    Senior Member BriComp's Avatar
    Join Date
    Apr 2014
    Location
    Cheltenham, UK
    Posts
    1,244
    You can use the Teensy to connect to an ESP32 via Serial.
    The WebServer will be on ESP32 which communicates with Teensy.

  3. #3
    Junior Member
    Join Date
    Jan 2023
    Posts
    2
    Quote Originally Posted by BriComp View Post
    You can use the Teensy to connect to an ESP32 via Serial.
    The WebServer will be on ESP32 which communicates with Teensy.
    But, I don't want to use ESP32. I want to use Xbee, like this one:

    https://learn.sparkfun.com/tutorials...okup-guide/all

  4. #4
    Senior Member
    Join Date
    Apr 2020
    Location
    DFW area in Texas
    Posts
    586
    @VictorRoy:

    Although an Xbee adapter is truly a wireless communication device, it is nothing like a traditional "WiFi" device (i.e. it is not like other devices on a home wireless network). Because of this, if you were to pursue using Xbee, you would need to have two Xbee devices, using one at each end of the communications link. However, if I'm understanding your initial description correctly, I don't think you are looking for an Xbee-to-Xbee communications link. It sounds very much like you're aiming to somehow connect the Teensy to a traditional WiFi network. Please clarify which is actually correct ??

    Mark J Culross
    KD5RXT

Posting Permissions

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