Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Bluetooth and serial connection at the same time

    Scheduled Pinned Locked Moved MicroPython
    bluetoothlopyserialmicropython
    4 Posts 3 Posters 1.2k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      monersss
      last edited by

      This post is deleted!
      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @monersss
        last edited by

        @monersss
        That's possible but the LoPy currently only supports Bluetooth Low Energy, so you'll only be able to send small amounts of data over Bluetooth.

        The examples might give you an idea of what's possible:

        https://docs.pycom.io/chapter/tutorials/all/ble.html

        Also your other device must support Bluetooth Low Energy

        1 Reply Last reply Reply Quote 0
        • M Offline
          monersss
          last edited by

          @jmarcelino thank you for your answer. Could you tell me how to connnect lopy at the same time via serial and Bluetooth?
          Should I just execute one script including connecting via 2 different ways?

          1 Reply Last reply Reply Quote 0
          • C Offline
            CesarHinde
            last edited by CesarHinde

            Hi...I haven't found anything short of implementing a significant chunk of the bluetooth protocol stack (which I have no desire to take on).All of the bluetooth modules I've been able to find are similar to the one used by the arduino BT in that they only support one serial connection.

            smt assembly service

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom